I am trying to get any type of information from my PicoScope.
Here is the code:
self.handle = c_int16()
info_string = create_string_buffer(256)
info_len = c_short(256)
req_len = c_short() #I tried this with 0, 8 and 256 and had the same result
return ps.ps2000aGetUnitInfo(self.handle, info_string, info_len, byref(req_len), 0)
if __name__ == "__main__":
scope = iScopeWrapper()
The last digit (0) stands for the driver version according to the dictionary PICO_INFO. But it doesn't matter which information I am trying to extract from the PicoScope the output is always 0 or for the MAC address some number where I couldn't make sense of.
Am I doing something wrong here?
Thanks in advance
Post general discussions on using our drivers to write your own software here
1 post • Page 1 of 1