HP_ps

Purpose:

Communicate with a Hewlett Packard programmable power supply.

Enter:

HP_ps <voltage_limit> <current_limit> &

Where:

voltage_limit

Specify the initial voltage limit to set before any other commands are accepted.

current_limit

Specify the initial current limit to set before any other commands are accepted.

Example:

HP_ps 14 20 &
Launch the program and set voltage limit to 14.0 volts and current limit to 20 amps,

Notes:

Below is a summary of commands which can be sent to the device, what they return and the variables associated with each field.

Command line examples:

HP_set <action> [value] &

HP_set v 12 – set voltage level to 12.0 volts
value 12.0 stored in “HP_voltage_set”

HP_set vover 20 – set voltage limit to 20.0 volts
value 20.0 stored in “HP_set_overvolt”

HP_set maxi 30 – set current limit to 30.0 amps
value 30.0 stored in “HP_set_max_i”

HP_set read_vstpt – read voltage setpoint
prints value and stores in “HP_read_set_v”

HP_set read_vover – read voltage limit
prints value and stores in “HP_read_over_v”

HP_set read_maxi – read current limit
prints value and stores in “HP_read_max_i”

HP_set reset – reset PS to default values

HP_set enable – enable output
stores value in “HP_outp”

HP_set disable – disable output
stores value in “HP_outp”

HP_set read_enable – read the enable/disable state
prints value and stores value in “HP_outp”

See Also: