Owning Palette: Sound Files VIs
Requires: Base Development System
Writes data from a waveform or an array of waveforms to a .wav file.
(Windows) You must have DirectX 8.0 or later to use this VI. (Linux) You must have the Open Sound System (OSS) driver to use this VI.
Use the pull-down menu to select an instance of this VI.
Add to the block diagram | Find on the palette |
sound file refnum is the reference to the sound file. You generate sound file refnum with the Sound File Open VI. | |||||||
data writes any sound data to the internal buffers. For multi-channel sound data, data is an array of waveforms where each element of the array is a single channel.
| |||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||
sound file refnum out is the reference to the sound file originally passed in the sound file refnum parameter. | |||||||
error out contains error information. This output provides standard error out functionality. |
Note The WFM instance of this VI writes data from a single waveform that uses double-precision floating point numbers for the sound data. |
sound file refnum is the reference to the sound file. You generate sound file refnum with the Sound File Open VI. | |||||||
data writes any sound data to the internal buffers.
| |||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||
sound file refnum out is the reference to the sound file originally passed in the sound file refnum parameter. | |||||||
error out contains error information. This output provides standard error out functionality. |
Note Use the SGL instance to write data from a waveform that uses single-precision floating point numbers for the sound data. |
sound file refnum is the reference to the sound file. You generate sound file refnum with the Sound File Open VI. | |||||||
data writes any sound data to the internal buffers. For multi-channel sound data, data is an array of waveforms where each element of the array is a single channel.
| |||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||
sound file refnum out is the reference to the sound file originally passed in the sound file refnum parameter. | |||||||
error out contains error information. This output provides standard error out functionality. |
sound file refnum is the reference to the sound file. You generate sound file refnum with the Sound File Open VI. | |||||||
data writes any sound data to the internal buffers. For multi-channel sound data, data is an array of waveforms where each element of the array is a single channel.
| |||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||
sound file refnum out is the reference to the sound file originally passed in the sound file refnum parameter. | |||||||
error out contains error information. This output provides standard error out functionality. |
sound file refnum is the reference to the sound file. You generate sound file refnum with the Sound File Open VI. | |||||||
data writes any sound data to the internal buffers. For multi-channel sound data, data is an array of waveforms where each element of the array is a single channel.
| |||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||
sound file refnum out is the reference to the sound file originally passed in the sound file refnum parameter. | |||||||
error out contains error information. This output provides standard error out functionality. |
sound file refnum is the reference to the sound file. You generate sound file refnum with the Sound File Open VI. | |||||||
data writes any sound data to the internal buffers. For multi-channel sound data, data is an array of waveforms where each element of the array is a single channel.
| |||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||
sound file refnum out is the reference to the sound file originally passed in the sound file refnum parameter. | |||||||
error out contains error information. This output provides standard error out functionality. |
Refer to the Sound Input to File VI in the labview\examples\Graphics and Sound\Sound directory for an example of using the Sound File Write VI.