beautypg.com

KEPCO BHK-MG VISA Driver Manual (Both Full and 1/2 Rack) User Manual

Page 4

background image

4

BHK-MG-VISA 010906

Set Trigger Voltage and
Current

KpBhk_SetTrig_Volt_Curr

Sets the trigger voltage and trigger current at the same time

Set Trigger Value

KpBhk_SetTrigValue

Sets the trigger voltage or trigger current level, depending on the switch
position.

Get Trigger Value

KpBhk_GetTrigValue

Gets the trigger voltage or the trigger current level, depending on the
switch position.

Set Overvoltage and
Overcurrent

KpBhk_Set_OVvolt_OVcurr

Sets both the overvoltage and overcurrent values.

Set Protection Delay

KpBhk_setProtDelay

Sets the protection delay: the delay between the moment the output
voltage and current are changed and the moment the overvoltage and
overcurrent protections are enabled.

Get Protection Delay

KpBhk_getProtDelay

Displays the protection delay count for the power supply. A count of 30
represent ~ 1 second. The protection delay is the delay between the
moment the output voltage and current are changed and the moment
the overvoltage and overcurrent protections are enabled.

ACTION/STATUS FUNCTIONS — This class of functions executes commands and queries. It also provides functions which allow
the user to determine the current status of the instrument.

Set Voltage and Current

KpBhk_Set_Volt_Curr

Sets the output voltage and current at the same time.

Set Value

KpBhk_SetValue

Sets the output voltage, the output current, the overvoltage level, or the
overcurrent level of the power supply, depending on the slide selection
position. The values are checked against the maximum acceptable val-
ues for the corresponding power supply.

Get Value

KpBhk_GetValue

Gets the output voltage, the output current, the overvoltage level, or the
overcurrent level of the power supply depending on slide selection
position.

Trigger

KpBhk_Trig

Triggers the instrument once. The output will go to the trigger voltage
and current values.

Measure Output Value

KpBhk_MeasValue

Measures the value of output voltage or current depending on the
switch position.

Get Source Mode

KpBhk_GetSourceMode

Gets the operating mode of the power supply.

Output On/Off

KpBhk_OutputOnOff

Sets the output on or off.

Get Output Status

KpBhk_getOutputState

Returns the output status (on or off).

Get Current Range

KpBhk_getCurrRange

Gets the operating current range of the power supply.

Set Current Range

KpBhk_setCurrRange

Sets the operating current range of the power supply

Abort Measurement

KpBhk_abortMeas

Sends the abort command.

Beep

KpBhk_beep

The selected BHK-MG power supply will emit a beep.

DATA FUNCTIONS — This class of functions transfers data to or from the instrument.

Questionable Data

KpBhk_StatQues

Tests for questionable data, then gets the condition.

Run/Stop LIST Program

KpBhk_Prog

Sends a RUN or STOP LIST program command.

Get Status of LIST Pro-
gram

KpBhk_Prog_Stat

Gets status of program: 0 = stopped, 1 = running

Send Direction of LIST
Program

KpBhk_Prog_Dir

Sends direction to run LIST program (UP or DOWN). Does NOT apply
to 40-step LIST programs available from front panel.

Send Loop Count of
LIST Program

KpBhk_Prog_Count

Sends loop count value - how many times the LIST program will run.
Value of 0 = run continuous. Does NOT apply to 40-step LIST pro-
grams available from front panel.

TABLE 1. BHK-MG VISA DRIVER FUNCTIONS (CONTINUED)

Purpose

Function Name

Description