FOCOMM_CAMAC Setup and Usage Guide Andrew Wong, Larry Ruckman
Setting Up Insert module into CAMAC crate Connect USB and trigger cables –Connectors described on next slide Note which slot the module is in Power on crate afterwards
Connectors Input – TTL Trigger in, connect trigger signal here Output – TTL out, sends signal when board is busy USB connector
External Trigger Settings 5V amplitude, 1 Hz
Downloading the software Head to Download: –Readout Program –Tester Program Save them to a location you can access at a terminal prompt –Used desktop for these examples
Extracting the files Standard – tar with command e(x)tract
Compilation Change directory into FOCOMM_read and FOCOMM_test Execute ‘make’ in each folder Note dependencies: –FOCOMM_read requires libcc32.so –FOCOMM_test requires libUSB library
(two windows are used from this point on since we will need to run two programs simultaneously)
Executing the readout program Run read_FOCOMM in FOCOMM_read folder Parameter = slot number Program is now polling LAM on module until data is available Leave this running and switch to another terminal
Executing the test program Run FOCOMM_test in FOCOMM_test folder Via USB cable, the computer will poll until an external trigger is received When this happens, program will read out more than 2 bytes on a readout
External Trigger Data is sent when an external trigger is received via FOCOMM_test:
External Trigger (cont) When sending of data to board is finished, test program terminates
Readout program Meanwhile, readout program sees new data and reads it out:
Further Readings For more information about technical details: –FOCOMM documentation (on webpage) –Source code