Gx1164SetDoubleChannelResistance

Purpose

Sets the double channel resistance.

Syntax

Gx1164SetDoubleChannelResistance (nHandle, nChannel, dValue, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX1164 board.
nChannel
SHORT
Channel number: 1-8.
dValue
DOUBLE
Resistance value. See comments.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The following table describes the rage and resolution for each of the available double channels:

Model
Channel
Range(Ohm)
Resolution(Ohm)
GX1164
1 / 2
1W-64KW
1W
3 / 4
1W-64KW
1W
5 / 6
1W-64KW
1W
7 / 8
1W-64KW
1W
GX1642
1 / 2
2W-128KW
2W
3 / 4
2W-128KW
2W
5 / 6
2W-128KW
2W
7 / 8
2W-128KW
2W
GX1164-4
1 / 2
4W-256KW
4W
3 / 4
4W-256KW
4W
5 / 6
4W-256KW
4W
7 / 8
4W-256KW
4W
GX1164-8
1 / 2
8W-512KW
8W
3 / 4
8W-512KW
8W
5 / 6
8W-512KW
8W
7 / 8
8W-512KW
8W

*Passing 1 or 2 to the nChannel parameter is the same.

 

Use the Gx1164GetDoubleChannelResistance to determine the actual value set. When double channel resistance is used, intermediate pins are still connected. For example when passing nChannel as 1 or 2 pins 15 and 3 are still connected to the resistor.

Example

The following example sets channel 1 / 2 to 1271 Ω

 

Gx1164SetDoubleResistance(nHandle, 3, 1271.0, &nStatus)

 

See Also

Gx1164GetDoubleChannelResistance, Gx1164SetSingleChannelResistance