Measurement-computing Analyzer488 Uživatelský manuál Strana 125

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 281
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 124
Section 4 Serial Controller
4.31
RESPONSE Device-dependent data. If
count
is specified, then
count
characters will be returned followed by the serial output terminators.
Otherwise the response ends when the IEEE bus input terminator is
detected. The serial output terminators are then appended to the
returned data.
MODE High Level Controller
BUS STATES ATNUNL,MLA,TAG,*ATN,data,ATN (With
addr
)
*ATN, data, ATN (Without
addr
)
QUERY None
RESPONSE
EXAMPLES
PRINT#1,"ENTER16"
Read data from device
16.
INPUT#1,A$
PRINT#1,"ENTER16"
Read an entire line of
data from
LINE INPUT#1,A$
device 16 even if it contains
commas or other punctuation.
PRINT#1,"ENTER16;CR"
Read data from device 16 until
INPUT#1,A$
CR is encountered.
PRINT#1,"ENTER16 EOI"
Read data until EOI is detected.
INPUT#1,A$
PRINT#1,"ENTER 0702"
Read data from device 7,
INPUT#1,A$
secondary address 2.
PRINT#1,"ENTER #20"
Read 20 more bytes.
A$=INPUT$(20,#1)
PRINT#1,"ENTER ;20"
Read 20 more bytes.
A$=INPUT$(20,#1)
Zobrazit stránku 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 280 281

Komentáře k této Příručce

Žádné komentáře