You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently tried out your python api, it works well for the most part, however i have found some issues. One of them is that plotting with the current versions of all needed packages in python (for example the current version of bokeh) straight up doesnt work. I have found a fix for it though, you need to replace the word Figure (in bokeh.plotting.Figure) with a lowercase f so figure. the current version of bokeh has changed the syntax of this command. FunkTickFormatter needs to be replaced with CustomJSTickFormatter aswell. The file vds1022.py also has some issues, when i tried the ttl example it caused this error:
OverflowError: Python integer 128 out of bounds for int8
I havent found a fix for this yet, it has something to do with numpy version 2.x and the older one being tolerant to this, if I remove numpy and manually try to install version 1.x it breaks everything. I have also tried not adding 128 to it, that fixes it but only if you hook up a squarewave (i.e. the built in calibration signal), and i am pretty sure the result that produces is wrong aswell.
I also found an issue when trying the 4. Example (the stream the rms voltage to plot one). that spews out this error:
sorry for the long text
The text was updated successfully, but these errors were encountered:
I have recently tried out your python api, it works well for the most part, however i have found some issues. One of them is that plotting with the current versions of all needed packages in python (for example the current version of bokeh) straight up doesnt work. I have found a fix for it though, you need to replace the word Figure (in bokeh.plotting.Figure) with a lowercase f so figure. the current version of bokeh has changed the syntax of this command. FunkTickFormatter needs to be replaced with CustomJSTickFormatter aswell. The file vds1022.py also has some issues, when i tried the ttl example it caused this error:
--> 649 points = self._points + 128
650 counts = np.bincount(points, minlength=256)
651 m = np.dot(counts, range(256)) // len(points)
OverflowError: Python integer 128 out of bounds for int8
I havent found a fix for this yet, it has something to do with numpy version 2.x and the older one being tolerant to this, if I remove numpy and manually try to install version 1.x it breaks everything. I have also tried not adding 128 to it, that fixes it but only if you hook up a squarewave (i.e. the built in calibration signal), and i am pretty sure the result that produces is wrong aswell.
I also found an issue when trying the 4. Example (the stream the rms voltage to plot one). that spews out this error:
sorry for the long text
The text was updated successfully, but these errors were encountered: