LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

opening serial port CVI

When I try to open a serial port, the function bug and remain stucked. No Status is returned and I need to terminate the process with ctrl + alt + supp (after few minutes). It is strange because when there is any error, a status should be returned? When I try to open the port with another application, everything is OK.
I use CVI 6.0 
0 Kudos
Message 1 of 2
(2,973 Views)
I'm using
int OpenComConfig (int COMPort, char deviceName[], long baudRate, int parity, int dataBits, int stopBits, int inputQueueSize, int outputQueueSize)
and have a status always returned even if the port does not exists.
May helps if you show us the part of the code where it sucks.
Regards,

0 Kudos
Message 2 of 2
(2,964 Views)