ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Turn LEDs on using the RS232 port

Hi,
 
I would like to know if it is possible turn on a sequence of LEDs using the serial port (RS232). If it is possible, how can I do it?
I use LabVIEW 6.0
 
Thanks and regards.
0 Kudos
Message 1 of 7
(3,322 Views)
You could turn on a couple of LED's wired between the DTR and ground pins, and RTS and ground pins.  Then you can use the property nodes for the serial port in Labview to set them to True or false to turn on and off the pins.  But this is only 2 outputs.  I'm not sure if that is much of a "sequence".
Message 2 of 7
(3,321 Views)
Thanks Ravens Fan, but what do you think about to use the parallel port? I need at least five outputs.
 
Regards.
0 Kudos
Message 3 of 7
(3,316 Views)
I think you could use the parallel port in a similar fashion with LED's.  But I don't know how to program it in Labview.  I've never tried communicating through a parallel port before where I would have to worry about its port settings.
0 Kudos
Message 4 of 7
(3,311 Views)
On Aug 9, 4:10 pm, Zcooler83 <x...@no.email> wrote:
> Thanks Ravens Fan, but what do you think about to use the parallel port? I need at least five outputs.
> &nbsp;
> Regards.

Controlling the parallel port in Labview is easy but if I remember
right you need to make the port look like a printer by a simple
connection between two pins.

0 Kudos
Message 5 of 7
(3,296 Views)

Thanks. I'm a new LabVIEW user and I  don't know how to use the parallel port as a printer. Might you tell me about? Do you remember which are these two pins?

Regards,

0 Kudos
Message 6 of 7
(3,274 Views)

Please reconcider using the paralel port.

One small slip in connceting your wires can fry your computers mother board. Smiley Mad

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 7 of 7
(3,267 Views)