LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

getting the serial pin values

How can I get the voltage values from the individual pins on the serial rs232 port?

Thanks
0 Kudos
Message 1 of 3
(2,493 Views)


@sunny dee wrote:
How can I get the voltage values from the individual pins on the serial rs232 port?

Thanks



Easy ! use a voltmeter !!! 😉
There is absolutely no way to know what the actual potential on a logical in/output is. As a reminder, the original RS232 specs where that 0 was -12 volts, and +12 volts (probably the reverse, but my memories are fadding), althought many of us here have used RS232 connections with 0-5 volts.
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 3
(2,488 Views)
The spec is actually +3 to +12 and -3 to -12 for the logic levels. If you want to determine the logic levels of the control lines, the a VISA property node will do that. Select Serial Settings>Modem Line settings and pick the pin. It will return unknown, asserted, or unasserted. If you are testing a UART to see if it meets specs, then as CC pointed out, you'll need to connect a voltage measurement device to do that.
0 Kudos
Message 3 of 3
(2,478 Views)