LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using LabVIEW to control power switch?


@wzz525 wrote:

Hi Mark,

 

You mean APC has extant LabVIEW library that I can easily control the power in LabVIEW? That would be great.


No, it is a library we developed. However I would be willing to post it.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 11 of 22
(2,228 Views)

@wzz525 wrote:

Our DAQ device is http://www.mccdaq.com/usb-data-acquisition/USB-2404-10.aspx

Does this work for the SparkFun devices you mentioned? Thanks.


your DAQ does not have DO's to control the devices mentioned...you can buy a cheap /inexpensive  Arduino UNO  and use LV drivers

0 Kudos
Message 12 of 22
(2,224 Views)

Can you post it now? I'd like to look at your library and get to know how to use it.

Thanks.

0 Kudos
Message 13 of 22
(2,224 Views)

OMG, it looks like so complicated for the Arduino UNO. I have no background on such subjects as electronics.

0 Kudos
Message 14 of 22
(2,209 Views)

@wzz525 wrote:

OMG, it looks like so complicated for the Arduino UNO. I have no background on such subjects as electronics.


it's quit simple....follow the tutorials for Arduino and LabVIEW Smiley Very Happy

0 Kudos
Message 15 of 22
(2,206 Views)

Here are the two libraries you need. The APC stuff includes a small application for controlling the outlets manually.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Download All
0 Kudos
Message 16 of 22
(2,195 Views)

Just to clarify if I get it right.

If I follow Simon's advice (i.e. using PowerSwitch Tail II from SparkFun), I still need another device (i.e. Arduino UNO). What's the purposes of these devices?

My guess is: PowerSwitch is used as a controllable power supply, which would be connected with the wall power outlet and the input of our lamp. The on/off of the PowerSwitch can be controlled by external signal, which is supposed to be done by the Arduino UNO. And the Arduino UNO has LabVIEW based driver, which I can control it by LabVIEW. What's the connection between Arduino UNO and our DAQ device? Is Arduino UNO a separate signal generator? I'm a little confused. Pls clear my mind!!!

0 Kudos
Message 17 of 22
(2,189 Views)

@wzz525 wrote:

Just to clarify if I get it right.

If I follow Simon's advice (i.e. using PowerSwitch Tail II from SparkFun), I still need another device (i.e. Arduino UNO). What's the purposes of these devices?

My guess is: PowerSwitch is used as a controllable power supply, which would be connected with the wall power outlet and the input of our lamp. The on/off of the PowerSwitch can be controlled by external signal, which is supposed to be done by the Arduino UNO. And the Arduino UNO has LabVIEW based driver, which I can control it by LabVIEW. What's the connection between Arduino UNO and our DAQ device? Is Arduino UNO a separate signal generator? I'm a little confused. Pls clear my mind!!!


your DAQ is only an input acquisition device, on the other hand...UNO(did I forget to mentioned it also has PWM and SPI serial comm. onboard) is both input and output(which you need to control the other devices mentioned) which can be controlled by LabVIEW and at 1/10 of the cost of DAQ USB 6009  Smiley Surprised

0 Kudos
Message 18 of 22
(2,183 Views)

Thanks, Mark.

0 Kudos
Message 19 of 22
(2,158 Views)

I'll take a look at this. Thanks for your advice.

0 Kudos
Message 20 of 22
(2,149 Views)