openPDC Synchrophasor Help
CommandFrame Constructor (binaryImage, startIndex, length)
NamespacesTVA.PhasorProtocols.IeeeC37_118CommandFrameCommandFrame(array<Byte>[]()[][], Int32, Int32)
Creates a new CommandFrame from the given binaryImage.
Declaration Syntax
C#Visual BasicVisual C++
public CommandFrame(
	byte[] binaryImage,
	int startIndex,
	int length
)
Public Sub New ( _
	binaryImage As Byte(), _
	startIndex As Integer, _
	length As Integer _
)
public:
CommandFrame(
	array<unsigned char>^ binaryImage, 
	int startIndex, 
	int length
)
Parameters
binaryImage (array<Byte>[]()[][])
Binary image to parse.
startIndex (Int32)
Start index into binaryImage to begin parsing.
length (Int32)
Length of valid data within binaryImage.
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.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionlength is not large enough to parse frame.

Assembly: TVA.PhasorProtocols (Module: TVA.PhasorProtocols) Version: 1.4.192.0