01-14-2014 03:08 AM
Hi hood,
which indicator are you talking about?
Perhaps the unwired "image" indicator? No wire, no data...
- What's the purpose of "Array"? It's just a 2D version of "output array 4"...
- Instead of InitArray with size=1 you can use BuildArray with just one input...
- When your DAQ device supports timed DO tasks you can output the whole "output array 4" with just one DAQAssistent call without the loop...
01-14-2014 03:20 AM
thanks for the advice sir.. Array is the indicator im talking about.. i wired it outside because i want to use it for another function.. i just put an indicator to know what data will i have outside the loop.. thanks:)
01-14-2014 03:26 AM
01-14-2014 06:48 AM
You have that DAQ Assistant configured wrong. You should not have to pass in an array of size 1. Change the configuration to output a single sample of a single line. Then you can just pass your boolean straight from the autoindexing tunnel to the data input of the DAQ Assistant.
Also, your while loop is running forever, forcing you to use the Abort button. DON"T DO THAT!!!! Put a stop button on your front panel and use that to stop your loop. Using the abort button is bad because it doesn't allow the VI to perform cleanups of resources (like the DAQ).