29.07.2013 Views

Operator Terminal System Manual - 11276916.pdf

Operator Terminal System Manual - 11276916.pdf

Operator Terminal System Manual - 11276916.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Network Functions and Communication<br />

9 Network communication<br />

Variables Description<br />

% USER NAME Comparison with the user names defined for existing accounts.<br />

% PASSWORD Comparison with the passwords defined for existing accounts.<br />

Example 1:<br />

WAIT: login:, 10<br />

SEND: KALLE<br />

WAIT: password:, 10<br />

SEND: HELLO<br />

Example 2:<br />

The following script will send the text "CLIENT". If the sending process fails, a Send<br />

Failed" message will appear. If sending was successful, wait for the text<br />

"CLIENTSERVER". If this text does not appear within 10 seconds, a "Receive Failed"<br />

message will be displayed.<br />

SEND: CLIENT<br />

ONERR: Send Failure<br />

WAIT: CLIENT SERVER, 10<br />

ONERR: Receive Failure<br />

END:<br />

LABEL: Send Failure<br />

MESSAGE: Send Failed<br />

END:<br />

LABEL: Receive Failure<br />

MESSAGE: Receive Failed<br />

END:<br />

Example 3:<br />

The following script will send the text "login". It waits for the remote end to send a user<br />

name. The name is then verified whether it corresponds with one of the user names for<br />

defined accounts. After verification, the script continues to run and sends the "password".<br />

It waits for the remote end to send a password. The received value is compared<br />

with the password in the account for which the user name has already been verified.<br />

Usually, no script needs to be executed. Use the following script if your terminal is<br />

connected to a Windows NT server:<br />

SEND: login:<br />

WAIT: % USER NAME<br />

SEND: password:<br />

WAIT:%PASSWORD<br />

234 <strong>System</strong> <strong>Manual</strong> – DOP11A <strong>Operator</strong> <strong>Terminal</strong>s

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!