GX3116e
Sets the star triggers that are currently connected to the specified group.
GxSmuTrigSetStarTriggerToGroup (nHandle, nGroup, nStarTiggers, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX3116e board. |
nGroup |
SHORT |
Specifies the group number, group number can be as follows:0. GX3116_GROUP_A_CHANNELS_1_TO_8: Group a contains channel 1 through 81. GX3116_GROUP_B_CHANNELS_9_TO_16: Group a contains channel 9 through 16 |
nStarTiggers |
SHORT |
Specifies the Star trigger:1. GXSMU_ENABLE_STAR_TRIGGER_TO_GROUP: Enables the single ended star trigger to the specified group.2. GXSMU_ENABLE_STAR_TRIGGER_A_TO_GROUP: Enables the differential star trigger A to the specified group.4. GXSMU_ENABLE_STAR_TRIGGER_B_TO_GROUP: Enables the differential star trigger B to the specified group. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The function sets the star triggers that are currently connected to the specified group. Star trigger sources can be ORed together to have multiple star trigger sources.
The following example sets differential star trigger A an B to group B channels 9-16, and returns the star triggers that are currently connected to the group:
SHORT nStatus;
SHORT nGroup, nStarTiggers;
GxSmuTrigSetStarTriggerToGroup (nHandle, GX3116_GROUP_B_CHANNELS_9_TO_16, GXSMU_ENABLE_STAR_TRIGGER_A_TO_GROUP | GXSMU_ENABLE_STAR_TRIGGER_B, &nStatus);
GxSmuTrigSetStarTriggerToGroup (nHandle, GX3116_GROUP_B_CHANNELS_9_TO_16, &nStarTiggers, &nStatus);
GxSmuTriggerGroup, GxSmuTrigGetTriggerStatus, GxSmuTrigSetTriggerToPxiBusLine, GxSmuTrigSetAnyTriggerToAllGroups, GxSmuTrigSetAnyTriggerToConnector, GxSmuTrigGetExternalTriggerToGroup, GxSmuTrigSetPxiTriggerBusLineToGroup, GxSmuTrigSetStarTriggerToGroup, GxSmuTrigSetTriggerToPxiBusLine, SmuGetErrorString