Visara Master Console Center Scripting Guide Instrukcja Użytkownika Strona 228

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 262
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 227
Chapter 6 Obsolete Material
Scripting Guide 228
Example:
//=======================================================
// Example 1
//=======================================================
QUEUE( ON) //turn on queuing
*READ:
READMSG($Msg, 1800, *TIMEOUT)
//check first word for IO err
IF $MSG[ 1] == “IOS000I”
IOERROR() //call IO err handling script
ENDIF
GOTO *READ //repeat process continually
*TIMEOUT:
LOG( FLT, “No messages in 3 minutes!”)
GOTO *READ
//=======================================================
// Example 2
//=======================================================
%PortPrnSys5 := PORT( PRN, “SYS5”)
QUEUE( ON, %QueueSys5)
READMSG( $Msg, 30, *TIMEOUT, %PortPrnSys5)
See Also:
GOTO, SCANB, SCANP
Przeglądanie stron 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 261 262

Komentarze do niniejszej Instrukcji

Brak uwag