Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 113

Multimètre

Publicité

Configuring for Measurements
3
50 OUTPUT 722;"NRDGS 5,AUTO"
60 OUTPUT 722;"PAUSE"
70 OUTPUT 722;"TRIG SGL"
80 OUTPUT 722;"SUBEND"
90 END
When you call the above subprogram, the commands will be executed up to the
PAUSE command and then program execution ceases. To resume subprogram
execution, send:
OUTPUT 722;"CONT"
Subprogram execution can also be resumed by sending the GPIB Group Execute
Trigger (this does not in itself trigger a reading: it merely resumes subprogram
operation).
Nested subprograms
You can use a subprogram to call another subprogram (nested subprograms). For
example, when the following subprogram is called (CALL 1 command), it takes 10
DC voltage readings and then calls the previously stored subprogram DCCUR1.
10 OUTPUT 722; "SUB 1"
20 OUTPUT 722;"TRIG HOLD"
30 OUTPUT 722;"NRDGS 10,AUTO"
40 OUTPUT 722;"DCV 10"
50 OUTPUT 722;"TRIG SGL"
60 OUTPUT 722; "CALL DCCUR1"
70 OUTPUT 722; "SUBEND"
80 END
A subprogram containing a PAUSE command cannot be called from another
subprogram. The multimeter allows you to nest up to 10 subprograms; that is
having subprogram 1 call subprogram 2 which calls 3, which calls 4 ... which calls
subprogram 10.
Keysight 3458A User's Guide
113

Publicité

loading