Previous in Forum: Modem   Next in Forum: Test Modes for Induction Measurements
Close
Close
Close
4 comments
Rate Comments: Nested
Member

Join Date: Nov 2007
Posts: 9

LabView and Relay Controls

12/22/2008 2:11 AM

Hi,

Can I know any method to use LabView to timer control a simple relay to on and off.

What do I need to manufacture one?

I had the LabView programming and the relay.

Thanks!

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
New Zealand - Member - Kiwi Popular Science - Weaponology - New Member Engineering Fields - Power Engineering - New Member Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: Auckland, New Zealand
Posts: 8777
Good Answers: 376
#1

Re: LabView and Relay Controls

12/22/2008 1:32 PM

Your post is a little unclear. Unless you really know a fair amount about computers and electronics, I doubt you are going to be able to build the I/O interface board that LabView needs to communicate and control devices (assuming that all you have is the LabView software only). You need to buy a LabView I/O interface card at the very least, and I would suggest a relay module that fits onto the interface card (rather than trying to wire a standard relay into the LabView interface card somehow).

The interface card and modules are a little expensive, but LabView is a professional SCADA program after all (we use it here for our on site lab). Other manufacturers do make cheaper LabView hardware that may be a less expensive option. If you only have a simple application (and got the Labview program for free), you may want to consider shareware and freeware control programs that allow you to interface and control devices like relays using the computers serial or parallel ports instead.

If you are actually talking about building the main Labview control card that fits directly to the motherboard (not the I/O interface board), then forget it.

__________________
jack of all trades
Register to Reply
Guru
Engineering Fields - Instrumentation Engineering - New Member Hobbies - Fishing - New Member

Join Date: Jan 2008
Location: Kazakhstan
Posts: 753
Good Answers: 8
#2

Re: LabView and Relay Controls

12/22/2008 1:33 PM

LabView is only a software which does control a lot of devices equipped with an appropriate drivers (LabView compatible). It's presumed that any simple relay couldn't be connected to LabView interface directly but through such a compatible device. Those devices might be imlemented as a PC boards(TI or any other brand), modules connected to PC ports (com, LPT, usb etc). For instance you can use any TI PCB with D/O (digital output with open collector). State of D/O(ON/OFF) might be controlled by timer program created in LabView IDE. Then that D/O in its turn should switch a relay in ON/OFF state when timer reaches up a desired number of countings.

Register to Reply
Member

Join Date: Nov 2007
Posts: 9
#3
In reply to #2

Re: LabView and Relay Controls

12/23/2008 7:54 AM

Hi all thanks for the answer.

I had got the answer myself after doing some research.

I am going to bulid a relay switch using parallel port as communication port. Relay powered by DC.

Program will be written in Labview command to activate the relay through a transistor array.

:)

Register to Reply
Participant

Join Date: Sep 2009
Posts: 1
#4
In reply to #3

Re: LabView and Relay Controls

09/09/2009 10:00 PM

DC,

I need to do something just like this to control a relay also...

Could you send me your Labview code, and how you did this? I would really like to use a parallel port as an output rather than buy another DAQ card, just like you did.

Thanks!

JC

Register to Reply
Register to Reply 4 comments
Copy to Clipboard

Users who posted comments:

caramba (1); Goat80 (1); jack of all trades (1); killerwhale123 (1)

Previous in Forum: Modem   Next in Forum: Test Modes for Induction Measurements

Advertisement