Measurement-computing Serial488/4 Manuel d'utilisateur Page 69

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 91
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 68
Section 3 Command Descriptions
3.30
Memory Query Z?
The Memory Query command returns the number of characters w hich may be
written to the serial ports w ithout causing a 'low memory' condition. This command
may be used to for determining how many more characters can be safely written to the
Serial488/4 before handshaking will attempt to stop serial input data because of a 'low
memory' condition.
Z?
Return the number of characters which may be written to the serial ports
Example 1: Find the amount of free memory remaining in the Serial488/4 using dual
primary addressing mode.
PRINT#1,"OUTPUT08;Z?" request amount of free memory
PRINT#1,"ENTER08"
INPUT#2,A$ read the response
PRINT A$
display shows
Z23456
Example 2: Find the amount of free memory remaining in the Serial488/4 using
secondary addressing mode.
PRINT#1,"OUTPUT0800;Z?"
request amount of free memory
PRINT#1,"ENTER0800"
INPUT#2,A$ read the response
PRINT A$
display shows
Z23456
Vue de la page 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 90 91

Commentaires sur ces manuels

Pas de commentaire