openPDC Synchrophasor Help
Initialize Method (binaryImage, startIndex, length)
NamespacesTVA.PhasorProtocols.MacrodyneHeaderFrameInitialize(array<Byte>[]()[][], Int32, Int32)
Parses the binary image.
Declaration Syntax
C#Visual BasicVisual C++
public override int Initialize(
	byte[] binaryImage,
	int startIndex,
	int length
)
Public Overrides Function Initialize ( _
	binaryImage As Byte(), _
	startIndex As Integer, _
	length As Integer _
) As Integer
public:
virtual int Initialize(
	array<unsigned char>^ binaryImage, 
	int startIndex, 
	int length
) override
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.
Return Value
The length of the data that was parsed.
Exceptions
ExceptionCondition
InvalidOperationExceptionInvalid binary image detected - check sum did not match.

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