Gets the role that the board will assume in the waveform generating domain.
GX1632e
GxAoArbGetGroupClockRole (nHandle, pnRole, pnLeaderSource, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1632e board. |
pnRole |
PSHORT |
Gets the role that this board is currently assuming:0. GXAO_CLOCK_ROLE_LEADER1. GXAO_CLOCK_ROLE_FOLLOWER |
pnLeaderSource |
PSHORT |
Returns the signal line that the board is currently outputting on. If the role is currently follower, this value is irrelevant:2. GXAO_CLOCKSOURCE_PXI03. GXAO_CLOCKSOURCE_PXI14. GXAO_CLOCKSOURCE_PXI25. GXAO_CLOCKSOURCE_PXI36. GXAO_CLOCKSOURCE_PXI47. GXAO_CLOCKSOURCE_PXI58. GXAO_CLOCKSOURCE_PXI69. GXAO_CLOCKSOURCE_PXI710. GXAO_CLOCKSOURCE_STAR_TRIGGER11. GXAO_CLOCKSOURCE_STAR_A |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Default clock role and source is GXAO_CLOCK_ROLE_FOLLOWER and GXAO_CLOCKSOURCE_INTERNAL. In this mode, the board acts independently of other boards within the chassis.
The following example returns the boards clock role and output source, if appropriate:
SHORT nStatus, nRole, nLeaderSource;
GxAoArbGetGroupClockRole (nHandle, &nRole, &nLeaderSource, &nStatus);