LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert 1D array of waveform (DBL) to waveform (DBL)?

Hi all, I am a beginner of Labview, I  am really not clear about  '1D array of waveform (DBL) '. And can anyone tell me how to convert this data type to  waveform (DBL).

I'd appreciate any help in advanced.

Regards Sylover

0 Kudos
Message 1 of 4
(6,121 Views)
Hi Sy,

whenever you want to access array elements you should think about autoindexing FOR loops...
Best regards,
GerdW


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

I am not clear what problem you are having.  In posting to the forum, it is usually helpful (for us, in order to help you) if you post some code that you are trying to develop, stating clearly what you are trying to do.  Sometimes this is as easy as saying "My input is ... " (and build the input into your code) " and my output should be ...".  Be sure to include your code, usually easiest to do by attaching the VI.  Do not simply paste a picture of your Block Diagram -- we can't "edit" a picture (unless you know how to make a LabVIEW Snippet) nor can we execute it.

 

Bob Schor

0 Kudos
Message 3 of 4
(6,076 Views)

Hi Sylover

In LabVIEW waveform is a cluster, contains 3 elements: t0, 1D array, dt.

Your data source is 1D array, So it won't match waveform type.

You have to change your data souorce to waveform type.

Thanks

0 Kudos
Message 4 of 4
(6,042 Views)