LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

extract plot names from waveform

Solved!
Go to solution

Hello

 

Is it possible to extract plot names from an array of waveform to a new array that contains all the plot names.

 

Regards,

0 Kudos
Message 1 of 5
(2,862 Views)

If you want extract the information from a frequency domain graph means, you will get a cluster of data with F0 representing starting frequency and delta f represents frequency resolution and 1D array of magnitudes.

0 Kudos
Message 2 of 5
(2,855 Views)

I think the data is in time domain format. I am able to get only one name by creating property node in waveform graph. Is it possible to get all of them at a time.

0 Kudos
Message 3 of 5
(2,851 Views)

@tmbejoy wrote:

I think the data is in time domain format. I am able to get only one name by creating property node in waveform graph. Is it possible to get all of them at a time.


what does mean by "all of them at a time"?

Please post your code, so that i would be esay for us to help you.

0 Kudos
Message 4 of 5
(2,842 Views)
Solution
Accepted by tmbejoy

If you are using Waveform data types to update your plot then you can iterate through all channels and pull out the name attribute or,

 

You can use a For loop that uses the iteraction terminal to drive the "Active Plot" property of the indicator and then pull the name using a second (preferably an expanded property node) and let the names pile up in an auto-indexing output tunnel.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 5
(2,819 Views)