Page 1 of 1

Gain setting for 1046 Bridge/VoltageInput

Posted: Thu Mar 22, 2018 1:37 pm
by nm17
Hi

I can't find Phidget22 API method in VoltageInput (or anywhere else) to control Bridge 1046 gain. Anyone knows how do I set bridge gain in Phidget22?

This used to be available in Phidget21 as BridgeGain property. I have a weird situation where Bridge gets overwhelmed for some reason (not sure why) and resets itself to a gain of 128x in which case my software fails. So I'd like to be able to set the correct gain when I need to. Any ideas why bridge resets itself to a higher gain are welcome too :)

Thanks

Re: Gain setting for 1046 Bridge/VoltageInput

Posted: Thu Mar 22, 2018 2:00 pm
by nm17
And to respond to myself, I was looking at the wrong class, I should have used VoltageRatioInput.BridgeGain property. To make things worse for me, I actually did use this just didn't look at the correct code. Must get some sleep. :mrgreen:

Re: Gain setting for 1046 Bridge/VoltageInput

Posted: Fri Mar 23, 2018 8:15 am
by fraser
If you assign an attach event for the voltageRatio object, and set the BridgeGain in there, you won't need to reset the gain yourself. It will just always get set to what you want it at when the device comes back.