Click or drag to resize

CommandFrame(Byte, Int32, Int32) Constructor

Creates a new CommandFrame from the given buffer.

Namespace: GSF.PhasorProtocols.IEEE1344
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.181-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 must be at least 16.
Remarks
This constructor is used by a consumer to parse a received IEEE 1344 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