Go to: Synopsis. Return value. Related. Flags. MEL examples.
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.| string | The result of the operation |
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
-create(-c)
|
|
|
||
|
||||
-deleteAll(-dla)
|
boolean
|
|
||
|
||||
-disableAll(-dba)
|
boolean
|
|
||
|
||||
-enable(-e)
|
boolean
|
|
||
|
||||
-enableAll(-eba)
|
boolean
|
|
||
|
||||
-queryHasWatchPoint(-qw)
|
|
|
||
|
||||
-queryIsEnabled(-qe)
|
|
|
||
|
||||
-queryParameterDescription(-qpd)
|
string
|
|
||
|
||||
-queryParameterValue(-qpv)
|
string
|
|
||
|
||||
-queryParameterValueDescription(-qvd)
|
string string
|
|
||
|
||||
-queryParameterValues(-qvs)
|
string
|
|
||
|
||||
-queryParameters(-qps)
|
|
|
||
|
||||
-queryRecordedValues(-qrv)
|
string
|
|
||
|
||||
-remove(-r)
|
|
|
||
|
||||
-setParameterValue(-spv)
|
string string
|
|
||
|
||||
// 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 //