WIENER, Plein & Baus GmbH
3
www.wiener-d.com
Table of contents:
1
General Description........................................................................................................ 5
1.1
CC-USB Features
.................................................................................................... 5
1.2
Read-out Modes
...................................................................................................... 5
1.3
CC-USB Front panel
............................................................................................... 6
1.4
Technical data
......................................................................................................... 6
1.5
Power Consumption
................................................................................................ 6
1.6
Block diagram
......................................................................................................... 7
2
CC-USB and USB driver installation............................................................................ 8
2.1
Installation for Windows Operating Systems
....................................................... 8
2.2
Installation for Linux Operating Systems
.......................................................... 11
3
General Architecture of CC-USB and its User Interface.......................................... 12
3.1
Register Block
........................................................................................................ 12
3.1.1
Firmware ID Register ..................................................................................... 12
3.1.2
Global Mode Register ..................................................................................... 12
3.1.3 Delays
Register ............................................................................................... 13
3.1.4
Scaler Readout Frequency Register ................................................................ 13
3.1.5
User LED and NIM Output Selectors............................................................. 13
3.1.6
LAM Mask Register ....................................................................................... 15
3.1.7 Action
Register ............................................................................................... 15
3.1.8
Serial Number Register................................................................................... 15
3.2
CAMAC Command Stacks
.................................................................................. 15
3.3
CAMAC NAF Generator
..................................................................................... 15
3.4
USB In FIFO
......................................................................................................... 15
4
Communicating with CC-USB..................................................................................... 16
4.1
General structure of Out Packets
........................................................................ 17
4.2
Writing Data to the Register Block
..................................................................... 17
4.3
Reading Back Data from the Register Block
...................................................... 17
4.4
Writing Data to the CAMAC Command Stacks and to the NAF Generator
.. 18
4.5
Structure of the CAMAC Stack
........................................................................... 18
4.6
CAMAC common functions
................................................................................. 20
4.7
Structure of the IN Packets
.................................................................................. 20
5
Guide to List Mode Data Acquisition with CC-USB ................................................. 22
6
LIBXXUSB Library for Windows and Linux............................................................ 23
6.1
xxusb_devices_find
............................................................................................... 23
6.2
xxusb_device_open
................................................................................................ 23
6.3
xxusb_device_close
................................................................................................ 24
6.4
xxusb_reset_toggle
................................................................................................ 24
6.5
xxusb_register_write
............................................................................................. 25
6.6
xxusb_register_read
.............................................................................................. 25
6.7
xxusb_stack_write
................................................................................................. 26
6.8
xxusb_stack_read
.................................................................................................. 27