Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

over run error occur in VISA serial read

Dear all
 
i am trying to access Meriam pressure gauge thro serial port
 
in reading the dat from the device some time i get an error stating that" an over run error occured during transfer. A character was not read from the hardware before the next character arrived"
 
pls help to clear out this issue
 
Thanks
 
Sekar
LabVIEW-Engineer
Emerosn
0 Kudos
Message 1 of 3
(5,151 Views)
iam getting error code 1073807252 in the above program is there any remedy to overcome the above VISA over run error
pls see the attached vi in the previous message
 
Thanks
sekar
0 Kudos
Message 2 of 3
(5,140 Views)
Hi Sekar,


There are several reasons that this may be happening. There is a Knowledge Base on flow control that might help. This might fix the error but there is also a chance that you are just not reading from the serial port fast enough. You can increase the buffer size but this may only delay the problem because a bigger buffer may still eventually overflow, it might just take longer.  You could try reading more often or reading more bytes at a time.



Regards
Krista S.
Applications Engineering
National Instruments
0 Kudos
Message 3 of 3
(5,123 Views)