Model 4200A-SCS Prober and External Instrument Control Section 7: Using a Keysight 8110A/8111A Pulse Generator
4200A-913-01 Rev. A December 2020 7-5
HP8110ulib user library
Use the user modules in the HP8110ulib user library to control a Keysight Model 8110A Pulse
Generator. These user modules are summarized in the following table. The table also lists the user
test modules (UTM) created by Keithley Instruments that use the user modules.
Initializes the pulse generator to the default setup.
Sets the output pulse parameters.
Specifies pulse count and trigger start of output.
PguInit8110 user module
This user module initializes the pulse generator to a default setup.
Usage
status = PguInit8110(char *instr_id);
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