InterfaceKit example VI's

Supporting Labview 2012 and up
147533
Fresh meat
Posts: 3
Joined: Fri Feb 07, 2020 4:00 am
Contact:

InterfaceKit example VI's

Postby 147533 » Fri Feb 07, 2020 4:25 am

Hello,

are there any example VI's for the PhidgetInterfaceKit 0/0/4? I can't find any in the usual Phidget LabVIEW library (includes examples).

Best
147533

jdecoux
Labview Developer
Posts: 100
Joined: Mon Nov 13, 2017 10:20 am
Contact:

Re: InterfaceKit example VI's

Postby jdecoux » Mon Feb 10, 2020 11:32 am

If you are using the Phidget22 LabVIEW library, the closest examples you will have for a 0/0/4 example are the DigitalOutput examples.

To access all four relays on the board, you will need four DigitalOutput channels, each set to access a different relay on the board. Each will need a StartPhidget VI, and a corresponding ClosePhidget VI. You can specify which is which using the channel specifier in the Device Info cluster.

147533
Fresh meat
Posts: 3
Joined: Fri Feb 07, 2020 4:00 am
Contact:

Re: InterfaceKit example VI's

Postby 147533 » Tue Feb 18, 2020 6:58 am

Thank you for your reply but I afraid I am not getting the similarity to the 0/0/4.
Do I also need the DigitalOutputSart and Close VI’s or should I replace them with the Start & ClosePhidget VI?
What about all the other parameter like LEDForwardvoltage, Dutycycle or Hub Port?

jdecoux
Labview Developer
Posts: 100
Joined: Mon Nov 13, 2017 10:20 am
Contact:

Re: InterfaceKit example VI's

Postby jdecoux » Tue Feb 18, 2020 10:44 am

The DigitalOutputStart VI is selectable in the StartPhidget.vi, which is the same for the Close VIs.

As you probably expect, the LEDForwardVoltage, DutyCycle, and Hub Port parameters don't really make sense for your specific application, and are included since they are used by other Phidgets in the DigitalOuput class. These can be safely ignored until you have a Phidget that uses them.

Here is a diagram of how to access the relays on your device:
4 output.PNG

jdecoux
Labview Developer
Posts: 100
Joined: Mon Nov 13, 2017 10:20 am
Contact:

Re: InterfaceKit example VI's

Postby jdecoux » Tue Feb 18, 2020 10:46 am

And the corresponding control panel:
4 output control panel.PNG

147533
Fresh meat
Posts: 3
Joined: Fri Feb 07, 2020 4:00 am
Contact:

Re: InterfaceKit example VI's

Postby 147533 » Tue Feb 25, 2020 2:26 am

Now it works :D , Thank you very much.


Return to “Labview”

Who is online

Users browsing this forum: No registered users and 2 guests