Set up picodk for PS 6426E but get Error when requesting scope.info

Post your Linux discussions here
Post Reply
_Ben_
Newbie
Posts: 0
Joined: Fri Jul 14, 2023 9:07 am

Set up picodk for PS 6426E but get Error when requesting scope.info

Post by _Ben_ »

Hi,

after setting up the picosdk (https://pypi.org/project/picosdk/) for the PS 6426E, I would like to check the driver of my scope.
However, I receive the following response:
>>> from picosdk.discover import find_all_units
>>> scopes = find_all_units()
>>> vars(scopes[0])
{'driver': , 'handle': 1, 'is_open': True, '_channel_ranges': {}, '_channel_offsets': {}}
>>> scopes[0].info
ctypes.ArgumentError: argument 5: : wrong type

How can I find out the value of scopes[0].info?

Thank you in advance!
Ben

Post Reply