Auto Control
The Auto Control feature is a function that defines how the Nippon Pulse Terminal Program acts when started. There are two ways to execute this script.
1) The script defined by "autocontrol.txt" will automatically run every time you run the Nippon Pulse Terminal Program. The Auto Control feature is activated when the file "autocontrol.txt" is present in the […/AppPrograms\AutoControl] sub-folder.
2) The script will run when called by a command line parameter. The Auto Control feature is activated when the file "autocontrol_#.txt" is present in the […/AppPrograms\AutoControl] sub-folder, and the parameter /A# is passed by the command line (where # is a number between 1 and 999).
Examples:
- terminal.exe /A1 will run the script autocontrol_1.txt
- terminal.exe /A999 will run the script autocontrol_999.txt
This feature is very powerful, with a script format that is very simple and a robust set of commands that allows the following key functions to be done automatically:
Setting and controlling the Nippon Pulse Terminal Program startup defaults.
Command |
Description |
Sets the startup displayed language |
|
Select the device to connect to |
|
Select the Terminal display mode |
|
Display text in Terminal display |
|
Clear the Terminal display |
|
Refresh the device list |
|
Resize the Terminal application |
Control of Auto Control script
Command |
Description |
Indicates the beginning of a loop |
|
Indicates the end of a loop |
|
Pause Auto Control Script |
|
Stops Auto Control script and closes Terminal Program |
|
Stops Auto Control script and closes Terminal Program when ESC pressed |
|
Stops Auto Control script when ESC pressed |
|
Erase the Auto Control script file |
Runs ASCII programs
Command |
Description |
Runs the selected ASCII program |
Stores results and create Pass/Fail logs based on ASCII programs
Command |
Description |
Stores Terminal display to buffer |
|
Clears the buffer |
|
Stores Terminal display to buffer, then clears the Terminal display |
|
Saves buffer to file (Overwrite allowed) |
|
Saves buffer to file, auto numbering to prevent overwrite. Includes Pass/Fail results |
|
Saves buffer to file, auto numbering to prevent overwrite when ESC pressed. Includes Pass/Fail results |
|
Defines fields/values saved to CSV Pass/Fail log |
|
Updates CSV data buffer |
|
Turn On/Off CSV Pass/Fail tracking |
|
Reset CSV Pass/Fail tracking results |
|
Popup window showing Pass/Fail status |
|
Shows current count of Fails |
|
Clear all Fail counts to 0 |
|
This command will iterate a loop in an AutoControl script if the current Fail count is >= 1 |
Accept user inputs, Store and display Variables, Constants, Date, Time, and ASCII reply
Command |
Description |
Shows dialog-box for user input to be displayed in Terminal display (Not stored) |
|
Shows dialog-box for variable input stored for later use. |
|
Shows dialog-box with two buttons, PASS and FAIL and a prompt for the user |
|
Displays variable in Terminal display |
|
Defines a Constant |
|
Displays a Constant |
|
Displays the current date: month, day, year |
|
Displays the current date M/D/Y |
|
Displays the current time H:M AM/PM |
|
Displays the current time in military time format H:M |
|
Stores reply from requested ASCII commands |