LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 20309

Thanks for the prompt reply.

Anyways can you help me converting from singular 8 bit data to waveform DBL


0 Kudos
Message 11 of 14
(1,178 Views)

@Saket2913 wrote:

Thanks for the prompt reply.

Anyways can you help me converting from singular 8 bit data to waveform DBL



No.  I can't.  You need to figure out how to get an array of data out of your Arduino.  You could put the Arduino Read into a loop that runs so many times to build an array.  But I don't think that would be very good.  The reading of an Arduino input with that subVI probably has no consistency in the timing between elements, so the results would be meaningless anyway.

0 Kudos
Message 12 of 14
(1,172 Views)

Hi

Please help me, with the same error

 

Download All
0 Kudos
Message 13 of 14
(789 Views)

Hi osirism,

 

you are using way too much ExpressVIs! (And lots of other bad coding style.)

See the attachment for (only) some improvements!

You should also rethink about your DAQAssistent usage: you set your AI reading to just "1 sample on demand", but still convert the DDT wire to an array! Why is that? You only get a single (scalar) sample value!

 

On your error:

did you read the error explanation? Then it becomes pretty clear how to solve your problem…

Best regards,
GerdW


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