07-28-2009 10:50 PM
Hi, I am using Labview 8.2 and trying to get one channel analog input and one counter reading, meanwhile one channel analog output based on the analog input.
I am using USB 6215. It seems that I can get the analog input and counter reading o.k., but could not generate any analog output at 1000Hz.
The device does not support hardware sampling so I used continuous timing and sample clock.
Here are some screen shots. Any suggestions on how to get the analog output work?
Thanks.
Fug101
07-29-2009 03:29 PM
07-29-2009 03:31 PM
Hey,
Try changing DAQmx sampling in AO to conti. instead of finite and also set your AO to non-regeneration using DAQmx property node.
cheers
-Lab
07-29-2009 04:34 PM
Code is attached.
Thanks.
07-29-2009 04:58 PM
Thanks, how to set the property node? could not find out.
Could you please show an example.
Fug101
07-30-2009 09:08 AM
08-06-2009 08:46 AM
Jim,
Thanks.
It seems now it starts to work. But here comes another issue.
The Analog ouput does not update in time (embedded in the while loop).
Also, when it works, there is a significant delay between the sign flip (controlling the motor direction) and the real action of motor -- about 1 second.
The question is, how do I update the AO channel instantly when the sign is flipped.
Best,
fug101