Returns the group streaming mode.
GX1649-1
GxAoArbIsGroupStreaming (nHandle, nGroup, pbEnable, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1649-1 board. |
nGroup |
SHORT |
Group number:0. GXAO_GROUPA1. GXAO_GROUPB2. GXAO_GROUPC3. 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. |
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.
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");
GxAoArbEnableGroupStreaming, GxAoArbGetGroupStreamingStatus, GxAoArbSetupStreamingInterrupt, GxAoGetErrorString