Channel on 1046 bridge

Supporting Visual Studio on Windows
Post Reply
tando
Fresh meat
Posts: 4
Joined: Tue Jun 26, 2018 7:25 am
Contact:

Channel on 1046 bridge

Post 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
User avatar
mparadis
Site Admin
Posts: 959
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: Channel on 1046 bridge

Post 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();
tando
Fresh meat
Posts: 4
Joined: Tue Jun 26, 2018 7:25 am
Contact:

Re: Channel on 1046 bridge

Post by tando »

Thanks, i'll try and tell you if it's ok.
tando
Fresh meat
Posts: 4
Joined: Tue Jun 26, 2018 7:25 am
Contact:

Re: Channel on 1046 bridge

Post by tando »

I've a problem to attach the phidget….
tando
Fresh meat
Posts: 4
Joined: Tue Jun 26, 2018 7:25 am
Contact:

Re: Channel on 1046 bridge

Post by tando »

solved,

Thanks
Dreamer17
Fresh meat
Posts: 2
Joined: Wed Jun 13, 2018 4:09 am
Contact:

Re: Channel on 1046 bridge

Post by Dreamer17 »

mparadis wrote:In Phidget22, you need to make a new VoltageRatio object for each phen24 fat burning 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();
Thanks @mparadis for the instructions. I also needed the same help.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests