Click or drag to resize

Writer Class

COMTRADE data and config file writer.
Inheritance Hierarchy
SystemObject
  GSF.COMTRADEWriter

Namespace: GSF.COMTRADE
Assembly: GSF.COMTRADE (in GSF.COMTRADE.dll) Version: 2.4.205-beta
Syntax
public static class Writer
View Source

The Writer type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateCFFStream(Stream, Schema, String, String, Encoding) Creates a new Combined File Format (.cff) COMTRADE file stream.
Public methodStatic memberCreateCFFStream(String, Schema, String, String, Encoding) Creates a new Combined File Format (.cff) COMTRADE file stream.
Public methodStatic memberCreateCFFStreamAscii(Stream, Schema, String, String, Encoding) Creates a new Combined File Format (.cff) COMTRADE file stream targeted for ASCII.
Public methodStatic memberCreateCFFStreamAscii(String, Schema, String, String, Encoding) Creates a new Combined File Format (.cff) COMTRADE file stream targeted for ASCII.
Public methodStatic memberCreateSchema Creates a new COMTRADE configuration Schema.
Public methodStatic memberUpdateCFFEndSample Updates a Combined File Format (.cff) COMTRADE file stream with a final end sample number.
Public methodStatic memberUpdateCFFStreamBinaryByteCount Updates a Combined File Format (.cff) COMTRADE file stream with a final binary byte count.
Public methodStatic memberWriteNextRecordAscii(StreamWriter, Schema, Ticks, Double, UInt32, Boolean, UInt16) Writes next COMTRADE record in ASCII format.
Public methodStatic memberWriteNextRecordAscii(StreamWriter, Schema, Ticks, Double, Boolean, UInt32, Boolean, UInt16) Writes next COMTRADE record in ASCII format.
Public methodStatic memberWriteNextRecordBinary(Stream, Schema, Ticks, Double, UInt32, Boolean, UInt16) Writes next COMTRADE record in binary format.
Public methodStatic memberWriteNextRecordBinary(Stream, Schema, Ticks, Double, Boolean, UInt32, Boolean, UInt16) Writes next COMTRADE record in binary format.
Public methodStatic memberWriteNextRecordBinary32(Stream, Schema, Ticks, Double, UInt32, Boolean, UInt16) Writes next COMTRADE record in binary32 format.
Public methodStatic memberWriteNextRecordBinary32(Stream, Schema, Ticks, Double, Boolean, UInt32, Boolean, UInt16) Writes next COMTRADE record in binary32 format.
Public methodStatic memberWriteNextRecordFloat32(Stream, Schema, Ticks, Double, UInt32, Boolean, UInt16) Writes next COMTRADE record in float32 format.
Public methodStatic memberWriteNextRecordFloat32(Stream, Schema, Ticks, Double, Boolean, UInt32, Boolean, UInt16) Writes next COMTRADE record in float32 format.
Top
Fields
 NameDescription
Public fieldStatic memberCRLF Defines a carriage return and line feed constant, i.e., "\r\n".
Public fieldStatic memberMaxEndSample Defines the maximum COMTRADE end sample number.
Public fieldStatic memberMaxFileSize Defines the maximum file size for this COMTRADE implementation.
Top
See Also