Bug Report - Seg Fault using C & Python Example Code - VoltageOutput (Phidget_1002 DAC)
Posted: Sat Jul 08, 2017 8:49 am
hardware: Phidget_1002: (4-channel DAC Voltage Output)
platforms: Ubuntu 16.04 NUC and MBPro (OS X 10.12.5 Sierra)
software: HelloWorld.py, VoltageOutput.py
language: python3 (3.6.1), python (2.7.13)
We installed the Phidget software on the above platforms, and tested that the Phidget_1002 is recognized (attach/detach) using the Phidget Control Panel and HelloWorld.c programs.
However, when running the Python programs:
We receive a "Segmentation fault: 11" on the MBPro and "Segmentation fault (core dumped)" on the Ubuntu NUC.
These errors appear to occur when trying to access the properties of a phidget (e.g. phidget.getDeviceSerialNumber() or getDeviceClassName(), etc..)
Also, the VoltageOutput.py program does not recognize the attachment/detachment of the Phidget_1002, which may/may not be related.
Any insight into resolving these issues would be greatly appreciated.
Thank You,
Goutam Reddy
platforms: Ubuntu 16.04 NUC and MBPro (OS X 10.12.5 Sierra)
software: HelloWorld.py, VoltageOutput.py
language: python3 (3.6.1), python (2.7.13)
We installed the Phidget software on the above platforms, and tested that the Phidget_1002 is recognized (attach/detach) using the Phidget Control Panel and HelloWorld.c programs.
However, when running the Python programs:
Code: Select all
sudo python3 HelloWorld.py
These errors appear to occur when trying to access the properties of a phidget (e.g. phidget.getDeviceSerialNumber() or getDeviceClassName(), etc..)
Also, the VoltageOutput.py program does not recognize the attachment/detachment of the Phidget_1002, which may/may not be related.
Any insight into resolving these issues would be greatly appreciated.
Thank You,
Goutam Reddy