Problem reading voltage ratio on Ubuntu 20
Posted: Tue Aug 27, 2024 4:40 pm
I'm getting the following error when trying to read the voltage ratio from a DAQ1500 Wheatstone Bridge Sensor.
I can read the min/max ratio limits but when I try to read the voltage ratio using the getVoltageRation function I get the following error:
I get the same error using "C" as well.
OS: Ubuntu 20.04 amd64
When I enumerate the devices I am able to get advanced details from the device as seen below:
I've also tried different versions of the API from 1.10 all the way to the latest 1.19. Any help appreciated.
I can read the min/max ratio limits but when I try to read the voltage ratio using the getVoltageRation function I get the following error:
Code: Select all
Phidget22.PhidgetException.PhidgetException: PhidgetException 0x33 (Unknown or Invalid Value)
The value is unknown. This can happen right after attach, when the value has not yet been recieved from the Phidget. This can also happen if a device has not yet been configured / enabled. Some properties can only be read back after being set.
OS: Ubuntu 20.04 amd64
Code: Select all
dpkg -l |grep libph
ii libphidget22:amd64 99:1.19.20240411-1ubuntu~20.04 amd64 Phidgets runtime library
pip show Phidget22
Phidget22 1.19.20240513
When I enumerate the devices I am able to get advanced details from the device as seen below:
Code: Select all
{
"VendorVID": "06c2",
"DeviceModelPID": "0038",
"HubPort": 0,
"DeviceName": "Wheatstone Bridge Phidget",
"DeviceSKU": "DAQ1500",
"DeviceVersion": 104,
"Hub": "<beryl_libs.Phidget22.Phidget.Phidget object at 0x7f0e6d048160>",
"DeviceSerialNumber": "XXXXXX_0"
},
I've also tried different versions of the API from 1.10 all the way to the latest 1.19. Any help appreciated.