LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Com Port Status with non-NI Com Port

Hello
 
i use LapWindows CVI 8.0
I have a PXI-System with RS232-ports.
I get a new com-port (USB-Port).
It's working correct until the reading of the new com-port-status.
The function "GetComConnectionState (4);" works only with NI-Hardware.
Wy can i read by another function the status of my com-port.
 
Thanks
0 Kudos
Message 1 of 2
(2,984 Views)

Here is what help says.

 

Returns the connection state of the specified port.

Linux This function is not supported.

GetComConnectionState returns an error if you have not opened the port or if you pass an invalid value for portNumber.

Note   This function works only with NI Serial hardware. The function returns an Unknown System Error with other hardware ports.

 

So you can't use it eith non-NI hardware.

Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 2 of 2
(2,966 Views)