Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i extract spectra information from a NAC data acqusition file.

i am writing a program in fortran 77 (linux SuSE 8.0) and C (gcc) both for extracting spectra info.
these data is taken from NAC, AFRODITE detector array and needs to be sorted of course.

the dumped data looks like this

7dfa e820 0000 7e00 0003 0000 002a 0000 0001 0000 0001 0507 0000 0000 0000 0000
0014 8001 0004 0000 0000 0000 4000 8108 0004 2e72 001a 8001 0000 0000 0000 0000
4080 8107 0008 387e 8109 0040 6f86 001a .........

all that i know is lying below:

7dfa is in binary 0111110111111010 and in dec 32256 (record size, 16128 words are existing in the record)
e8 is a flag of record, 20 is 32 in decimal (header size, 32 bytes (16 words) of record header)
the rest of the header is me
aningless according to a nuclear physist, it is about the id of the computer or something.

0014 is 20 in decimal (event size, 10 words are existing forming an event record)
8001 is a flag of an event, every event should have this flag.
0004 (these are pr1 to pr5 (pattern words)
0000 not meaninfull while sorting
0000 refers to which detector is fired)
0000
4000
8108 1000-0001-00001000 (flag=1000,VDC=0001, VSN=00001000, CAMAC header word)
0004 00000000-00000100 (flag=00000000, channel register=00000100, CAMAC pattern word)
2e72 0-010-111001110010 (OVF=0, SUB=010=2, Pulse Height, CAMAC DATA word)
001a next event that has similar structure is beginning...
........

the single events that begin with the words of 0014 and 001a are coincident, that is, all events in a record are coincident.
my question is not a real question, that is, in my idea, need a confirmation about coincident events and additional info about my probable mistakes.
please confirm that the
info above is true or not and make additions.
0 Kudos
Message 1 of 1
(6,312 Views)