AlazarGetWhoTriggeredBySystemID#
Function Syntax#
-
U32 AlazarGetWhoTriggeredBySystemID(U32 systemId, U32 boardId, U32 recordNumber)#
Return which event caused a board system to trigger and capture a record to on-board memory.
Note
This function is part of the single-port API. It cannot be used with the dual-port AutoDMA APIs.
Warning
This API routine will not work with ATS850 version 1.2 hardware. Version 1.3 and higher version number of ATS850 are fully supported, as are all versions of ATS330 and ATS310.
- Parameters:
systemId – [in] System indentifier
boardId – [in] Board identifier of a board in the specified system.
recordNumber – [in] Record in acquisition (1-indexed)
- Returns:
One of the following values:
0 : This board did not cause the system to trigger
1 : CH A on this board caused the system to trigger
2 : CH B on this board caused the system to trigger
3 : EXT TRIG IN on this board caused the system to trigger
4 : Both CH A and CH B on this board caused the system to trigger
5 : Both CH A and EXT TRIG IN on this board caused the system to trigger
6 : Both CH B and EXT TRIG IN on this board caused the system to trigger
7 : A trigger timeout on this board caused the system to trigger