LabVIEW Electrical Power Toolkit API Reference

Table of Contents

COMTRADE Write Public Inf VI

  • Updated2023-02-21
  • 4 minute(s) read

COMTRADE Write Public Inf VI

Owning Palette: Advanced VIs

Requires: Electrical Power Toolkit

Writes data to the public sections of the optionally specified .inf file. You can set include configuration information? to TRUE to write the content of the specified .cfg file to this .inf file. You must set include information file? to TRUE in the COMTRADE Open VI to open the .inf file. Otherwise this VI returns an error.

Examples

include configuration information? specifies whether to include the configuration information when this VI writes data to the .inf file. The default is FALSE.
task in specifies the configuration information and references.
public record information specifies the public record information to write to the .inf file. Refer to IEEE Std C37.111-1999 for details about public record information.
source specifies description of the software that writes the record information.
record type specifies the type of the record information.

0Fault
1Unknown (default)
2Misoperation
3Close
4Trip
5Reclose
6Power swing
7Simulation
phase ID specifies the phase identifier.
event description specifies the description of the event.
device ID specifies the device identifier.
distance of fault specifies the distance to fault. The default is –1.
distance unit specifies the unit for distance.

0Miles (default)
1Kilometers
2Percent of line
3Percent of setting
4Ohms
max current specifies the maximum current value. The default is –Inf.
min current specifies the minimum current value. The default is Inf.
max voltage specifies the maximum voltage value. The default is –Inf.
min voltage specifies the minimum voltage value. The default is Inf.
public event information specifies the public event information to write to the .inf file. Refer to IEEE Std C37.111-1999 for details about public event information.
channel number specifies the COMTRADE record channel number to which the public event information refers. The default is 0.
max value specifies the maximum values of voltage and current. The default is –Inf.
min value specifies the minimum values of voltage and current. The default is Inf.
max sample number specifies the sample number at which the maximum recorded value occurs. The default is 0.
min sample number specifies the sample number at which the minimum recorded value occurs. The default is 0.
max sample text specifies text notes for the event on which the maximum recorded value occurs.
min sample text specifies text notes for the event on which the minimum recorded value occurs.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
task out returns updated configuration information and references.
error out contains error information. This output provides standard error out functionality.

Examples

Refer to the following VIs for examples of using the COMTRADE Write Public Inf VI:

  • COMTRADE N Samples Logging VI: labview\examples\Electrical Power\COMTRADE Logging
  • COMTRADE Waveform Logging VI: labview\examples\Electrical Power\COMTRADE Logging
  • COMTRADE 1 Sample Logging VI: labview\examples\Electrical Power\COMTRADE Logging

Log in to get a better experience