06-08-2011 01:22 PM
I have this message pop up several times, but if I ran the labview for couple times, the error message just stop, and my measurement is ok again. Anyone know what is going on? Thank you
06-09-2011 11:01 AM
Hi desperatekid,
That error is associated with the VISA calls that you are making to your device, and is most likely caused by problems on the hardware end. You mentioned the problem going away, was that because you disabled the ID Query? If not and this error comes up again, here is a link to a document that describes how to do this and why the error may be happening.
http://www.ni.com/support/labview/visa/verr1.htm
Regards,
Peter W.
06-09-2011 11:07 AM
I don't have an ID query on my panel or on my block diagram, the error just pop up randomly, I tried it 4 time today again, it pop up 1 time
06-09-2011 11:11 AM
Of course you have an ID query. You have an Initialize function there, don't you? That is what it is doing.
You've chosen not to post the code and the error message is hiding the block diagram. It does appear that your loop might be doing an initialize and close each iteration. That is a mistake. Each of those (and other setup functions) should only be run once.
06-09-2011 11:15 AM
ha! I see it, so make it false will result the problem?
06-09-2011 11:19 AM
I am new on Labview, , thank you for your help, I disable the id query
06-09-2011 11:49 AM
That is an incorrect action. You really need to place the function outside your loop.