05-02-2007 07:11 AM
Dennis,
I have a similar problem, when I looked at the generated code from the Instrument I/O Assistant. The Loop for the ID? check looped for ever because it didn't account for an error condition, such as a timeout. I'm using LabVIEW 7.1 but I noticed that the Instrument I/O Assistant is only at 1.0.1.
Maybe there is an inherit problem with the Instrument I/O Assistant?
Regards
Ray Farmer
05-02-2007 09:52 AM - edited 05-02-2007 09:52 AM
Ray,
I typically don't use the I/O Assistant and I don't even know how to check which version I have. The one have I generated code like shown below for a *IDN? query. The loop keeps running as long as the error code is x3FFF0006 which means more data might be in the buffer. For all other error codes, the loop should terminate.
Message Edited by Dennis Knutson on 05-02-2007 08:53 AM
05-03-2007 01:01 AM
Dennis,
That's the sort of code I expected to see. So I not sure what's going on, I'll dig a bit deeper.
Likewise, its not something I haven't used much.
Regards
Ray
05-03-2007 07:12 AM