From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert waveform (DBL) to a cluster of 2 elements

Solved!
Go to solution

Hello,

 

Can someone help me convert waveform data type (DBL) to a cluster of 2 elements (X,Y). I found a few examples online but I keep getting an error when I wire everything together. I'm using Tektronix's VI's to acquire a signal from channel 2 of my oscope, which I'm able to get but now I want to convert this data to a cluster so I can use it for an existing acqusition application. I've attached my VI version 8.2.

 

1Thanks

0 Kudos
Message 1 of 3
(3,138 Views)
Solution
Accepted by topic author lowski

The Y is easy since that is part of the waveform data type.  The X you will need to compute based on the dt using a FOR loop.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 3
(3,126 Views)

Thank you for the help! That was my issue I was able to get the Y component but I couldn't figure out how to get the X component.

 

Thanks for the clarification.

 

-Lowski

 

0 Kudos
Message 3 of 3
(3,112 Views)