Additional MP/SDK Automation Options
The Automation tab of the User Options offers a number of additional script (MP/SDK) oriented controls which include:
-
MP Dialog Interaction. This option can also be turned on and off through the use of the "Set Interaction Level" command and controls how much interaction dialogs opened from MP offer.
-
MP Auto-run. This option controls if a script is run automatically when it is double-clicked from the tree, run from the MP editor, or drag-dropped into the graphics. If disabled, it will not run automatically but only open in the MP bar and wait to be triggered before running.
-
MP Debugging. The MP Watcher is a tool to display the values processed in each argument of an MP as it is run. It can be quite helpful in understanding if a script is running correctly. When enabled this option automatically opens the MP Watcher when a break point is hit in a script.
-
Quick Measurement Plans. The total number of Quick MPs that can defined on the Scripting tab of the ribbon can be adjusted here. Enter a number between 10 and 100.
-
NRK SA OPC DA Server. This option enables the connection to a pre-configured OPC server. For more information refer to the SA OPC Server chapter.
For more information on MP operations refer to the Scripting chapter.