05-16-2014 06:40 AM
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 ..............
05-16-2014 07:28 AM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
12-14-2014 06:06 PM
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
12-14-2014 06:55 PM
@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.
12-14-2014 08:22 PM
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