GX3116e
Sets the specified PXI trigger bus connected to the specified group settings.
GxSmuTrigSetPxiTriggerBusLineToGroup (nHandle, nGroup, nStatus, nState, pnPxiBusLine)
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 |
nState |
SHORT |
Sets the state of the Trigger to PXI Bus Line functionality as follows:0. GXSMU_TRIGGER_DISABLE: Trigger to PXI Bus Line functionality is disabled.1. GXSMU_TRIGGER_ENABLE: Trigger to PXI Bus Line functionality is enable. |
nPxiBusLine |
SHORT |
Specified PXI bus trigger line:0. GXSMU_PXI_TRIGGER_BUS_LINE_0: PXI bus trigger line 01. GXSMU_PXI_TRIGGER_BUS_LINE_1: PXI bus trigger line 12. GXSMU_PXI_TRIGGER_BUS_LINE_2: PXI bus trigger line 23. GXSMU_PXI_TRIGGER_BUS_LINE_3: PXI bus trigger line 34. GXSMU_PXI_TRIGGER_BUS_LINE_4: PXI bus trigger line 45. GXSMU_PXI_TRIGGER_BUS_LINE_5: PXI bus trigger line 56. GXSMU_PXI_TRIGGER_BUS_LINE_6: PXI bus trigger line 67. GXSMU_PXI_TRIGGER_BUS_LINE_7: PXI bus trigger line 7 |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The function sets the specified PXI trigger bus connected to the specified group settings.
The following example sets PXI trigger line 1 to trigger group b channels 9 through 16, and enables the group’s PXI trigger, and returns the settings.
SHORT nStatus;
SHORT nState, nPxiBusLine;
GxSmuTrigSetPxiTriggerBusLineToGroup (nHandle, GX3116_GROUP_B_CHANNELS_9_TO_16, GXSMU_TRIGGER_ENABLE, GXSMU_PXI_TRIGGER_BUS_LINE_1, &nStatus);
GxSmuTrigGetPxiTriggerBusLineToGroup (nHandle, GX3116_GROUP_B_CHANNELS_9_TO_16, &nState, &nPxiBusLine, &nStatus);
GxSmuTriggerGroup, GxSmuTrigGetTriggerStatus, GxSmuTrigSetTriggerToPxiBusLine, GxSmuTrigSetAnyTriggerToAllGroups, GxSmuTrigSetAnyTriggerToConnector, GxSmuTrigGetExternalTriggerToGroup, GxSmuTrigGetPxiTriggerBusLineToGroup, GxSmuTrigSetStarTriggerToGroup, GxSmuTrigSetTriggerToPxiBusLine, SmuGetErrorString