next up previous contents index
Next: VME I/O Up: Language Elements Previous: Generic I/O   Contents   Index

CAMAC I/O

CAMAC has a different addressing scheme in which a register in a module is addressed by a combination of branch number (b), crate number (c), slot number (n), internal address (a), and function code (f). The function code generally distinguishes between read, write, and control functions, but may also be used to select between group 0 and group 1 data space (most modules only support group 0). NOTE: The current implementation of CODA only supports branch b=0.

camac readout

... 

read from b,c,n,a,f                # transfer 1 word to output 

read from b,c,n,a,f into <xxx>     # transfer 1 word to variable 

write yyy into b,c,n,a,f           # write yyy to module 

control b,c,n,a,f                  # execute control function

CAMAC only supports a single trigger (currently) through a CAMAC lam:



Mohammad Ahmed 2003-07-23