LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.wav file Reading out vs. Reading in data

I try to attach my code but it doesn't work7.PNG

0 Kudos
Message 11 of 13
(458 Views)

Hi monkeys,

 

the help for DAQmxTiming gives you hints about that error…

 

You indexed waveform #1 from the array - but your array seem to contain just one waveform. As arrays are indexed starting from zero in LabVIEW (as is done in most other programming languages too) you are indexing a non-existing array element an so you get an empty waveform. That empty waveform conatins (of course) no samples, which DAQmxTiming is complaining about!

 

Index waveform #0 and you should go lucky…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 13
(456 Views)

I got it to work, the I-16 conversion I used was not needed and now it outputs the signal well. Thanks!

0 Kudos
Message 13 of 13
(448 Views)