GX5290e, File
Returns the specified PXI Trigger Bus Control line signal to PXI Trigger Line and its state.
DioGetControlToPxiTriggerBusLineMode (nHandle, nControl, pnLine, pbEnable, pnStatus)
Name |
Type |
Comments |
nMasterHandle |
SHORT |
Master board or File board handle. |
nControl |
SHORT |
PXI Trigger Bus Control line:0 DIO_TRIGGER_BUS_RUN_CTRL: Run signal to PXI Trigger Bus line.1 DIO_TRIGGER_BUS_ARM_CTRL: Arm signal to PXI Trigger Bus line.2 DIO_TRIGGER_BUS_EXT_CLK_CTRL: External Clock signal to PXI Trigger Bus line.3 DIO_TRIGGER_BUS_EXT_STROBE_CTRL: External Strobe signal to PXI Trigger Bus line |
pnLine |
PSHORT |
Returned control to PXI Trigger Bus Line:0 DIO_PXI_TRIGGER_BUS_LINE01 DIO_PXI_TRIGGER_BUS_LINE12 DIO_PXI_TRIGGER_BUS_LINE23 DIO_PXI_TRIGGER_BUS_LINE34 DIO_PXI_TRIGGER_BUS_LINE45 DIO_PXI_TRIGGER_BUS_LINE56 DIO_PXI_TRIGGER_BUS_LINE67 DIO_PXI_TRIGGER_BUS_LINE7 |
pbEnable |
PBOOL |
Returned PXI Trigger Bus Line state:0 The specified control to PXI Trigger Line is disabled.1 The specified control to PXI Trigger Line is enabled. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The DIO domain control signals are using the PXI Trigger Bus lines to distribute those signals.
When using internal clock and strobe only two PXI Trigger Bus lines have to be assigned for the Run and Arm control signals.
Additional lines will be required to be assigned for the external clock and/or external strobe.
The assigned lines will be saved to the INI file to be automatically loaded and applied whenever the DIO is initialized.
By default the DIO will use PXI Trigger Bus lines 0 and 1 for the Run and Arm signals.
Note: The same PXI Trigger Bus line will be used by all DIO boards (Master and Slaves) in the domain.
The following example returns the specified control signal to PXI Trigger Line and its state:
SHORT nStatus, nLine;
BOOL bEnable;
DioGetControlToPxiTriggerBusLineMode(nMasterHandle, nControl, &nLine, &bEnable, &nStatus);