Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

daqmx not update quickly in hardware timed single point mode

Hey, can anybody give me some suggestion about this question?
 
(1)System configuration
     Labview RT 8.2, PXI-8186 controller, PXI-6281 M series multifunction daq.
 
(2) Target
      Output an analogue voltage through the AO terminal of the daqmx according to the result of PID controller .
 
(3) Problem
      The voltage output is not updating fast enough compared with the sampling rate of my program. For example, I ran the program at the rate of 15.1KHz, the output is updated at only 20Hz if I connect the output to an oscilloscope.
      How can I get an instaneous update using the system?
      
The attachment: (1) AO output program.vi, (2) input signal to AI, (3)output signal from AO.
    
Download All
0 Kudos
Message 1 of 3
(3,018 Views)
Hello,

I guess you can use the while loop instead of timing loop. Please try the attached.

0 Kudos
Message 2 of 3
(2,959 Views)
On 30 mei, 09:40, M.Kamiya <x...@no.email> wrote:
> Hello, I guess you can use the while loop instead of timing loop. Please try the attached.
>
> test input output2.vi:http://forums.ni.com/attachments/ni/250/40405/1/testinput output2.vi

The setting of the hardware timed loop is wrong: you should set the
period to 1 tick instead of 1000 ticks. By judging this VI, it should
run every 1000 ticks of the samplerclock, which runs at 10kHz. This
means the timed loop runs at 10Hz.

kind regards
0 Kudos
Message 3 of 3
(2,891 Views)