Gx6021GetDaisyChainMode

Purpose

Returns the board Daisy Chain connection mode.

Syntax

Gx6021GetDaisyChainMode (nHandle, nChannel, pnMode, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6021 board.
pnMode
PSHORT
Specifies the Daisy Chain mode:
  • 0 = GX6021_DAISY_CHAIN_NONE
  • 1 = GX6021_DAISY_CHAIN_VIA_ FIRST_ GROUP
  • 2 = GX6021_DAISY_CHAIN_VIA_ LAST_ GROUP
  • 3 = GX6021_DAISY_CHAIN_VIA_FIRST_AND_LAST_GROUP
See comments for details.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

Daisy Chain modes:

Example

The following example returns the Daisy Chain mode:

 

SHORT nMode, nStatus;

Gx6021GetDaisyChainMode (nHandle, &nMode, &nStatus);

 

See Also

Gx6021SetDaisyChainMode, Gx6021Open, Gx6021Close, Gx6021SetGroupRelays, Gx6021GetChannel, GxSWGetErrorString