wbUTIL - Commands Executed from a File

Commands [. . . from file] : Executes commands from a file.

Selecting the [. . . from file] button in the terminal screen, or selecting the menu item ToolsCommands from a file, starts the Command Processor.
  • Command Interpreter - A file is read (use the . . .from file button) and the commands specified within are automatically executed. This is useful for longer and commonly used sequences of commands or for performing complex configuration.
  • Emulator - (use the EMUL button) is used to simulate the output from a WBo2 controller and is primarily to test different display configurations and for driving logging software.

Command Processor

The command processor takes the concept of issuing single commands to an attached The Command processor executes a series of commands from a file. Display or controller configuration can be reduced to a series of text sequences (commands) that can be saved to a text file. a simple selection and execution of a file. The default extension for command configuration files is CCF although they are just ASCII text files that can be edited with a text editor (eg. using NotePad or similar).

Basic operation is to select a file using either the [... File] button or use menu File → Open .... This pops up a standard file dialogue box where a CCF file is [Open]ed. The file is then processed by pressing the [Execute] button. The file may be viewed using the [View Source] button. Note that the View Source button changes to [Abort] during CCF execution. The Abort button can stop CCF file execution (eg. if comms is lost with the controller). The [Exit] button does what you expect, and closes the Command Processor window (this can also be done by pressing the top right close window button) or selecting the File -> Exit menu option, or even by pressing Ctrl+X on the keyboard! In fact, all functions shown on the buttons can also be performed by selecting a File function (ie. File -> Open, Execute, View Source, or Exit).

The Options menu item (as shown) has functions whose effect should be self evident.

The Recent files list is updated each time a different file is opened. Drag and Drop is also supported and a CCF file can be dragged (actually it will be copied) into the filename area or the data area where it will be opened and executed immediately.

Each line of the CCF file is a single command that can otherwise be entered at the Terminal tab's Cmd: prompt (see previous section). Comment lines begin with a semi-colon (;) and extended commands begin with a hash symbol (#).

Command details :

Extended Command details : (TBD!)