04-24-2007 10:54 PM
04-26-2007 10:33 AM
Hi
I don’t think it’s a problem with the Write to Measurement File.vi. You need to have a look at the VISA Read.vi. You are reading 5K at every iteration of the loop and that could probably be causing the delay. A great way to troubleshoot this would be to turn on highlight execution.
Also, you should consider using the Array to Cluster.vi and the Convert to Dynamic Data.vi in the Write to Measurement File.vi block. This shouldn’t effect anything; just a suggestion to take advantage of LabVIEW functions.04-26-2007 11:44 AM
The express VI and the dynamic data stretch carry a lot of extra baggage. You also write ASCII, causing expensive formatting operations.
I would suggest to open the file outside the loop, append binary data (your integer array) to the open file inside the loop, and close the file once the loop has finished.
04-27-2007 08:04 AM
04-27-2007 09:27 AM