GX3104, GX3116e
Resets the specified array of channels to default settings.
GxSmuSourceResetChannelArray (nHandle, nChannelListArraySize, panChannelListArray, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX3104 or GX3116e board. |
nChannelListArraySize |
SHORT |
Specifies the number of channels in panChannelListArray. If nChannelListArraySize=-1, then panChannelListArray parameter is ignored (can be set to NULL) and settings will be applied to all the channels. |
panChannelListArray |
PSHORT |
Array specifying the channels numbers to be set:GX3104: 0 (GX3104_CHANNEL_1) to 3 GX3104_CHANNEL_4.GX3116e: 0 (GX3116_CHANNEL_1) to 15 GX3116_CHANNEL_16. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The function the specified channel number as follows:
GX3104:
Output states disable.
Operating mode constant voltage.
Current range mode Automatic.
Current range 25mA.
Voltage 0.0V.
Current limits 0.0mA.
Setting mode Immediate
Measurement sense Remote
GX3116e:
Output states disable.
Operating mode constant voltage.
Current range mode Automatic.
Currents range 25.6 mA.
Voltage 0.0V.
Currents 0.0mA.
Measurement sense Local
The following example resets channel 0 and 2:
SHORT nHandle, nStatus;
SHORT anChannelListArray [2];
// Fill channel array
anChannelListArray [0] = 0;
anChannelListArray [1] = 2;
GxSmuResetChannelArray (nHandle, 2, anChannelListArray, &nStatus);
GxSmuSourceSetCurrent, GxSmuSourceSetCurrentLimit, GxSmuSourceSetCurrentClamps, GxSmuSourceSetCurrentRange, GxSmuSourceSetMode, GxSmuSourceSetOutputState, GxSmuSourceSetRangeMode, GxSmuSourceSetVoltage, GxSmuSourceSetVoltageLimit, GxSmuGetErrorString