03-10-2006 02:36 PM
03-10-2006 02:52 PM
03-10-2006 03:03 PM
03-10-2006 05:24 PM
I'm using LV 8.0 and what ever version of Visa came with it. I don't have to reconfigure the serial port after a close.
Attached is a zip file with an example called "Visa example.vi" along with all the files needed to run it. Please note the file path used in the program.
Thanks,
Jeff
03-13-2006 12:23 PM
03-14-2006 11:27 AM
Thanks Jason,
The solution you provided seems to work. However now I'm getting Error -1073807252 during a read, VISA: (Hex 0xBFFF006C) An overrun error occurred during transfer. A character was not read from the hardware before the next character arrived. Any idea's on a solution for this error???
03-14-2006 11:58 AM
07-08-2009 06:33 AM
If somebody tries to find a (possible) solution for the error
mentioned before - here's one way to solve the problem:
When using "Advanced Serial Write and Read.vi" for reading
data from a FIFO memory, try to set the value for the timer
"Wait Until Next ms Multiple" of the main while loop (where
the actual reading and writing is done) to "0"!
This way, the reading will be fast enough to avoid a buffer
overflow.
Even when I had set this value to "1" with the "number of bytes
at serial port" property still being zero, the buffer overflow
occured at a certain data point of the FIFO or after a certain
amount of seconds...
Sincerely,
Christian
03-01-2011 01:38 PM
03-01-2011 02:12 PM - edited 03-01-2011 02:13 PM
Hi Deutschrich, try to set the delay (when writing / reading from a VISA port from within a loop) to 0, see attachment. This had something to do with the "status"-unbundling from the error line of VISA - remove it and your VI will work fine even without having to set the delay to 0. Cheers