LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reformat Result Table Data

Solved!
Go to solution

I have data collected from octave analysis that is displayed in a result table before being sent to excel for further calculations and reporting.  Using the GetOctaveInfo.vi I end up with a lot of data I don't need.  Ideally all I want is the frequency (Hz) in one column and the decibel (dB) reading in the next.  I've attached pictures of the result table and how it is formatted in excel.  Is there a way to remove the extra data?  Note that the size of the result table could change.

 

Thanks.

LabVIEW 2016 - Windows 7

CLAD
Download All
0 Kudos
Message 1 of 6
(3,184 Views)
What is "GetOctaveInfo"? I cannot find that VI anywhere, and a search on the NI site returned nothing. Is this a custom VI?
0 Kudos
Message 2 of 6
(3,172 Views)
I'm sorry, it's not really a vi, its a cluster native to the sound and vibration toolset.  It's a cluster of defining properties concerning the octave spectrum.  The actual table is built from the SVT Build Result Table.vi.  I'm not sure how to remove the unwanted data attached when the table is populated.  I attached a picture of one of the sub routines, hopefully it better explains the setup.
LabVIEW 2016 - Windows 7

CLAD
0 Kudos
Message 3 of 6
(3,164 Views)
Solution
Accepted by topic author MeCoOp

Youn can use the attached .vi (LV 8.5) to remove the extra data

 

/Sture

Message 4 of 6
(3,134 Views)

Simple and effective!!!!  Thanks for your help, got me to where I wanted to go...

 

Bobby

LabVIEW 2016 - Windows 7

CLAD
0 Kudos
Message 5 of 6
(3,122 Views)
A simpler solution is to split the string at the space. This would avoid the penalty of the double conversion: once to a number, and then back to a string. Smiley Wink
0 Kudos
Message 6 of 6
(3,117 Views)