GxAoArbIsGroupStreaming

Purpose

Returns the group streaming mode.

Applies

GX1649-1

Syntax

GxAoArbIsGroupStreaming (nHandle, nGroup, pbEnable, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX1649-1 board.
nGroup
SHORT
Group number:
0.   GXAO_GROUPA
1.   GXAO_GROUPB
2.   GXAO_GROUPC
3.   GXAO_GROUPD
pbEnable
PBOOL
Returns TRUE if ARB Group is in streaming mode and FALSE if ARB group is in non-streaming mode.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The GX1649-1 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.

Example

The following example gets group B mode streaming state:

 

SHORT nStatus;

BOOL  bEnable;

GxAoArbIsGroupStreaming (nHandle, GXAO_GROUPB, &bEnable, &nStatus);

if (bEnable)

    printf("ARB Group B is in streaming mode");

 

See Also

GxAoArbEnableGroupStreaming, GxAoArbGetGroupStreamingStatus, GxAoArbSetupStreamingInterrupt, GxAoGetErrorString