LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert 2D array into waveform

Dear All

 

I have 2D double array of data values. I need it as a waveform with time values attached. Any suggestions?

 

 

Best regards,

 

Aksoy

0 Kudos
Message 1 of 5
(5,571 Views)

Hi Aksoy,

 

why do you create a new thread instead of sticking with your old one?

 

Don't do this!!!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(5,569 Views)

Because of the title

 

Best regards,

 

0 Kudos
Message 3 of 5
(5,565 Views)

as you see in the title of my message...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(5,558 Views)

Well, this is definitely a case-in-point for how to not use the forums.  Use PM's for stuff like this, please. 

 

Back to the question:  To get a 2-D array into a waveform, you will need to use a 1-D Array of Waveforms.  Here's what this means:

Each waveform has an array inside of it.  To play nicely with a 2-D array, you should parse the array row- or column-wise and stick each row/column into a single waveform - then create an array of waveforms.  This will encapsulate all of your data.  How is the time stamp integrated into the current data set?

--------------------------------------------------

Nathan - Certified LabVIEW Developer
0 Kudos
Message 5 of 5
(5,541 Views)