LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sound and vibration colormap to measurement file

Evening,

 

Still pretty new to the both labview and the sound and vibration suite so probably a basic question on data types i cant get my head round.

I want to the data from a colormap to a tdms file for future analysis but cat get the correct type of data for the measurement file function

 

Essenstially i've used used the 3rd order function for a while when writing motor gearbox specifications, so not just sound pressure level but also type of noise (eg happy baby at 60dB vs screaming baby at 60dB)

 

I want to go a step further and see how these values change over short periods of time hence colormap but cant seem to be able to record the data.

 

I've attached a very basic vi of what i want to do and left the 'bad data type wire' in to show what i want to achive.  i've searched extensively all the normal places but been unable to find any discussions or examples close.

 

Any help would be greatfully

 

Received

 

Martin

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

Hello Mjm1968,

 

When you hover over the broken wire with Context Help on (Ctrl-H), you can see that it's a bundle of multiple data types.  Right click on the broken wire, and you can go to Cluster, Class, & Variant Palatte » Unbundle By Name.  Attach the left side of that node to the wire, and you can break out all of the components of the signal, which you can feed to a Build Array node (as necessary), and then into a Write to Measurement File VI.  If that slows down your loop too much, we can look into some other options, but that may be the simplest solution to writing to a TDMS file.

Chris H
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,508 Views)

Thanks for quick reply: still unfortunatley a little beyond me as results not quite as expect.  Guessing the 10 columns are the 1/10th second dB values but trying to work out where the frequencies are. Need to study more.  Am i right in assuming this fix will strip out the time details (as in one of my previous quetions) and will have to apply this workround also to get correct timing data

 

 http://forums.ni.com/t5/LabVIEW/Cant-make-TDMS-Time-format-same-as-knowlege-base/m-p/3047143

 

Thanks again in advance for any furhther wise words of wisdom

 

KInd regards

 

Martin

0 Kudos
Message 3 of 4
(2,490 Views)

You should be able to also pull out the timing information of the colormap output by unbundling the x and y scales as well.  There is quite a bit within the colormap's spectrum info cluster that may be of use, too:

 

colormap unbundles.png

Chris H
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,456 Views)