Gx1164SetSingleChannelResistance

Purpose

Sets the single channel resistance.

Syntax

Gx1164SetSingleChannelResistance (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, 3, 5, 7
1W-256KW
1W
2, 4, 6, 8
256W-64KW
1W
GX1642
1, 3, 5, 7
2W-512KW
2W
2, 4, 6, 8
512W-128KW
2W
GX1164-4
1, 3, 5, 7
4W-1024KW
4W
2, 4, 6, 8
1024W-256KW
4W
GX1164-8
1, 3, 5, 7
8W-2048KW
8W
2, 4, 6, 8
2048W-512KW
8W

 

Use the Gx1164GetSingleChannelResistance to determine the actual value set.

Example

The following example sets channel 1 / 2 to 1271 Ω

 

SetDoubleResistance(nHandle, 3, 1271.0, &nStatus)

 

See Also

Gx1164GetSingleChannelResistance, Gx1164SetDoubleChannelResistance