GX3116e
Sets the specified channel’s voltage limits high and low settings when in constant current mode.
GxSmuSourceSetVoltageClamps (nHandle, nChannel, dVoltageClampHigh, dVoltageClampLow, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX3116e board. |
nChannel |
SHORT |
Specifies the channel number (0-15): GX3116_CHANNEL_1 - GX3116_CHANNEL_16 |
dVoltageClampHigh |
DOUBLE |
Sets the specified channel’s voltage limit high settings when in constant current mode. Voltage range is -2.0V to +10.5V. |
pdVoltageClampLow |
DOUBLE |
Sets the specified channel’s voltage limit low settings when in constant current mode. Voltage range is -2.0V to +10.5V. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Sets the specified channel’s voltage limits high and low settings when in constant current mode. The voltage range is -2.0V to +10.5V.
The user can call the GxSmuGetStatusRegisterChannel() API at any time, in order to find out if at any time the limits were met.
The following example sets channel 1 to constant current mode, sets the high voltage limit to +10V and the low limit to -1.0Vreturns the settings:
SHORT nStatus;
DOUBLE dVoltageClampHigh, dVoltageClampLow;
GxSmuSourceSetMode (nHandle, GX3116_CHANNEL_1, GXSMU_SOURCE_MODE_CONSTANT_CURRENT, &nStatus);
GxSmuSourceSetCurrentRange (nHandle, GX3116_CHANNEL_1, GX3116_SOURCE_CURRENT_RANGE_512MA, &nStatus);
GxSmuSourceSetVoltageClamps (nHandle, GX3116_CHANNEL_1, 10.0, -1.0,&nStatus);
GxSmuSourceGetVoltageClamps (nHandle, GX3116_CHANNEL_1, &dVoltageClampHigh, &dVoltageClampLow, &nStatus);
GxSmuSourceSetCurrent, GxSmuSourceSetCurrentClamps, GxSmuSourceSetCurrentRange, GxSmuSourceSetMode, GxSmuSourceSetOutputState, GxSmuSourceSetRangeMode, GxSmuSourceSetVoltage, GxSmuSourceSetVoltageLimitsArray, GxSmuGetErrorString