LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using LabVIEW to control power switch?

These work well http://www.cpscom.com/gprod/ux3.htm. USB interface with 3 switchable outlets approx $150. Use visa serial writes to switch.

Message 21 of 22
(765 Views)

I just received my PowerUSB (Digital IO model) and have already exposed the dll supplied so I can control it with LabVIEW.  You can use the Tools>Import>Shared Library(dll) wizard to make your base VIs quickly.  You just need to steer the wizard to the dll and header file in the Development folder from PowerUSB.  It will do the rest.  (BTW, there's a bug in that DLL  wizard.  It won't work with any NI Report Generator Toolkit installed, you have to temporarily remove the RGT... I know: Smiley Frustrated)

 

I'll be making some use of the device so I will post some basic functions as I write them...

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 22 of 22
(736 Views)