SignalExpress

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting Data to wav file format

Within Signal Express is it possible to log data to a .wav file or convert it to .wav file after it has been logged?
0 Kudos
Message 1 of 14
(12,305 Views)

Hello MQuinn,

Thanks for Contacting National Instruments.

There is no straightforward to save an acquired waveform as a .wav file in LabVIEW SignalExpress.  With the full version of LabVIEW SignalExpress and LabVIEW 8.5 installed it is possible to run a LabVIEW VI as a step.  I have included a VI that you can add as a step to save your measurement data as a .wav file. 

1.) Create a Voltage Acquire step.  This step should be a finite acquire. 
2.) Select Add Step - > Run LabVIEW 8.5 VI
3.) Browse to the location of RunSounds.llb and open it.
4.) Select RunSounds.vi
5.) In the Configure VI tab, select a wave file location to save to.  You must include the FileName.wav that you wish to save to
6.) Run the project

Without LabVIEW 8.5 and Signal Express Full, it will be necessary to find a third party application to convert an ASCII file to a .wav file. 

Please post back if you have any questions or concerns. 

Regards,
Browning G
FlexRIO R&D
Message 2 of 14
(12,287 Views)

BrowningG,

  Unfortunately we currently do not have full version of either package. But you have provided me with the information I needed for future direction.

 

Thanks,

MQuinn

0 Kudos
Message 3 of 14
(12,275 Views)

Browning G,

Does this conversion need to be done when the signal is logged?

0 Kudos
Message 4 of 14
(12,097 Views)
96Cobra,
 
Yes, this would also need to be done if your signal is logged. But since your signal is already logged, you would insert the Run LabVIEW VI while in Playback mode. That way, SignalExpress will read back through your data as it was logged, and pass it to the Run LabVIEW VI step and create your .wav file.
 
Phil
 
0 Kudos
Message 5 of 14
(12,022 Views)

Hi,

   Could you post a version of Runsounds.vi that is compatible with Labview 8.2?

0 Kudos
Message 6 of 14
(11,033 Views)

Hello,

Thank you for posting to the NI Forums! I have saved the top level vi of the llb back to LabVIEW 8.2. Hopefully this is all you need. Have a great day!

Message Edited by Margaret F. on 03-31-2009 03:31 PM
Regards,
Margaret Barrett
National Instruments
Applications Engineer
Digital Multimeters and LCR Meters
0 Kudos
Message 7 of 14
(11,004 Views)

I saw the original message and reply, tried them with my system and was able to get to step 4, and then kept getting an error code stating "Please select a VI to open" even though I selected the attached VI. I am also trying to convert logs I have saved in SignalExpress into .wav format. This is some years later from the original post, and I have the 2011 (both LabVIEW and Signal Express) version, could this be the issue? Any help with how to convert to .wav or .mp3 files would be greatly appreciated! 

0 Kudos
Message 8 of 14
(8,563 Views)

Hello, SmithRootBiologist

 

The library in the original response was mainly created since the original poster only had access to SignalExpress. Since you have a copy of LabVIEW, what might be easier to try is just run the RunSounds.vi contained within that library manually in LabVIEW. Or you can take a look at the Sound Files VIs that the library uses and programmatically recreate its functionality. The VIs are located in the Functions Palette at Graphics and Sounds >> Sounds >> Files.

 

Regards,

 

Ryan

Ryan P.
CLA
0 Kudos
Message 9 of 14
(8,553 Views)

Hi Ryan,

 

Thank you so much for responding. Do you know how I get the logs that I have already created in SignalExpress into LabVIEW so that I may employ the use as you previously suggested? Thanks again for your help! 

 

Tristany

 

Smith-Root, Inc. 

Biologist 

0 Kudos
Message 10 of 14
(8,549 Views)