07-12-2007 10:49 AM
07-13-2007 05:18 PM
Hello Eugenia,
You could have one waveform on one channel and another waveform on another channel. Just make sure that you have them in different tasks. You are probably getting this error because you are not clearing the task every time that you run the program. Normally you want to create/configure the task, then read/write data and finally stop/clear the task. This basic process should be completed entirely, every time that you run your VI.
07-17-2007 06:00 PM
07-18-2007 08:58 AM
Hello Eugenia,
You need to create and configure your task every time that
the VI is run. You can accomplish this
by executing these
Right now you are running your while loop once, which is fine. However, you are only creating/configuring and stopping/clearing the task when the user selects a control. I would suggest creating and configuring the task first outside of the while loop. Then write your waveforms inside your while loop. Finally stop and clear the task outside the while loop after you loop has finished executing. This way create/configure as well as stop/clear the task every time your VI is executed.