GainSeeker converts three backslashes ( \\\ ) to two ( \\ ) for literal (UNC) filename parameters (for example: \\\hsdc01xz\data\xfer\mtc.htm). If you were to instead use two backslashes as in this example, \\hsdc01xz\data\xfer\mtc.htm , it results in a filename of \hsdc01xz\data\xfer\mtc.htm , which is invalid as a UNC. This is because the double backslash is considered an escape sequence, and the system auto-converts it to a single backslash.
However, if the filename parameter is a variable (for example: MySvar "Path"), use should only use two backslashes. Using three slashes in this event causes an error.
If you are upgrading from GainSeeker version 8.0 or earlier and using UNC paths, you must update your templates to reflect this.
Syntax |
Example |
Description/Remarks |
||||||||||||||||||||||||||||||||||||||
SEND_TO |
SEND_TO "MINITAB", "", 1, "ROW, DT, D, RTF" When the template is closed, this formula automatically sends to MINITAB all of the retrieved data for all template rows configured with the SEND_TO command. The columns that will appear in MINITAB for this template row are "row", "date/time", "data", and "real-time failure". The text file generated by this command is stored in a temporary folder on your computer.
SEND_TO "FILE", "F:\ Results.txt", 18, CSTR CPK As soon as this command is encountered, the template asks the user whether to send the data to the file. If the user clicks Yes, it creates (or overwrites) the text file "F:\ Results.txt". This command sets the contents of this file to the Cpk value which is calculated from all of the retrieved data for this template row. |
This command configures the data entry session to send the retrieved data for this row of the template to the program or file format that you specify. To send retrieved data for multiple rows of the template, execute a SEND_TO command on each row you want to send. Each row can be set with different command parameters ("program", "filename", etc.) if desired. The "program" parameter determines which application or file format to which the data will be sent. Valid settings include:
The "filename" parameter identifies the name and location of the file to be created. Valid settings include:
To set the options parameter, add together the numbers that correspond to your chosen settings: 0 : The default behavior for the command is:
1 : Do not ask the user before sending data 2 : Data send is initiated when this command is encountered (not when the template closes) 4 : Send data only for the current row of the template. Do not send data for other template rows where a SEND_TO command has been executed. 16 : This option applies only when the "program" parameter is FILE. Set the options parameter to the sum of the settings you choose. For example, an options parameter of 3 (setting 1 + setting 2) will not ask the user before sending data, and it will send the data as soon as the command is encountered. The "info" parameter determines which values are sent to the program or file.
Note: When a new data entry session is opened (e.g., Quick Start, Template, Planned Session or Stored Session), the SEND_TO command is turned off and all of these parameters are returned to their default state. |