2 script form’s log file selection frame, 3 script form’s execution control frame – YSI Data Scout Advanced User Manual

Page 69

Advertising
background image

YSI Incorporated

Data Scout Advanced

65

In the example above, there are two existing script (.cmd) files shown in the larger white directory box. Click any file name to
highlight it, and then press the Open button to select it. You can also enter a new script file name (e.g., new.cmd) directly in the File
name: box below the directory box, and then click Open. The new file need not exist. Either way, the dialogue box will close and the
full path name of the file selected (or entered) will appear in the File Name: text box on the form. You have now selected a file name
for Script execution (existing or not).

To avoid using the Browse button in the selection frame, click the light green text box to enter the full path name of any .cmd file that
exists (or not) anywhere on a fixed or removable drive on the PC. If it does not yet exist, enter the full path name of where you want it
to exist.

To create a file, or to view an existing file’s contents or make editing changes to it, click the View/Edit button just above the Browse
button. This will activate the configurable Data Scout Advanced Text Editor. See chapter 2 for information on how to configure a
favorite text editor as the Data Scout Advanced Text Editor.

Once the selected Script file exists (and its name also appears in the light green text box), proceed to the next phase which is the
selection of a Log file name.

5.1.2 SCRIPT FORM’S LOG FILE SELECTION FRAME

The second frame of controls is labeled Log File to Write: and its File Name: text box is initially specified automatically. A default Log
file name is automatically chosen based on the “root” name of the Command file chosen.

This frame also contains a View/Edit button and a Browse button. In fact, using this frame works exactly like the previous frame
described in section 5.1.1. Use the default name provided, enter any other name chosen by navigation methods, or enter its full path
name directly in the light green text box. The only disadvantage of using the automatic name is that if you execute the same script
twice, the Log file for the first script will be overwritten. Therefore, use the Browse button and its dialog window to rename the Log file
or to make its name unique for each command file execution. The user could also use the dialog window (or the Archive function in
main Data Scout Advanced File menu) to copy or move a previous completed Log file to another subfolder, thus a new one will be
created when executing the script.

To not receive a log of executed command responses, uncheck the normally-checked option titled Write Log. This can be useful if
there is a time sensitive script that needs to execute with minimum overhead (e.g., for looking at command timing on an oscilloscope).

5.1.3 SCRIPT FORM’S EXECUTION CONTROL FRAME

Once a Script (.cmd) file and a Log (.log) file have been named in the previous two frames (and the .cmd file actually exists) you are
ready to execute the script using the third frame show below:

Figure 5.3















The above window has five option check boxes, most checked by default. These options will be discussed below. The main status box
(pale yellow above) indicates whether or not a script is ready to execute. The other two (white) status boxes show the progress of the

Advertising