05-16-2006 12:42 AM
05-22-2006 05:48 PM
05-23-2006 02:34 AM
05-24-2006 01:28 PM
12-17-2007 04:44 PM
12-18-2007 11:36 AM
Chris,
Based upon the previous posts, it may have a compatibility issue between his particular versions of Measurement Studio and NI-VISA. What version of NI-VISA do you have? Did you read the KnowledgeBase associated with this post (see links below)? Based upon the previous discussion did any of the suggestions help? One other item to note, are you closing the VISA session properly? If not, this could also be the source of the error.
Error 30559 on a viReadAsync and viWriteAsync Using Measurement Studio and NI-VISA
Receiving VISA Error : Unable to queue asynchronous operation
12-18-2007 01:37 PM
12-18-2007 02:17 PM
12-19-2007 12:51 PM
Chris,
You are in fact correct you do need to allow commands enough time to execute. If send too many commands without them executing you can cause an overrun. With regard to how and when you are supposed to close a VISA session please the see, National Instruments\NI-VISA\Examples\MStudioVC2005, these examples should be located on your computer. You should close NI-VISA session every time you are finished with a resource.