03-27-2015 03:02 PM
I have attached a photo with red circles indicating my use of local variables to "clean up" a block diagram. Would I run into any issues doing this? Can I leave this task and error unwired?
-Sarah
Solved! Go to Solution.
03-27-2015 03:04 PM
The photo may have not attached:
03-27-2015 03:07 PM
03-27-2015 03:09 PM - edited 03-27-2015 03:09 PM
Dennis,
I have completed Core 1 + 2 but haven't done any tutorials beyond that.
I will take out the local variables and look up those threads for further explanation.
Thanks,
Sarah
03-27-2015 03:24 PM
03-28-2015 06:23 AM
I see some possibly really bad race conditions with your VISA Resources. For instance, if Task Out 3 is empty (by default), it is likely that the local to read will happen before the local to write. What this will turn into is you loosing your VISA Reference in the shift register. Use wires. Locals very rarely clean up your diagram.
03-29-2015 09:37 AM
Consider putting all functions relating to the DAQmx task in a Action Engine. Cleaner top level code.
03-30-2015 08:59 AM
Thanks for the explanation - I'll take out the local variables.
Sarah