LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to test pin configuration?

Hello Chris, hello everyone,

I want to test the pin configuration of a 9 - pole plug connector using only
the potenialities of the LabView software, no supportings like LabViewcards
or Adammoduls.
The 5.0 version of LabView provide the user only with the
"serial-port-read.vi". Am I right, that this SubVi uses the RxD, so that I'
ve to do shift and rotating stuff to read each pin?
Because this is to complicated, I'm searching for a SubVi, that allows me to
read each pin by testing it direktly!
Thankful for every help,

Ruth

p.s.: What's a VISA card, Chris?
0 Kudos
Message 1 of 2
(2,816 Views)
Serial port read will only read characters in the serial buffer from the Receive Data (RD) pin. It does not return the state of the DCD, DSR, CTS, or RI pins of a standard DB9 RS-232 serial port. There used to be another utility VI that came with older versions of LabVIEW that I think did some of that. You might have to do a search of this formum for RTS/CTS or serial to find information on this. I no longer have LabVIEW 5. The In Port/Out Port functions might be useful to you as well. The other option is to use VISA communication. VISA is an instrument communication protocol for serial, GPIB, VXI, TCP/IP and you should also have an example of using VISA for serial communication. In LabVIEW 6 and above, you use a VISA property node (Properties>Modem Line Set
tings) to read/write individual control lines. If my memory serves me, this capability was there in LabVIEW 5 as well.
0 Kudos
Message 2 of 2
(2,816 Views)