openPDC Synchrophasor Help
SetLabel Method (index, value)
NamespacesTVA.PhasorProtocols.IeeeC37_118DigitalDefinitionSetLabel(Int32, String)
Sets the individual labels for specified bit in this DigitalDefinition.
Declaration Syntax
C#Visual BasicVisual C++
public void SetLabel(
	int index,
	string value
)
Public Sub SetLabel ( _
	index As Integer, _
	value As String _
)
public:
void SetLabel(
	int index, 
	String^ value
)
Parameters
index (Int32)
Index of desired bit label to access.
value (String)
Value of the bit label to assign.
Remarks

In the final version of the protocol each digital bit can be labeled, but we read them out as one big string in the "Label" property so this property allows individual access to each label.

Note that the draft 6 implementation of the protocol supports one label for all 16-bits, however draft 7 (i.e., version 1) supports a label for each of the 16 bits.

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