Coda: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 10: | Line 10: | ||
void proc_thread(BIGPROC *bigprocptrin, unsigned int offsetin) | void proc_thread(BIGPROC *bigprocptrin, unsigned int offsetin) | ||
where BIGPROC structure contains control parameters including pointers to the input (BIGBUF *gbigBuffer) and output (BIGBUF *gbigBuffer1) big buffers. | where BIGPROC structure contains control parameters including pointers to the input (BIGBUF *gbigBuffer) and output (BIGBUF *gbigBuffer1) big buffers. | ||
== write_thread == | |||
Last component in coda_roc running as a thread. Main file is 'dac.s/roc_network.c'. Main function started as a thread is | |||
write_thread(BIGNET *bignetptrin, unsigned int offsetin) | |||
where BIGNET structure contains control parameters including pointers to the input (BIGBUF *gbigBuffer) big buffer; |
Revision as of 14:25, 13 August 2009
CODA is JLAB data aquisition system software. CLAS version of CODA has some differences and described in current section.
dac directory
Core CODA packages.
proc_thread
Original CODA's second readout list is running as a thread, called 'proc_thread'. It can be run on main host or on pmc co-processor. Main files is 'main/cinclude/roc_process.c'. Main function started as a thread is
void proc_thread(BIGPROC *bigprocptrin, unsigned int offsetin)
where BIGPROC structure contains control parameters including pointers to the input (BIGBUF *gbigBuffer) and output (BIGBUF *gbigBuffer1) big buffers.
write_thread
Last component in coda_roc running as a thread. Main file is 'dac.s/roc_network.c'. Main function started as a thread is
write_thread(BIGNET *bignetptrin, unsigned int offsetin)
where BIGNET structure contains control parameters including pointers to the input (BIGBUF *gbigBuffer) big buffer;