Download M4K1553MA Software Tools Programmer`s Reference

Transcript
Chapter 2
General Functions
Set_Timetag_Res_MA
Description
sets the resolution of the Time tag used in
the RT and Monitor Mode. There are six Time tag
resolutions. [Default = 4μs.]
There is also an option to take the Time tag from an external
clock source (which is connected to the clock on the carrier
board, which in turn may be connected to a truly external
Time tag.)
See section B.1.3 External Time Tag Clock Register on page B-2
Set_Timetag_Res_MA
Note:
Set Set_Timetag_Res_MA before starting RT or Monitor
mode.
(int handle,
EXC_MA_TIMETAG_RES_OPTION resOption)
Syntax
Set_Timetag_Res_MA
Input Parameters
handle
The handle designated by
Init_Module_MA
resOption
Output Parameters
none
Return Values
EXC_MA_ERROR_
BAD_HANDLE
One of the following options
EXC_MA_TTAGRES_64us 64μs
EXC_MA_TTAGRES_32us 32μs
EXC_MA_TTAGRES_16us 16μs
EXC_MA_TTAGRES_8us
8μs
EXC_MA_TTAGRES_4us
4μs
EXC_MA_TTAGRES_2us
2μs
EXC_MA_TTAGRES_EXTERNAL
Take Time tag from an external
source. See EXC-4000P104plus
User’s Manual
If an invalid handle was specified;
should be value returned by
Init_Module_MA
EXC_MA_ERROR_
ILLEGAL_INPUT
If an invalid parameter was used as
an input
EXC_MA_STATUS_OK
No errors
M4K1553MA Software Tools: Programmer’s Reference
page 2 - 11