Difference between revisions of "CAEN V775 TDC"
Jump to navigation
Jump to search
Line 46: | Line 46: | ||
value = 37 = 0x25 = '%' | value = 37 = 0x25 = '%' | ||
− | = | + | BitSet 2 is set to 0x0898 = 100010011000 d |
+ | The above has bit 10 ( starting from 0 at the very left) set to 0 => common start | ||
+ | = Read Data = | ||
+ | Use PrintEvent to print out the data in the TDC to the ROC console | ||
− | + | -> c775PrintEvent | |
− | |||
[http://www.iac.isu.edu/mediawiki/index.php/VME_modules back to VME modules] | [http://www.iac.isu.edu/mediawiki/index.php/VME_modules back to VME modules] |
Revision as of 01:39, 25 November 2008
Address | |
Pin | Setting |
SW 1 | 1 |
SW 2 | 6 |
SW 3 | 0 |
SW 4 | 8 |
initialize TDC
-> c775Init(0x610000) Initialized TDC ID 0 at address 0x90610000
Common Start/Stop =
BitSet 2 is used to set the TDC in common start or stop mode.
0 => common start
1 => common start
Use the Status function to see what the bit is set at
-> c775Status(0) STATUS for TDC id 0 at base address 0x90610000 ---------------------------------------------- Interrupts Disabled Last Interrupt Count : 0 --1-- --2-- Status = 0x0050 0x0002 BitSet = 0x0000 0x0898 Control = 0x0000 FSR = 140 nsec Event Count = (No Events Taken) Last Event Read = (No Events Read) value = 37 = 0x25 = '%'
BitSet 2 is set to 0x0898 = 100010011000 d
The above has bit 10 ( starting from 0 at the very left) set to 0 => common start
Read Data
Use PrintEvent to print out the data in the TDC to the ROC console
-> c775PrintEvent