LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200524 occurred at DAQmx Write (Analog 1D DBL NChan 1Samp).vi:2

Solved!
Go to solution

I try to generate a signal from usb-6009 from simulated signal.

However, it keep poping out errors:

Error -200524 occurred at DAQmx Write (Analog 1D DBL NChan 1Samp).vi:2 if I choose "1 sample on demand" in the daq mx. 

 

 

If I chaged to "continus sample", the error became

Error -200077 occurred at Property Node DAQmx Timing (arg 1) in DAQmx Timing (Sample Clock).vi:3->Untitled 1.vi:Instance:0:1->Untitled 1.vi

 

Can someone could take care of my problem?

Very appreciate

wei shen
0 Kudos
Message 1 of 4
(5,743 Views)

Possible reason(s):

 

Write cannot be performed, because the number of channels in the data does not match the number of channels in the task.

 

When writing, supply data for all channels in the task. Alternatively, modify the task to contain the same number of channels as the data written.

 

Number of Channels in Task: 1

Number of Channels in Data: 100

 

Task Name: _unnamedTask<4A>

 

also, remember..."conitnuous samples" to "N samples" and "finite samples" to "1 sample"  Smiley Wink

0 Kudos
Message 2 of 4
(5,727 Views)

How would you increase the data task in the daq assitant?

thanks

wei shen
0 Kudos
Message 3 of 4
(5,712 Views)
Solution
Accepted by topic author shenwei824
The limitations of the analog output of your device is documented in the manual and has been discussed numerous times. Since it only supports on demand timing, you can only pass it a single value at a time-not a waveform. The timing is software only and you cannot generate a signal without a lot of jitter and the max frequency will be per the spec.
0 Kudos
Message 4 of 4
(5,705 Views)