03-09-2007 12:49 PM
03-12-2007 11:36 AM
Hello Yuri.
Thank you for posting to the NI Discussion Forums.
I constructed a quick example in LabVIEW to test the necessity of clearing a DI task before accessing the same lines with another DI task. The results show that only stopping the task is necessary. I first set up a digital task (Task A) to use the sample clock within the DAQmx Timing VI to acquire the states of the line. Then, I stopped Task A and started another task (Task B) that uses Change Detection. I then stopped Task B and resumed Task A with DAQmx Start. All of this was successful and error free.
Go ahead and give this a try. Let me know if you are error free in your application or if you run in to any problems. We would be happy to help you further so let us know!
Have a great day!
Brian F
Applications Engineer
National Instruments