poIScalarDefine SetLabel

Sets the label of the result definition.

Syntax

poIScalarDefine_handle SetLabel label

Application

HyperView Tcl Modify

Description

This command, valid only in HyperView - MultiCore profile, sets the label of the result definition. Returns Success (0) or an error code.

Inputs

label
The result definition label.

Example

To set the label of a scalar result definition to "Scalar 1":

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle sdefine 4 scalar
sdefine SetLabel "Scalar 1"
hwi CloseStack

Errors

Returns an error code if there was an error setting the label and sets error condition on the session handle. See session_handle GetError.

Related Topics

See the HyperView - MultiCore APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.