Measurement-computing Micro 488/EX rev.2.1 Manuel d'utilisateur Page 134

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 218
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 133
Section 5 Command Descriptions
5.64
READ LOG
The
READ
LOG
command is used to request a copy of the data contained within
the
LOG
Buffer to be sent out the serial port. The logged data is not deleted when read.
To delete the
LOG
Buffer, the
ERASE
LOG
or
FACTORY
commands are used.
The number of characters contained within the
LOG
Buffer can be determined with
the
LOG
MEMORY
command.
READ
ing the
LOG
buffer during macro execution will
generate a '
LOGGING
ERROR
'
SYNTAX READ
LOG
RESPONSE Data contained within the
LOG
Buffer.
MODE Any
BUS STATES None
EXAMPLES
PRINT#1,"MACRO 1"
Define a macro
PRINT#1,"HELLO"
PRINT#1,"ENDM"
PRINT#1,"LOG ON"
Enable logging
PRINT#1,"DOMACRO 1"
Execute the macro
The response is logged
PRINT#1,"LOG MEMORY"
INPUT #1,L
Read the memory used
PRINT L
Printed to the screen
54
Number of bytes in buffer
PRINT#1,"READ LOG"
Read the contents
INPUT #1,L$
Read the data
PRINT L$
Printed to the screen
Micro488/EX
Revision
N.N
Copyright
(C)
1988
IOtech
PRINT#1,"ERASE LOG" Erase the log buffer
PRINT#1,"LOG MEMORY"
INPUT #1,L
Read the memory used
PRINT L
Printed to the screen
0
0 bytes in buffer
Vue de la page 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 217 218

Commentaires sur ces manuels

Pas de commentaire