LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Write error

Solved!
Go to solution
Solution
Accepted by michele.santucci

I think I would do it like this. Read the file as a binary file (avoids conversions the Read Text File can add on you) and send the data in chunks. Read the size of the data being sent each time data is sent. You can then do the comparison on each chunk. Repeat until the end of file error happens, some other error, or you fail. This setup also makes sure both ports are set up before any communication can occur.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Download All
Message 11 of 13
(104 Views)

I really like it... my solution worked also but this's more robust.

0 Kudos
Message 12 of 13
(86 Views)

In LV 2013 the Clear Error vi cannot filter the error codes the way you did.. anyway using Filter Error Code it should work.

 

michelesantucci_0-1761299658007.png

 

0 Kudos
Message 13 of 13
(57 Views)