Click or drag to resize

CommandFrame(Byte, Int32, Int32) Constructor

Creates a new CommandFrame from the given buffer.

Namespace: GSF.PhasorProtocols.IEEEC37_118
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.218-beta
Syntax
public CommandFrame(
	byte[] buffer,
	int startIndex,
	int length
)
View Source

Parameters

buffer  Byte
Binary image to parse.
startIndex  Int32
Start index into buffer to begin parsing.
length  Int32
Length of valid data within buffer.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionlength is not large enough to parse frame.
Remarks
This constructor is used by a consumer to parse a received IEEE C37.118 command frame. Typically command frames are sent to a device. This constructor would used if this code was being used inside of a phasor measurement device.
See Also