Search Results

by zdwiel
Wed Jul 03, 2019 10:16 am
Forum: Python
Topic: BridgeGain not getting set
Replies: 1
Views: 8861

Re: BridgeGain not getting set

Ok, so I figured out the problem. When the Phidgets documentation lists BridgeGain as an Enumeration, I had assumed it was a python Enum. In fact, they are just constants. The problem is that printing out the "enumeration" BridgeGain.BRIDGE_GAIN_128 displays the value 8. It would be nice i...
by zdwiel
Wed Jul 03, 2019 10:02 am
Forum: Python
Topic: BridgeGain not getting set
Replies: 1
Views: 8861

BridgeGain not getting set

I've modified the VoltageRatioInput python example to set the Bridge Gain, but it doesn't seem to be actually setting. Here is the code and logs: # inside the onAttachHandler print('bridge gain before', ph.getBridgeGain()) ph.setBridgeGain(BridgeGain.BRIDGE_GAIN_128) print('bridge gain after', ph.ge...
by zdwiel
Wed Jul 03, 2019 8:51 am
Forum: Python
Topic: All examples in one place
Replies: 1
Views: 9600

All examples in one place

Is there anywhere I can get all of the examples in one place, or do i need to click on each download link and unzip them individually?