Enables the group streaming mode.
GX1649-1, GX1632e
GxAoArbEnableGroupStreaming (nHandle, nGroup, bEnable, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1649-1 or GX1632e board. |
nGroup |
SHORT |
Group number:0. GXAO_GROUPA1. GXAO_GROUPB2. GXAO_GROUPC3. GXAO_GROUPDGroup 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. |
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.
The following example enables group B streaming mode:
SHORT nStatus;
GxAoArbEnableGroupStreaming (nHandle, GXAO_GROUPB, TRUE, &nStatus);
GxAoArbDisableStreamingInterrupt, GxAoArbGetGroupStreamingStatus, GxAoArbSetupStreamingInterrupt, GxAoGetErrorString