LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa read connection has been lost

In my application my system which I will connect will send data continously to serial port. As soon as I connect the system I will read 15 bytes and this bytes is sufficient for me for analysis.  After I read data I will flush the serial buffer so that data shouldnt be mixed with data sent by next system.

 

I read successfully first time then second t ime I get first error then 3 is successful read then 4th again error and go on.

1. The connection for the given session has been lost. or

2.  IO ERROR 

 

I am using silicon chips USB to COM adapter on WIN7.I am using same adapter before and it was fine. I am sure this is not a driver problem.

I am using VISA read from long time and this strage problem I never received. Attached VI for reference

 

 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 1 of 2
(2,106 Views)

Even re-installing driver doesnt solved the problem

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 2 of 2
(2,093 Views)