GxAoArbEnableGroupStreaming

Purpose

Enables the group streaming mode.

Applies

GX1649-1, GX1632e

Syntax

GxAoArbEnableGroupStreaming (nHandle, nGroup, bEnable, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX1649-1 or GX1632e board.
nGroup
SHORT
Group number:
0.   GXAO_GROUPA
1.   GXAO_GROUPB
2.   GXAO_GROUPC
3.   GXAO_GROUPD
Group number is ignored for GX1632e. Pass 0 or GXAO_GROUPA.
bEnable
BOOL
Enables a group's ARB streaming state. TRUE if ARB Group is to be set to streaming mode and FALSE if ARB group is set to non-streaming mode.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The GX1649 ARB can operate in streaming or non-streaming mode. By default, each group (Group A-D) is set to non-streaming mode. When the board is in non-streaming mode, the ARB will use the onboard memory as a source for the waveform it will generate. When the board is in streaming mode, the ARB will continuously generate a waveform. The PC will write samples to a FIFO located on the ARB as needed to maintain the streaming operation.

The GX1632e ignores group number in this function, instead using the wGroup mask passed in by GxAoArbSetupStreamingInterrupt to determine which groups are enabled for streaming.

Example

The following example enables group B streaming mode:

 

SHORT nStatus;

GxAoArbEnableGroupStreaming (nHandle, GXAO_GROUPB, TRUE, &nStatus);

 

See Also

GxAoArbDisableStreamingInterrupt, GxAoArbGetGroupStreamingStatus, GxAoArbSetupStreamingInterrupt, GxAoGetErrorString