Gx6062SetDaisyChainMode

Purpose

Sets the board Daisy Chain connection mode.

Syntax

Gx6062SetDaisyChainMode (nHandle, nMode, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6062 board.
nMode
SHORT
Specifies the Daisy Chain mode:
  • 0 = GX6062_DAISY_CHAIN_NONE
  • 1 = GX6062_DAISY_CHAIN_VIA_ FIRST_ GROUP
  • 2 = GX6062_DAISY_CHAIN_VIA_ LAST_ GROUP
  • 3 = GX6062_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 set the Daisy Chain mode to GX6062_DAISY_CHAIN_VIA_GROUP_L:

 

SHORT nStatus;

Gx6062setDaisyChainMode (nHandle, GX6062_DAISY_CHAIN_VIA_GROUP_L, &nStatus);

 

See Also

Gx6062GetDaisyChainMode, Gx6062Open, Gx6062Close,

Gx6062SetGroupRelays, Gx6062GetChannel, GxSWGetErrorString