Pelco Developer Network (PDN)

ScriptControl Troubleshooting

These examples each have a set of assumptions for proper operation by the C++ programming language.

Where can users find a list of issues pertaining to the ScriptControl service?

The list of issues can be found in ScriptControl Issues.




What is a preset?

A preset is a script that allows users to a save a camera's position, zoom, and other settings such as auto-iris and auto-focus; collectively as a 'bookmark'. Users can save multiple presets per camera. For example if a user monitoring several specific points using the same camera, the user can set one preset for the main entrance with a moderate zoom value, and the user can set another preset for a vulnerable window, lying some ways from th main entrance, with a higher value zoom value and a specific position.




What is a pattern?

A pattern is a set of memorized, repeating series of pan, tilt, and zoom movements that can be recalled by the device. The number of patterns that can be recorded and activated is dependent on the device. For example, the 16X and 18X models of the Spectra IV can store only a single pattern, while the 22X, 23X and 35X Spectra IV models can store up to eight patterns.




What is the maximum number of presets that can be created?

Refer to the Maximum Number of Presets section in ScriptControl Issues.




How do users query a list of existing scripts?

Refer to the Querying Existing Scripts section in ScriptControl General Usage for details.




How do users start (or execute) a script?

Refer to the Executing (or Starting) a Script section in ScriptControl General Usage for details.




How do users stop a script's execution?

Refer to the Stopping a Script from Running section in ScriptControl General Usage for details.




How do users signal the start of a script's definition (for creating a preset or pattern)?

Refer to "Signalling the start of a script's definition (for creating a preset or pattern)" in ScriptControl General Usage for details.




How do users signal the end of a script's definition (for saving a preset or pattern)?

Refer to "Signalling the end of a script's definition (for saving a preset or pattern)" in ScriptControl General Usage for details.




How do users cancel saving a script?

Refer to "Cancel saving a script" in ScriptControl General Usage for details.




How do users delete a script?

Refer to "Delete a script" in ScriptControl General Usage for details. 




How do users set script ownership?

Refer to "Setting script ownership" in ScriptControl General Usage for details.




How do users create a pattern?

Refer to "Creating a pattern" in ScriptControl General Usage for details.




How do users cancel saving a pattern?

Refer to "Cancel saving a script" in ScriptControl General Usage for details.




How do users delete an existing script?

Refer to "Delete a script" in ScriptControl General Usage for details.




How do users define a preset?

Refer to "Define a preset" in ScriptControl General Usage for details.




I am having problems with user defined scripts.

If the problems are related to a System Manager, refer to "How do users make ScriptControl requests to a System Manager?" below. If it does not involve a System Manager, contact us through the PDN Support page.




How do users make ScriptControl requests to a System Manager?

Unlike presets and patterns, user-defined scripts need authentication. For details, refer to "Making ScriptControl requests to a System Manager" in ScriptControl General Usage for details.




How do users control an auxillary device such as a wiper?

Call the ExecuteScript function and pass AUXON1 as the name of the script to execute. Refer to "Executing (or Starting) a Script" in ScriptControl General Usage for details.