LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform filter - Convert Waveform to 1D (sub)array of Waveform (Waveform(DBL)), not 1D array of double

Hi,

 

I am looking for a LabView waveform filter that converts Waveform to 1D array of Waveform.

In the vi attached, the aim is to compute power values from a csv file. The Labview example of Power & Energy (DAQmx).vi was used as a basis which requires the data from the csv file to be a 1D (sub)array of Waveform (Waveform(DBL)).

 

However, the Get Waveform Components filter I used converts the Waveform (Waveform(DBL)) into a 1D array of double [64-bit real (~15digit precision)],  not of Waveform (Waveform(DBL)).

 

I was hoping that there is an easy fix or possibly a magic filter that would do this.

 

The vi and csv file are attached for reference

 

Thanks a lot!

0 Kudos
Message 1 of 4
(2,731 Views)

Hi Sivachandran,

 

I am experiencing a similar problem. Could you please attach the working vi?

 

Many thanks!

0 Kudos
Message 2 of 4
(2,726 Views)

Hi Desen,

 

some basic LabVIEW stuff:

When your input is a waveform and you need an array of waveforms you should use BuildArray to build an array from your waveform!

 

(And please keep your discussion in one place!)

Best regards,
GerdW


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

Hi Desan,

      I was experiencing that issue long ago and I figured out by using Build Waveform function the issue was sorted out. I have attached the vi for your reference.  

Hope it is useful to you.

 

Thanks,

Siva

Download All
0 Kudos
Message 4 of 4
(2,688 Views)