10-29-2006 04:56 PM
10-29-2006 04:59 PM
10-29-2006 04:59 PM
10-29-2006 05:27 PM
10-29-2006 06:02 PM
10-29-2006 06:20 PM
10-29-2006 06:33 PM
10-29-2006 06:36 PM
You cannot send multiple commands "at the same time" to the same device via GPIB.
Maybe your device allows stringing of multiple commands with a single write. Maybe there is a command to read all channels? Check the manual. Sorry I'm not very familiar with GPIB.
Basic dataflow dictates that a node can only execute once all inputs have data and will only produce outputs once it is done. Thus the error cluster ensures that the second node must wait until the first has completed successfully and so on.
BTW: you also don't need these numeric indicators (read output x). Just right-click on the charts and select "visible items..digital display". I would also recommend to get rid if all these unecessary sequence structures, they make the diagram hard to edit and debug. Again proper execution order is ensured with the error cluster.
Attached is a quick attempt at a code cleanup to give you some ideas. Most likely it will need quite a few more changes.
Some other ideas:
10-29-2006 06:57 PM
10-30-2006 08:17 AM