Channel on 1046 bridge

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

Channel on 1046 bridge

Postby tando » Tue Jun 26, 2018 8:12 am

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: 626
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: Channel on 1046 bridge

Postby mparadis » Tue Jun 26, 2018 8:36 am

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

Postby tando » Tue Jun 26, 2018 9:42 am

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

Postby tando » Thu Jun 28, 2018 12:13 am

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

Postby tando » Thu Jun 28, 2018 6:44 am

solved,

Thanks

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

Re: Channel on 1046 bridge

Postby Dreamer17 » Wed Jul 11, 2018 4:33 am

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.


Return to “C#.NET”

Who is online

Users browsing this forum: No registered users and 1 guest