LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to control a relay switch in ni labview

i want to read values by opearating a relay circuit . intially in normal close (NC) condition two values and normal open (NO) condition two values.how to control the relay switching by using ni ..............

0 Kudos
Message 1 of 5
(4,854 Views)

NI is a company.  You won't use NI to control a relay.

LabVIEW is a programming language which is software.  You won't be using just software to control a relay.

You need hardware, to interact with the software to do stuff.

 

What is your hardware available to you?  NI does sell relay digital cards in several form factors.  Otherwise you can use a digital line sent to some kind of buffer circuit with an opamp to drive a relay.  You can't drive a relay with a digital line directly (in most cases) because the current output of a digital is very low.

0 Kudos
Message 2 of 5
(4,840 Views)

hello, 

 

I have just got this forum when i am reading about relay.

As you mentioned in the reply.

I just want to confirm that, ' will the relay switch work with the digital signal from the Labview'?

 

Thanks

kjd

0 Kudos
Message 3 of 5
(4,676 Views)

@kjd27 wrote:

hello, 

 

I have just got this forum when i am reading about relay.

As you mentioned in the reply.

I just want to confirm that, ' will the relay switch work with the digital signal from the Labview'?

 

Thanks

kjd


stick to your own post, please.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(4,667 Views)

I have no idea what you are trying to do.  Are you trying to control ("drive") a Relay?  Are you trying to determine whether a set of contacts are Open or Cloed?  

 

Part of the issue is Hardware -- you have a device that you can connect to a computer that can either provide a (voltage) signal to operate a relay or can read a (voltage) signal from a pair of relay contacts to determine if the contacts are opened or closed.  There are numerous hardware devices, many connected by USB (such as the NI USB-6009) that have "Digital I/O" ports that treal TTL signals (voltages where 5V signifies "1" or "True" and 0V signifies "0" or "False".  Note that you will probably need additional circuitry to get the TTL signal to actually activate the relay (it often needs more current than the TTL output can deliver).

 

Because relays are On/Off or Open?Closed, the Boolean data type iis typically used in VIs dealing with them.

 

Bob Schor

Message 5 of 5
(4,651 Views)