PV Scripts

This tool allows you to add scripts to the Process Variable context menu. Whenever a context menu is opened in any CSS application, these scripts will then appead in the context menu. Selecting them will invoke the script with the PV name as an additional argument.

Scripts are used in a generic sense. Any external program that supports invocation from the command line can be used as a command. The preference page of the PV Scripts tool allows you to configure one or more commands together with a description. The description will be displayed in the context menu, and the command will be invoked.

Examples:

DescriptionExternal Probe
Command/usr/local/bin/probe
will display a new entry "External Probe" in the Process Variable context menu. When invoked on a PV called "some_pv", it will launch the command /usr/local/bin/probe some_pv