system.sfc.pauseChart
This function is used in Python Scripting.
Descriptionβ
Pauses a running chart instance. Any running steps will be told to pause, and the chart will enter Pausing state. Will throw a KeyError if the ID does not match any running chart instance.
Client Permission Restrictionsβ
Permission Type: SFC Management
Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope.
Syntaxβ
system.sfc.pauseChart(id)
Parametersβ
| Type | Parameter | Description |
|---|---|---|
| String | id | The ID of the chart instance to pause |
Returnsβ
Nothing
Scopeβ
Gateway, Vision Client, Perspective Session
Code Examplesβ
Code Snippet
# The following attempts to pause a SFC.
id = 'Some long string value. It can be obtained using system.sfc.getRunningCharts()'
system.sfc.cancelChart(id)