Page 1 of 1

Channel on 1046 bridge

Posted: Tue Jun 26, 2018 8:12 am
by tando
Hello,

i'd like to know how to read voltage on a 1046 bridge on every channel.

Actualy, i can read 1 channel... on the phidget21, it was ok, but with the new version, ....

If you have a exemple, it'll be top.

Thanks

Tando

Re: Channel on 1046 bridge

Posted: Tue Jun 26, 2018 8:36 am
by mparadis
In Phidget22, you need to make a new VoltageRatio object for each channel. Before you call "open" on the object, be sure to set the channel. It would look something like this:

Code: Select all

VoltageRatioInput ch1;
VoltageRatioInput ch2;

ch1 = new VoltageRatioInput();
ch2 = new VoltageRatioInput();

ch1.Channel = 0;
ch2.Channel = 1;

ch1.Open();
ch2.Open();

Re: Channel on 1046 bridge

Posted: Tue Jun 26, 2018 9:42 am
by tando
Thanks, i'll try and tell you if it's ok.

Re: Channel on 1046 bridge

Posted: Thu Jun 28, 2018 12:13 am
by tando
I've a problem to attach the phidget….

Re: Channel on 1046 bridge

Posted: Thu Jun 28, 2018 6:44 am
by tando
solved,

Thanks