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

Language

Sets the startup displayed language

Device

Select the device to connect to

ShowMode

Select the Terminal display mode

Show

Display text in Terminal display

Clear

Clear the Terminal display

Refresh

Refresh the device list

ResizeApp

Resize the Terminal application

Control of Auto Control script

Command

Description

LoopStart

Indicates the beginning of a loop 

LoopEnd

Indicates the end of a loop 

Wait

Pause Auto Control Script 

Exit

Stops Auto Control script and closes Terminal Program

ESCExit

Stops Auto Control script and closes Terminal Program when ESC pressed

ESCStop

Stops Auto Control script when ESC pressed

Erase

Erase the Auto Control script file 

Runs ASCII programs

Command

Description

RunProg

Runs the selected ASCII program

Stores results and create Pass/Fail logs based on ASCII programs

Command

Description

StoreResults

Stores Terminal display to buffer

ResetResults

Clears the buffer

StoreResultsCLR

Stores Terminal display to buffer, then clears the Terminal display

SaveResults

Saves buffer to file (Overwrite allowed)

SaveResultsAuto

Saves buffer to file, auto numbering to prevent overwrite. Includes Pass/Fail results

SaveResultsAutoESC

Saves buffer to file, auto numbering to prevent overwrite when ESC pressed. Includes Pass/Fail results

DefineCSV

Defines fields/values saved to CSV Pass/Fail log

UpdateCSV

Updates CSV data buffer

TrackCSVResults

Turn On/Off CSV Pass/Fail tracking

ResetCSVResults

Reset CSV Pass/Fail tracking results

PassFailMsg

Popup window showing Pass/Fail status

ShowFailCT

Shows current count of Fails

FailClear

Clear all Fail counts to 0

LoopOnFail

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

UserInput

Shows dialog-box for user input to be displayed in Terminal display (Not stored)

VarInput

Shows dialog-box for variable input stored for later use. 

UserCheck

Shows dialog-box with two buttons, PASS and FAIL and a prompt for the user

ShowVar

Displays variable in Terminal display

Const

Defines a Constant 

ShowC

Displays a Constant 

ShowDate

Displays the current date: month, day, year

ShowMDY

Displays the current date  M/D/Y

ShowTime

Displays the current time  H:M AM/PM

ShowMTime

Displays the current time in military time format  H:M

CMDReply

Stores reply from requested ASCII commands


Main Screen