Digi-Frame DF-1044r Manual de usuario Pagina 421

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 829
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 420
Remote Control
R&S
®
RTO
405User Manual 1316.0827.02 ─ 06
4. Wait for a service request
The service request indicates that the overlapped command has finished.
*OPC? with a service request
1. Set bit no. 4 in the SRE: *SRE 16 to enable MAV service request.
2. Send the overlapped command with *OPC?
3. Wait for a service request
The service request indicates that the overlapped command has finished.
Event Status Register (ESE)
1. Set the OPC mask bit (bit no. 0) in the ESE: *ESE 1
2. Send the overlapped command without *OPC, *OPC? or *WAI
3. Poll the operation complete state periodically (by means of a timer) using the
sequence: *OPC; *ESR?
A return value (LSB) of 1 indicates that the overlapped command has finished.
*OPC? with short timeout
1. Send the overlapped command without *OPC, *OPC? or *WAI
2. Poll the operation complete state periodically (by means of a timer) using the
sequence: <short timeout>; *OPC?
3. A return value (LSB) of 1 indicates that the overlapped command has finished. In
case of a timeout, the operation is ongoing.
4. Reset timeout to former value
5. Clear the error queue with SYStem:ERRor? to remove the "-410, Query interrupted"
entries.
Using several threads in the controller application
As an alternative, provided the programming environment of the controller application
supports threads, separate threads can be used for the application GUI and for controlling
the instrument(s) via SCPI.
A thread waiting for a *OPC? thus will not block the GUI or the communication with other
instruments.
16.1.6 Status Reporting System
The status reporting system stores all information on the current operating state of the
instrument, and on errors which have occurred. This information is stored in the status
registers and in the error queue. Both can be queried via GPIB bus or LAN interface
(STATus... commands).
Basics
Vista de pagina 420
1 2 ... 416 417 418 419 420 421 422 423 424 425 426 ... 828 829

Comentarios a estos manuales

Sin comentarios