SVT UFF58 Open File VI

Sound and Vibration Measurement Help

Edition Date: March 2018
Part Number: 372416L-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2018 Sound and Vibration Toolkit Help
LabVIEW 2019 Sound and Vibration Toolkit Help

Owning Palette: UFF58b VIs

Requires: Sound and Vibration Toolkit

Opens an existing UFF58 (universal file format) file, creates a new UFF58 file, or replaces an existing UFF file. You can input the file programmatically or interactively using a file dialog box.

Details  Example

UFF58 file path specifies the absolute path to the UFF58 file. If UFF58 file path is empty (default) or is Not A Path, the VI displays the UFF File Path dialog box from which you can select a UFF58 file.
open mode (create:0) specifies the operation to perform while opening a file.

0create (default)—Creates a new file. Error 8 occurs if the file already exists.
1create or replace—Creates a new file or replaces a file if it exists.
2open (read only)—Opens an existing file for read only.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
file refnum returns the UFF58 file refnum associated with the file you want to open.
UFF58 file path out returns the absolute path of the UFF58 file you open.
error out contains error information. This output provides standard error out functionality.

SVT UFF58 Open File Details

You cannot edit a UFF58 file with the UFF58b or UFF58 Advanced VIs after you write and close the file. If you need to edit the contents of an existing UFF58 file after you write and close the file, you can read the information then write modified information to a new UFF58 file.


Refer to the Read Time Waveforms with Records (UFF File) VI in the labview\examples\Sound and Vibration\UFF58 directory for an example of using the SVT UFF58 Open File VI.


Not Helpful