How to find alll Digital Outputs in Phidget22

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

How to find alll Digital Outputs in Phidget22

Post by Meldur »

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

Re: How to find alll Digital Outputs in Phidget22

Post by mparadis »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests