08-03-2010 05:43 PM
The problems are no more, thanks for the help!
08-03-2010 05:45 PM
You still have not put Error In and Error Out wires to and from the DAQmx functions. You still have not put a DAQmx Clear at the end of the loop.
Your loop should run until you press the stop button. If the display stops updating, you must have a DAQ error. That is why I insist on putting the Error Out indicator. It will tell you if you have an error when you stop the loop. Wire the error out of the DAQ read to the loop border. Right click on the terminal and select Replace with Shift Register. You will then have to point to the place where the error comes into the loop so that a shift register gets placed there. This is important, you need the shift register for the error wire or the error will get lost with each loop iteration. Wire the loop error out to the DAQ Clear function, then wire that error out to an Error Out indicator on the front panel. Look for errors when you stop the program.
08-05-2010 10:18 AM
Thanks, I have added a couple of small changes