LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I recieve error 200547 after running for several hours

I recieve error 200547 after running for several hours. I am using the Simulate Signal express VI. I have signal type set to sine, samples per second set to 150, I chose simulate acquisition timing, and automatic for number of samples which gives 15. The time stamp is set to relative to start of measurement, and the reset signal is set to use continuous generation. The output waveform is then fed into a DAQ Assistant which is set to continuous and use timing from waveform data.
 
How do I check to make sure I am not filling the write buffer slowly, and if I am how do I correct this so that it does not over fill the buffer.
 
Thanks
 
0 Kudos
Message 1 of 2
(2,805 Views)
Hi Dennis,

Thank you for posting on the National Instruments forums.

What DAQ card and DAQmx driver version are you using?  Would it be possible to remove the PID controls and have constants wired into the simulate signal.vi  I am not familiar with the PID.vi, but it's possible that it is taking some time to calculate what it needs, and therefore is causing the buffer to slowly get more and more full. 

If you have your samples per second to 150 and the number of samples to 15, then the DAQ Assistant is grabbing samples every 10ms.  If your loop is taking longer than that, then the buffer could get filled up because you are not pulling off of the buffer fast enough.


Thank You,

Nick F.
Applications Engineer
0 Kudos
Message 2 of 2
(2,779 Views)