CommandFrame(Byte, Int32, Int32) Constructor

Creates a new CommandFrame from the given buffer.

Definition

Namespace: Gemstone.PhasorProtocols.IEC61850_90_5
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.128 -- Release Build+dd7f32701ba80de4d5b0557e84e0ddc18a34573f
public CommandFrame(
	byte[] buffer,
	int startIndex,
	int length
)

Parameters

buffer  Byte
Binary image to parse.
startIndex  Int32
Start index into buffer to begin parsing.
length  Int32
Length of valid data within buffer.

Remarks

This constructor is used by a consumer to parse a received IEC 61850-90-5 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.

Exceptions

ArgumentOutOfRangeExceptionlength is not large enough to parse frame.

See Also