10
Serial Interface
3.1
Serial Interface Setup
The CC1 has an emulated COM port for serial communication, and uses SCPI-compliant
commands. To use the serial interface, use the included USB-B 2m cable to connect the CC1 to
a computer USB port. The USB cable allows the CC1 to both receive power and send data over
the USB connection.
To communicate with the CC1, download a serial terminal emulator program (such as RealTerm
or PuTTY on Windows) or send serial commands through your own custom program. The serial
interface settings should be configured with the following settings:
Setting Value
Baud Rate
19200 bps
Data bits
8
Parity None
Stop Bits
1
Flow Control
None
3.2 Commands
The following serial commands can be used to control/interface the CC1 unit with a computer or
microcontroller. If a command is not recognized, the CC1 will reply with “Unknown Command.”
Command Description
COUN:C1?
(:C2?)(:CO?)
Returns the current value on the counter, either Channel 1 (C1), Channel 2 (C2),
or Coincidences (CO)
:CLEA
Sends the clear signal to the counters
:DELA N
Set the delay value (in nanoseconds) on Channel 1. N may be 0, 2, 4, 6, 8, 10, 12,
or 14ns.
:DELA?
Returns the delay value on Channel 1 in nanoseconds
:DWEL N
Sets the dwell time to N seconds. N must be equal to or greater than 0.1 and
cannot be more than 5 characters long (including the decimal point).
DWEL?
Returns the dwell time in milliseconds
FIRM?
Returns the firmware release identifier
:GATE N
Sets whether or not the GATE channel is enabled: 0 = No, 1 = Yes
GATE?
Returns whether or not the GATE channel is enabled: 0 = No, 1 = Yes
:SUBT N
Sets whether or not to subtract accidentals from coincidence rate: 0 = No, 1 = Yes
SUBT?
Returns value indicating if accidentals are being subtracted from coincidences: 0 =
No, 1 = Yes
:TRIG N
Sets the trigger value: 0 = Continuous, 1 = Start/Stop
Содержание CC1
Страница 1: ...CC1 Handheld Coincidence Counter USER S MANUAL Rev 1 02 June 1 2015 www qubitekk com...
Страница 7: ...4 Figure 4 CC1 Buttons and Ports...
Страница 23: ...20 APPENDIX A Electrical Schematics and Connections...
Страница 24: ...21 A 1 Top Board LCD Display...
Страница 25: ...22 A 2 Bottom Board FPGA and Microprocessor...
Страница 26: ...23...
Страница 27: ...24...