GxSmuSourceResetChannel

Applies To

GX3104, GX3116e

Purpose

Resets the specified channel to its default settings.

Syntax

GxSmuSourceResetChannel (nHandle, nChannel, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX3104 or GX3116e board.
nChannel
SHORT
GX3104: Specifies the channel number (0-3): GX3104_CHANNEL_1 to GX3104_CHANNEL_4
GX3116e: Specifies channel number (0-15) is GX3116_CHANNEL_1 to GX3116_CHANNEL_16.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.  

Comments

The function the specified channel number as follows:

GX3104:

GX3116e:

Example

The following example resets channel 1:

 

GxSmuResetChannel (nHandle, GX3104_CHANNEL_1, &nStatus);

 

See Also

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