04-03-2007 12:14 PM
04-03-2007 12:38 PM - edited 04-03-2007 12:38 PM
you have a race condition
try to using a 1ms delay inside the while loop
Message Edited by James R on 04-03-2007 12:39 PM
04-03-2007 12:48 PM
04-13-2007 10:42 AM
04-13-2007 11:40 AM
Where did you even get the old serial functions in 27.VI? They haven't been pn any LabVIEW palette for quite a while. You are also using them incorrectly unless you want to connect to Com2. These obsolete functions start the port numbering with 0 (i.e. Com1).
Your connection drive should work and should be the one you are using. If you call this as a subVI, then do not do an VISA Configure Serial Port or VISA Close in the subVI. These belong in the top level main VI. If you don't get any timeout errors from this VI, it's likely that it's the serial instrument itself that is the bottelneck.
And why don't you clean up your connection drive VI like I showed you?