Agilent Technologies 8935 Series Manual do Utilizador Página 56

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 329
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 55
56 Chapter 2
O:\Manuals\E6380A_Progguid\Book\Measrslt.fm
Methods For Reading Measurement Results
RMB ‘ON TIMEOUT’ Example Program
Comments for Recommended Routine
Table 2-1
Program
Line
Number
Comments
50 Send a Selected Device Clear (SDC) to the Test Set to put
the HP-IB subsystem into a known state. This allows the
control program to regain programmatic control of the
Test Set if it is in an error state when the program begins
to run.
60 Command the Test Set to abort the currently executing
measurement cycle. This will force the Test Set to stop
waiting for any measurement results to be available from
measurements which may be in an invalid state when the
program begins to run.
290 Turn event initiated branches off (except ON END, ON
ERROR and ON TIMEOUT) to ensure that the Measure
function will not be exited until it is finished.
300 Set up a time-out for any I/O activity on the HP-IB. This
will allow the function to recover if the bus hangs for any
reason.
310 Set the triggering mode to single followed by a trigger
immediate command. This ensures that a new
measurement cycle will be started when the TRIG:IMM
command is sent. This sequence, that is: set to single
trigger and then send a trigger command, guarantees that
the measurement result returned to the ENTER
statement will accurately reflect the state of the DUT
when the TRIG:IMM command was sent. The ’IMM’
keyword is optional.
320 Send the query command passed to the Measure function
to the Test Set.
330 Read the measurement result.
340 Set the trigger mode to repetitive retriggering. Setting the
trigger mode to repetitive will be implementation
dependent.
350 Re-enable event initiated branching. If any event initiated
branches were logged while the Measure function was
executing they will be executed when system priority
permits.
360 Exit the Measure function and return the result value.
370 The following lines of code handle the case where the
request for a measurement result has timed out.
Vista de página 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 328 329

Comentários a estes Manuais

Sem comentários