05-16-2008 03:35 PM
05-16-2008 10:05 PM
You cannot continuously do one query and do another in parallel. Communication to an instrument is serial in nature. If you issue a command to read, you must then do a read and pause before a different part of your program can do a write.
Looking at your program, you have a mjor flaw anyway. Once you start the while loop with the Count command (from the "Number of Cycles' tab, you can't stop the while loop without terminating the entire program. You have the conditional terminal wired to a control outside the while loop and the status of the Boolean cannot be read.