LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TMDS read.vi - count !=-1 bug

Is it just me or is there a bug in the NI TDMS Read.vi in LV 2020SP1 (and who knows what other versions):

wired up VI like this:

James_W_1-1721829533406.png

Works absolutely fine is count=-1
as soon as count !=-1 array size back is empty with no error
(if offset !=0)
My understanding was:
Channel defines a channel (single 1D array of data)

Offset should shift that data reading from 0 (an array offset)

Count should be the array length to read

What have I missed here?
If channel is out of limits (other values at default as above) > Error -2507
If offset is out of limits (other values at default as above) > no data, no error
If count is out of limits (other values at default as above) > no data, no error
If count & offset are in limits, but not defaults (other values at default as above) > no data, no error

I can check this by validating the array return against a single 1D array read from the file when just reading a single channel and using the LabVIEW array manipulation methods to give me my expected result.

Any agreement that this is an issue? known CAR?

Cheers
James

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 1 of 1
(207 Views)