Model 4200A-SCS Parameter Analyzer Reference Manual
PguInit8110 user module
This user module initializes the pulse generator to a default setup.
Usage
status = PguInit8110(char *instr_id);
status
instr_id
Details
The user module used by the pgu1-init UTM.
The PguInit8110 user module initializes the Keysight 8110A pulse generator as follows:
•
Disables the output of the specified channel.
•
Resets (*RST) to ensure that all errors are cleared.
•
Sets the output polarity to NORMAL.
•
Sets the trigger count to 1.
•
Sets the trigger source to MANUAL.
•
Enables SINGLE PULSE mode.
•
Allows the rise/fall to be independently programmable.
•
Sets the pulse height to 0.2 V and base to 0 V.
•
Sets the rise/fall to 100e-9 s.
•
Sets the width to 300e-9 s.
•
Disables error checking.
Also see
None
4200A-901-01 Rev. C / February 2017
Returned values are placed in the Analyze sheet:
•
0: OK
•
-10000 (INVAL_INST_ID): The specified instrument ID does not exist
•
-10040 (HP8110_NOT_IN_KCON): No PGU was found in the system
configuration
•
-10041 (HP8110_NOT_INITED): The PGU was never initialized
•
-10042 (HP8110_PULSE_ERROR): There was an error during pulsing
•
-10090 (GPIB_ERROR_OCCURRED): A GPIB communications error
occurred
•
-10091 (GPIB_TIMEOUT): A time-out occurred during communications
•
-10100 (INVAL_PARAM): An invalid input parameter is specified
The PGU (pulse generator) instrument ID: PGUX, where X is a number from 1
through 8 (configuration dependent); the PGU instrument ID effectively corresponds
to a single pulse generator channel
Appendix E: Using a Keysight 8110A/8111A Pulse Generator
E-5