08-07-2008 03:33 AM
Hi all :
I have problems with NI 6501 Device :
If I run continue test on the device (infinity run ) after much time this error appeared ,,attach see file 1.bmp ,,
I also send you the code to see if I do all will
NOTES : that evey time i activate ecah channel alone ( I turn it on and off) total 16 channel
Thanks
08-07-2008 04:08 AM
08-07-2008 07:19 AM
08-08-2008 08:45 AM
08-10-2008 01:17 AM
08-11-2008 02:18 AM
08-11-2008 04:22 AM
Hello Elyan,
I did had a quick look at your code. It is best to keep DAQmx create channel, DAQmx start task and DAQmx clear task inside the loop. It is best to place thos outside the while loop.
With this in mind it is best to create a task for all the ports you want to write to. Inside the loop set (write true) or reset (write false) to the desired port.
I hope this will help you further.
Best regards,
Martijn