LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 6501

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

 

Download All
0 Kudos
Message 1 of 7
(3,713 Views)
Will this help?
0 Kudos
Message 2 of 7
(3,704 Views)
I do what they suggest but its doesn't help ..
 
thanks
0 Kudos
Message 3 of 7
(3,687 Views)
Hi Elyan,
              Did you notice this

I upgraded the RAM from 512MB to 2GB and have not seen the error since.

Do you Mean to say even after this the problem persists
0 Kudos
Message 4 of 7
(3,675 Views)
Hi :
 
I have PC with 1GHz RAM ..
 
Does I need to rise it more
 
thanks
0 Kudos
Message 5 of 7
(3,642 Views)
I will suggest you contact ni support over phone. Will be fixed pretty quickly.
0 Kudos
Message 6 of 7
(3,616 Views)

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

Martijn S
Applications Engineer
NI Netherlands
Message 7 of 7
(3,610 Views)