Go to: Synopsis. Return value. Related. Flags. MEL examples.

Synopsis

vnnWatchPoint [-create] [-deleteAll boolean] [-disableAll boolean] [-enable boolean] [-enableAll boolean] [-queryHasWatchPoint] [-queryIsEnabled] [-queryParameterDescription string] [-queryParameterValue string] [-queryParameterValueDescription string string] [-queryParameterValues string] [-queryParameters] [-queryRecordedValues string] [-remove] [-setParameterValue string string] string string

vnnWatchPoint is undoable, NOT queryable, and NOT editable.

The vnnWatchpoint command is used to operate vnn watchpoints. The first argument is the full name of the DG node that the VNN node is in. The second argument is the name of the full path of the VNN node. Then third argument is the name of the VNN port.

Return value

stringThe result of the operation

Related

vnn, vnnCompound, vnnNode

Flags

create, deleteAll, disableAll, enable, enableAll, queryHasWatchPoint, queryIsEnabled, queryParameterDescription, queryParameterValue, queryParameterValueDescription, queryParameterValues, queryParameters, queryRecordedValues, remove, setParameterValue
Long name (short name) Argument types Properties
-create(-c) create
Create a new watchpoint on the specified port.
-deleteAll(-dla) boolean create
Delete all watchpoints in all editable compounds.
-disableAll(-dba) boolean create
Disable all watchpoints in all editable compounds.
-enable(-e) boolean create
Enable or disable the watchpoint set on the specified port.
-enableAll(-eba) boolean create
Enable all watchpoints in all editable compounds.
-queryHasWatchPoint(-qw) create
Query if specified port has a watchpoint set.
-queryIsEnabled(-qe) create
Query if the watchpoint set on specified port is enabled.
-queryParameterDescription(-qpd) string create
Query the description of the watchpoint's parameter.
-queryParameterValue(-qpv) string create
Query the value currenlty set on the given watchpoint's parameter.
-queryParameterValueDescription(-qvd) string string create
Query the description of the given watchpoint's parameter's value.
-queryParameterValues(-qvs) string create
Query the list of values that can be set for the given watchpoint's parameter.
-queryParameters(-qps) create
Query the list of parameters that can be recorded by the watchpoint.
-queryRecordedValues(-qrv) string create
Query the recorded values of the given watchpoint's parameter.
-remove(-r) create
Remove the watchpoint set on the specified port.
-setParameterValue(-spv) string string create
Set the value of the given watchpoint's parameter.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// Set a new watchpoint on port "input" of node "myNode"
vnnWatchPoint "bifrostGraphShape1" "/myNode" "input" -create;

// Remove a watchpoint set on port "input" of node "myNode"
vnnWatchPoint "bifrostGraphShape1" "/myNode" "input" -remove;

// Remove all watchpoints
vnnWatchPoint "bifrostGraphShape1" -deleteAll;

// Disable all watchpoints
vnnWatchPoint "bifrostGraphShape1" -disableAll;

// Enable all watchpoints
vnnWatchPoint "bifrostGraphShape1" -enableAll;

// Query if port "input" of node "myNode" has a watchpoint set
vnnWatchPoint "bifrostGraphShape1" "/myNode" "output1" -queryHasWatchPoint
// Result: 1 //

// Query if watchpoint on port "input" of node "myNode" is enabled
vnnWatchPoint "bifrostGraphShape1" "/myNode" "output1" -queryIsEnabled
// Result: 1 //

// Query the parameters of watchpoint set on port "input" of node "myNode"
vnnWatchPoint "bifrostGraphShape1" "/myNode" "input" -queryParameters;
// Result: max min last //

// Query the description of parameter "max" of watchpoint set on port "input" of node "myNode"
vnnWatchPoint "bifrostGraphShape1" "/myNode" "input" -queryParameterDescription "max";
// Result: Record the maximum value //

// Query the values of parameter "max" of watchpoint set on port "input" of node "myNode"
vnnWatchPoint "bifrostGraphShape1" "/myNode" "input" -queryParameterValues "max";
// Result: enable disable //

// Query the description of value "enable" of parameter "max" of watchpoint set on port "input" of node "myNode"
vnnWatchPoint "bifrostGraphShape1" "/myNode" "input" -queryParameterValueDescription "max" "enable";
// Result: Enable //

// Query the value currenly set on parameter "max" of watchpoint set on port "input" of node "myNode"
vnnWatchPoint "bifrostGraphShape1" "/myNode" "input" -queryParameterValue "max";
// Result: enable //

// Query the value recorded for parameter "max" of watchpoint set on port "input" of node "myNode"
vnnWatchPoint "bifrostGraphShape1" "/myNode" "input" -queryRecordedValues "max";
// Result: -1.0298 //