User's Manual
Table Of Contents
- C-Series User Guide
- Safety information
- Regulatory compliance
- Overview
- Software installation
- Typical workflows
- Startup and shutdown
- Installing system security updates
- Managing the 3M™ SelfCheck™ System
- Home page
- Basic administration
- Advanced administration
- General maintenance
- Solving problems
- Obtaining service and supplies
- Appendix A: Email notification messages
⎟ 39
To edit a line of script
On the Send/Expect Scripts page, click the Edit icon (
) for the line
you want to edit, and then follow steps
2 through 8 in the preceding
procedure.
To delete a line from the script
On the Send/Expect Scripts page, click the Delete icon (
) for the line
you want to delete, and then click Save Changes.
Developing a script
All characters in the send/expects entries are case-sensitive and
punctuation-sensitive and must have the correct number of spaces.
Expect strings
The characters in the expect string must exactly match the expected string of
characters transmitted by the host to the SelfCheck system. Only when
received character strings match expected character strings can the
SelfCheck system send its responses.
For example, if the character string sent by the host computer is Host
System Login:, you must enter this string in the Expect string box exactly
as received.
You can also use partial expect strings, as long as the partial expect string
exactly matches the last part of the received string and ends with the last
character of the received string. For example, if the received string is Host
System Login:, then System Login: and Login: might also work as
expect strings. The SelfCheck system ignores characters in the received
string that precede those in the expect string.
Send strings
The characters in the send string must exactly match what the host requires.
The first send string normally contains a carriage return or new line character.
This is sent to let the host computer know the SelfCheck system is trying to
connect to it.
You must manually enter this carriage return or new line that tells the host
you are trying to log on. In addition, each send line needs either a carriage
return or a new line at the end of it to tell the host that the line is complete.
The following characters represent carriage returns and new lines in scripts:
\r carriage return
\n new line (typically used when communicating with a Unix system)
\t tab
Timeouts
A timeout in seconds should be added for each line. Timeouts define how
long the SelfCheck system computer waits for a reply from the host computer
before it returns an error message.