Gain setting for 1046 Bridge/VoltageInput

Supporting Visual Studio on Windows
nm17
Phidgetly
Posts: 15
Joined: Mon Nov 27, 2017 3:29 am
Contact:

Gain setting for 1046 Bridge/VoltageInput

Postby nm17 » Thu Mar 22, 2018 1:37 pm

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

nm17
Phidgetly
Posts: 15
Joined: Mon Nov 27, 2017 3:29 am
Contact:

Re: Gain setting for 1046 Bridge/VoltageInput

Postby nm17 » Thu Mar 22, 2018 2:00 pm

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:

fraser
Engineering
Posts: 238
Joined: Thu Nov 19, 2009 4:41 pm
Contact:

Re: Gain setting for 1046 Bridge/VoltageInput

Postby fraser » Fri Mar 23, 2018 8:15 am

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.


Return to “C#.NET”

Who is online

Users browsing this forum: Google [Bot] and 1 guest