AGFA d-lab.3 Digital Compact Lab

AGFA d-lab.3 Digital Compact Lab AGFA d-lab.3 Digital Compact Lab

saal.group.com
from saal.group.com More from this publisher
18.06.2014 Views

Repair Diagnosis / Troubleshooting Example of a Script # # timeout for scriptfile # #timeout 50000 # send command to IP # cmd IP IASCAN3072204801 # # wait max. 1 second for the answer and extract the last 8 # characters in the variable $3 # answer IASCAN$3!8! 1000 # # shows the last 8 characters # set $2 = "the last 8 characters of the answer: " + $3 set $2 = $2 + ". Is this answer ok ?" #msgbox $2 set $2 = "Please enter a two-digit number:" ask_int $2 $2 1 1 4 msgbox $2 cmd IP IASCAN30722048$2!2! calc $1 = 0 loop 10 # loopcounter calc $1 = $1 + 1 # send command to IP # cmd IP IASCAN3072204801 # # wait max. 1 second for the answer and extract the last 8 # characters in the variable $3 3000 # answer IASCAN$3!8! AGFA d-lab.3 2001-01-02 /PN 9009 3.13

Diagnosis / Troubleshooting Repair # build trace string set $2 = "loop " + $1 + "answer: " + $3 # write trace message trace_var $2 # wait 3 seconds wait 3000 end_loop set $4 = "release frame, command: IFSCAN " + $3!8 trace_var $4 cmd IP IFSCAN$3!8! wait 3000 3.14 2001-01-02 /PN 9009 AGFA d-lab.3

Repair<br />

Diagnosis / Troubleshooting<br />

Example of a Script<br />

#<br />

# timeout for scriptfile<br />

#<br />

#timeout 50000<br />

# send command to IP<br />

#<br />

cmd IP IASCAN3072204801<br />

#<br />

# wait max. 1 second for the answer and extract the last 8<br />

# characters in the variable $3<br />

#<br />

answer IASCAN$3!8! 1000<br />

#<br />

# shows the last 8 characters<br />

#<br />

set $2 = "the last 8 characters of the answer: " + $3<br />

set $2 = $2 + ". Is this answer ok ?"<br />

#msgbox $2<br />

set $2 = "Please enter a two-digit number:"<br />

ask_int $2 $2 1 1 4<br />

msgbox $2<br />

cmd IP IASCAN30722048$2!2!<br />

calc $1 = 0<br />

loop 10<br />

# loopcounter<br />

calc $1 = $1 + 1<br />

# send command to IP<br />

#<br />

cmd IP IASCAN3072204801<br />

#<br />

# wait max. 1 second for the answer and extract the last 8<br />

# characters in the variable $3 3000<br />

#<br />

answer IASCAN$3!8!<br />

<strong>AGFA</strong> d-<strong>lab.3</strong> 2001-01-02 /PN 9009 3.13

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

Saved successfully!

Ooh no, something went wrong!