![XIA Pixie-32 Скачать руководство пользователя страница 23](http://html1.mh-extra.com/html/xia/pixie-32/pixie-32_user-manual_3334978023.webp)
Pixie-32 User Manual
Version 0.2
Along with statistics registers, FPGA configuration registers are read back. Their values are recorded in
hex format as 32-bit words, 12 registers per each of 32 channels (768 words total). After statistics file is
generated, PIxie_Acquire_Data(0x4500) will parse it, extract FPGA configuration parameters from the
register values, read in the configuration parameter file, and compare values written to hardware and read
back. Mismatched values are reported. Some configuration parameters are read-only, thus DCOffset,
Filter_BW, Coarse_Gain, Fine_Gain are not checked. The read back parameters are recorded in
<
file_name>_FipRegs_m##.txt,
corresponding to
<file_name>.s##
statistics file and
<file_name>.b##
list mode file. Read-only parameters are set to “-1”.
API functions
Description of implemented API functions available to user.
●
P32_GetAPIVersion
(get version of library)
●
P32_SysConfig
(Process configuration file, prepare for FPGA boot)
●
Pixie_Boot_System
(Boots modules)
●
Pixie_Acquire_Data
(start/stop run, control tasks, etc)
For testing and debugging purposes, extra API functions are defined:
●
PIXIE500E_GetNumberModules
(report number of modules registered with API)
●
PIXIE500E_GetModuleSerialNumber
(Read device's serial number by its index)
API Function: P32_GetAPIVersion
Syntax
S32 version = P32_GetAPIVersion ();
Description:
Returns the current
major.minor.revision
version of the library (defined in
xia_version.h).
Calling Parameters:
None
Return Parameters:
major = (version
>> 24) &
0xF
minor = (version >> 16) & 0xF
revision = version
&
0xFF
API Function: P32_SysConfig
Syntax
© 2017 XIA LLC
23