LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone know why this VI wont work?

Error is -200278

 

<B> Attempted to Read Sample: </B> 1000

<B> Property: <B> RelativeTo

<B> Corresponding Value: <B> Current Read Position

<B> Property: <B>Offset

<B>Corresponding Value: <B> 0

<B> Task Name: </B> _unnamedTask<8>

 

USB-4431 DAQ is being used. I think it works with my USB 6009 DAQ though.

0 Kudos
Message 1 of 2
(53 Views)

Hi lorc,

 


@lorc34 wrote:

Error is -200278


Yes, we know…

 

Did you read the error description? You were to slow to read samples!

 

You implemented some operations in the loop that tend to get slower and slower as execution continues: building growing arrays (aka appending to this waveform) and displaying a growing waveform in a graph without proper decimation!

 

Suggestion:

  • Read a fixed amount of samples instead of "anything available".
  • Don't grow the waveform as large as possible.
  • Display only a reasonable number of samples in your graph… ("Reasonable" means about twice as many samples as your graph's width in pixels.)
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(47 Views)