Hi Folks,
I have a little vi task I cannot get my head around.
I am sending commands to a GPIB device and then checking for any errors by sending the command SYSTEM:ERROR?
When a command is malformed it can generate more than one error.
This can also happen when a function on the GPIB device conflicts with it's current setup.
Now, I have a little Do-While loop that takes care of reading back all
the errors until the list is clear; indicated by "+0,No Error".
Thing is, if there is an error I want to be able to capture this, but
if I use a True/False condition box the final output from the While
loop will always be False (no error)
What can I use to set a flag when an error occurs that later will not be reset when I receive the "+0,No Error" reply ?
Many thanks,
Bob.
Uk.