How to find alll Digital Outputs in Phidget22

Supporting Visual Studio on Windows
Meldur
Fresh meat
Posts: 1
Joined: Tue Dec 12, 2017 8:47 am
Contact:

How to find alll Digital Outputs in Phidget22

Postby Meldur » Tue Dec 12, 2017 8:53 am

Hello,

I started switching our tools we are using for InterfaceKit 8/8/8 and 0/16/16 to the new API but I'm a little bit lost managing in- and outputs. In the old API it was clear but when I'm testing the Digital Output example I can't find a way to define which of the 16 outputs I can switch? Only Output 0 is available. So please give me a hint.

Thank.

User avatar
mparadis
Site Admin
Posts: 531
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: How to find alll Digital Outputs in Phidget22

Postby mparadis » Tue Dec 12, 2017 11:22 am

You need to make separate objects for each digital output and digital input and use setChannel to set each one to a specific number. You can see some examples of what that looks like on this page.


Return to “C#.NET”

Who is online

Users browsing this forum: No registered users and 1 guest