GX3116e
Return the specified channel’s voltage limits high and low settings when in constant current mode.
GxSmuSourceGetVoltageClamps (nHandle, nChannel, pdVoltageClampHigh, pdVoltageClampLow, 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 |
pdVoltageClampHigh |
PDOUBLE |
Returns the specified channel’s voltage limit high settings when in constant current mode. Voltage range is -2.0V to +10.5V. |
pdVoltageClampLow |
PDOUBLE |
Returns 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. |
Return 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 1to 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, GxSmuSourceSetCurrentLimit, GxSmuSourceSetCurrentClamps, GxSmuSourceSetCurrentRange, GxSmuSourceSetMode, GxSmuSourceSetOutputState, GxSmuSourceSetRangeMode, GxSmuSourceSetVoltage, GxSmuSourceSetVoltageLimit, GxSmuGetErrorString