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?
Solved! Go to Solution.
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.
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.
Consider putting all functions relating to the DAQmx task in a Action Engine. Cleaner top level code.