Arms or disables arming the specified group.
GX1649, GX1649-1, GX1632e
GxAoArbArmGroup (nHandle, nGroup, bArm, bContinuous, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1649 or GX1632e board. |
nGroup |
SHORT |
Group number:0. GXAO_GROUPA1. GXAO_GROUPB2. GXAO_GROUPC3. GXAO_GROUPD |
bArm |
BOOL |
TRUE (1) to arm the group and FALSE (0) to disable arming and stop generating waveforms. |
bContinuous |
BOOL |
TRUE (1) will cause the waveform to be repeated (until bArm is FALSE). FALSE (0) will cause only one waveform to be generated. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Disabling arming the group (bArm=FALSE) will cause the card to stop generating waveforms.
GX1632e: The parameter bContinuous is not used. Triggers are always continuous. DIO0 is used for triggering and the trigger occurs on an active low signal.
The following example generates a repeated waveform for 1000 mSec in group A:
SHORT nStatus;
SHORT nTriggerMode;
GxAoArbArmGroup (nHandle, GXAO_GROUPA, TRUE, TRUE, &nStatus);
Sleep(1000);
GxAoArbArmGroup (nHandle, GXAO_GROUPA, FALSE, TRUE, &nStatus);
GxAoArbTrigGroup, GxAoArbSetGroupTrigger, GxAoGetErrorString