Measurement-computing Analyzer488 Manual do Utilizador Página 232

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 281
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 231
Section 6 Instrument Simulator
6.22
Serial Poll Response Sn
The Serial Poll Response command,
Sn
, is used to set the eight-bit serial poll
register to any value from 0 to 255. The value in the serial poll register will be returned
when the IEEE controller issues a serial poll command (SPOLL) on the bus. All data
sent to the serial poll register replaces any previous register data. If the seventh data
line is set true (x1xxxxxx), the Analyzer488 will assert the Service Request (SRQ) bus
line. After the Analyzer488 is serial polled, bit 7 of the serial poll response register
will be cleared.
SYNTAX:
S0
Clear the serial poll register (default)
Sn
Set the serial poll register to
n
.
n
= 0 to 255
(new data replaces any previous data)
S?
Returns current Serial Poll register contents
EXAMPLES:
PRINT#1,"OUTPUT10;S65X"
set the serial poll register to 65, the
Analyzer488 will generate an SRQ
PRINT#1,"SPOLL10"
serial poll the Analyzer488
INPUT#2,C$
PRINT C$ display shows 65
PRINT#1,"SPOLL10"
serial poll the Analyzer488 again
INPUT#2,C$
PRINT C$ display shows 1 since the
Analyzer488 was Serial Polled
above which cleared bit 7
Vista de página 231
1 2 ... 227 228 229 230 231 232 233 234 235 236 237 ... 280 281

Comentários a estes Manuais

Sem comentários