GxSmuSaveSettings

Applies To

GX3104, GX3116e

Purpose

Saves all the channels’ settings to the on-board EEPROM.

Syntax

GxSmuSaveSettings (nHandle, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX3104 or GX3116e board.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The function saves all the channels’ settings to the on-board EEPROM, the user can recall those settings at any time by calling the GxSmuRecallSettings() API. Saved settings does not save the channels’ outputs states.

Note: Recall settings sets all channels’ outputs to OFF.

Example

The following example saves all the settings to the initialized on-board EEPROM, and recall them:

 

SHORT nStatus;

 

GxSmuSaveSettings (nHandle, &nStatus);

GxSmuRecallSettings (nHandle, &nStatus);

 

See Also

GxSmuSourceSetCurrent, GxSmuSourceSetCurrentLimit, GxSmuSourceSetCurrentClamps, GxSmuSourceSetCurrentRange, GxSmuSourceSetMode, GxSmuSourceSetOutputState, GxSmuSourceSetRangeMode, GxSmuSourceSetVoltage, GxSmuSourceSetVoltageLimit, GxSmuGetErrorString