01-04-2008 09:25 AM
01-04-2008 09:49 AM
01-04-2008 09:50 AM
01-04-2008 10:25 AM
Matt,
Thanks for the reply. I'm adding this feature to an existing LabVIEW 8.5 application, so it was not part of any previous version of the software. I am on my second serial cable, and the communication is good with MAX. That's the sticking point for me. The EZ Temperature.vi is simply a visa write and a visa read. It's my understanding that the VIWrite and VIRead in the MAX test panel are accomplished using the same vi's. In the past, I've been able to introduce a time delay between the write and the read, but in this case, the time is critical and I don't have much to play with.
01-04-2008 10:32 AM
Serial can get inconsistent when you don’t give enough time between reads and writes. The first thing I would do is give it a long delay between reads and writes to see if it behaves correctly. Then reduce the time until it starts acting up. Add a bit of extra from the point where you start to see problems. This is the empirical method of figuring out the best timing. Let me know if a longer delay fixes the issue. Also, if you are moving lots of data you may have some buffering issues.