Remarks
Sets the friendly name of the given graphic item.
For details about graphic items management on the waveform analyzer refer to the How to add graphic items to the Waveform analyzer section.
For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.
For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer class section.
Syntax
[Visual Basic]
Public Function GraphicItemNameSet (
nUniqueId as Int16,
strFriendlyName as String
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes GraphicItemNameSet (
Int16 nUniqueId,
string strFriendlyName
);
|
|
[C++]
public: enumErrorCodes GraphicItemNameSet (
Int16 nUniqueId,
string strFriendlyName
);
|
|
Parameter
|
Description
|
|
|
nUniqueId
|
Unique identification number assigned to the graphic item.
The unique identification number of a graphic item is generated using one of the following methods:
|
strFriendlyName
|
String containing the friendly name to assign to the graphic item
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful.
|
|