14.6. Running CCUSBReadout

CCUSBReadout is installed as: $DAQROOT/bin/CCUSBReadout.

Several command options control the way CCUSBReadout operates:

-serialno

Specifies the serial number of the CCUSB the program will use. See --enumerate below. If not provided, the first CCUSB located will be used. If you only have one CCUSB connected to your system, this is suitable.

--ring

Specifies the ring buffer in which event data will be put by the program. By default this is the same as the username you are logged in on .

--daqconfig

Specifies the filename that contains the data acquisition configuration script. This defaults to ~/config/daqconfig.tcl

--ctlconfig

Specifies the filename that contains the slow controls configuration script. This defaults to ~/config/controlconfig.tcl. Note that this file is required even if it is just an empty file.

--port

Specifies the port on which the slow controls server listens for connections. This default to 27000.

--enumerate

Requests that the software list the serial numbers of the CCUSB devices currently attached to the system and exit. Note that the serial 'numbers' are actually strings of the form CCnnnn where nnnn is a number. One of these strings can be handed to the --serialno to select the CCUSB to use.

Sample output:


/usr/opt/daq/10.1/bin/CCUSBReadout --enumerate
CC-USB scriptable readout version V2.0
[0] : CC0134

                        

This output says the system is attached to a single CCUSB whose serial number string is CC0134