Click or drag to resize

CommandFrame(Byte, Int32, Int32) Constructor

Creates a new CommandFrame from the given buffer.

Namespace: GSF.PhasorProtocols.SelFastMessage
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.207-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 SEL Fast Message 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