Owning Palette: File I/O VIs

Requires: Electrical Power Toolkit. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the COMTRADE VIs to log data using the Common Format for Transient Data Exchange (COMTRADE) format as defined in IEEE Std C37.111-1999.
Note The read VIs support Windows only when you read data from COMTRADE files.
Palette ObjectDescription
COMTRADE CloseCloses the file references you open with the COMTRADE Open VI.
COMTRADE ConfigureSpecifies the record and channel information that you want to write into .cfg and .dat files. You use the COMTRADE Write Data VI to write the record and channel information into .cfg and .dat files.
COMTRADE OpenOpens a .cfg and the corresponding .dat file for reading or writing. You also can use this VI to create a new file or replace an existing file. Set include header file? or include information file? to TRUE if you also want to create or open a .hdr or .inf file. Use the COMTRADE Close VI to close references to the files. IEEE Std C37.111-1999 specifies that a filename must not exceed eight characters. However, this VI accepts filenames that have more than eight characters, but returns a warning message.
COMTRADE Read ConfigureReads record and channel information from the specified .cfg and .dat files. You must set open mode to Open (read only) in the COMTRADE Open VI to open the .inf file. Otherwise this VI returns an error.
COMTRADE Read DataReads analog data and digital data from the specified .dat file. You must set open mode to Open (read only) in the COMTRADE Open VI to open the .inf file. Otherwise this VI returns an error.
COMTRADE Write DataWrites configuration information and data to the specified .cfg and .dat files. You must set open mode to Create or Create or replace in the COMTRADE Open VI to open files. Otherwise this VI returns an error.
SubpaletteDescription
Advanced VIsUse the Advanced VIs to perform advanced file I/O operations.