Gx6062GetDaisyChainMode

Purpose

Returns the board Daisy Chain connection mode.

Syntax

Gx6062GetDaisyChainMode (nHandle, pnMode, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6062 board.
nChannel
SHORT
Channel numbers are from 1 (GX6062_CHANNEL_FIRST) to 60 (GX6062_CHANNEL_LAST).
pnMode
PSHORT
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 returns the Daisy Chain mode:

 

SHORT nMode, nStatus;

Gx6062GetDaisyChainMode (nHandle, &nMode, &nStatus);

 

See Also

Gx6062SetDaisyChainMode, Gx6062Open, Gx6062Close, Gx6062SetGroupRelays, Gx6062GetChannel, GxSWGetErrorString