SetDisplayName

Setting a channel-specific description. In reporting, the description serves as a table heading for a table and as a key value for a key-value pair.

Syntax

Definition:

METHOD SetDisplayName : BOOL
VAR_INPUT
    nChannel : UDINT;
    sDisplayName : STRING(255);
END_VAR

SetDisplayName 1: Inputs

Name

Type

Description

nChannel

UDINT

Channel index (1 to nChannels)

sDisplayName

STRING(255)

Input value of type string.

SetDisplayName 2: Return value

Name

Type

Description

SetDisplayName

BOOL

Returns TRUE if successful.