LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with acquiring ~40hz sinusoidal data. USB 6215 error 200279

Solved!
Go to solution

Greetings,

I have a fairly simple control and DAQ program that I have written (Attached)
Basically, I am using a USB 6215.  
I use an analog out port to control a sinusoidal pressure and then use an analog input port to read the controlled pressure and display it.

The program seems to run well for the first 20sec or so, then error 200279 pops up (see attachment) and highlights the analog input DAQ VI as the issue.

There are more details in the attached VI and I have commented my thoughts there in the block diagram.

Any help diagnosing would be appreciated!

Thanks!

0 Kudos
Message 1 of 2
(846 Views)
Solution
Accepted by topic author nlis12

The reason you're facing this error is that your software is fetching the samples from the hardware at a slower rate.

 

From your implementation, I would assume you would like to apply a stimulus and capture the response synchronously, in this case, you need some kind of hardware synchronization but the DAQ Assistant approach you're using is very limited and does not allow you to synchronize.

 

santo_13_0-1650377078704.png

 

You can achieve this by discarding the DAQ Assistant based approach and using the DAQmx drivers directly. This is a good article to begin the DAQmx driver study but skip the DAQ Assistant part.

 

Please refer this post for AO-AI synchronization - https://forums.ni.com/t5/LabVIEW/Sync-Daqmx-AO-with-AI/td-p/3809098

 

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 2
(844 Views)