LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can we construct a waveform using XY pairs in LabVIEW and if yes, then How

Sir/Ma'am,
I have a query about the waveform data type in LabVIEW.
As we can extract XY pairs [Data Values + Time Stamps] from a waveform,
so can we construct a waveform using XY pairs and if yes, then How? I
will
be
waiting for your response.

Best Regards,
Khalil Sultan,
k.sultan@iiee.edu.pk
Undergraduate Student,
IIEE, Karachi
0 Kudos
Message 1 of 3
(3,019 Views)
Khalil,
If you already have X and Y array of data, it would be easier to use the XY graph. But, you can certainly manipulate the data to get the required inputs for the Waveform Graph.
To create a Waveform Graph, you would use the Build Waveform function. You need to wire Y array, t0 and dt inputs. These second 2 inputs you can get from your X array of data, with some array tools.
Please find the attached example, built with LabVIEW 6.0.2, then builds a waveform graph based on the input X and Y arrays.

Zvezdana S.
National Instruments
0 Kudos
Message 2 of 3
(3,019 Views)
Khalil wrote:
> Sir/Ma'am,
> I have a query about the waveform data type in LabVIEW.
> As we can extract XY pairs [Data Values + Time Stamps] from a
> waveform,
> so can we construct a waveform using XY pairs and if yes, then How? I
> will
> be
> waiting for your response.
>
> Best Regards,
> Khalil Sultan,
> k.sultan@iiee.edu.pk
> Undergraduate Student,
> IIEE, Karachi

Hi, the waveform data type only contains the start and increment of the
timestamp. These values can be extracted and used in a loop to contruct
an array of Time values.

regards,

Dave.
0 Kudos
Message 3 of 3
(3,019 Views)