If you are unfamiliar with what dt
refers to, read Using the Waveform Data Type in LabVIEW
This error is usually meant to indicate that an invalid value has been passed to the duration
input of Get Waveform Subset
. Since Y
is an array of values, each index corresponds to a multiple of dt
. If dt
is 5, then index 0 of Y
is the starting value, index 1 is the value 5 seconds after t0
, index 2 is the value at 10 seconds, and so on.
If you call Get Waveform Subset
with a duration
of 20 and enter 0 as the start time
, the VI knows it needs to start at index 0 and get 4 more indices of the Y
array, since 20 divides evenly by dt
, which is 5. You cannot use a number like 17 for duration
, as it does not evenly divide by dt
and therefore cannot be used to find an array index.
This behavior can also happen with Error -1800: Start time input is not an integer multiple of dt. Value was coerced to nearest integer multiple of dt. A similar explanation and solution applies to this error.