PASA ADC test (30 MHz) (TEST_PASA_ADCS) store_all_pasa_adcs reads via SCSN 512 values from ADCs (SCSN offset 0x5800 to 0x5A00) and writes them to given file. (Read via slave 2, ring 0, scsn_config 1) Test sequence: 1. set scsn config 1 2. send scsn ping (output 2, channel 0) 3. write to pasa adc, offset: 1024, data: 0x70 | pasa_adc_mode, slave 2, ring: variable use_scsn_link (SCSN write offset 0x5800) 4. send pretrigger command 1 via ACEX (pci) 5. call store_all_pasa_adcs (reading values from SCSN offsets 0x5800 to 0x5A00) to store values to file pasa_adcs_man.out 6. send pretrigger command 1 via ACEX (pci) 7. send pretrigger command 1 via SCSN (SCSN offset 0x4008) 8. call store_all_pasa_adcs (reading values from SCSN offsets 0x5800 to 0x5A00) to store values to file pasa_adcs_man_2.out PASA DAC test trt.c:3105 Actual test seems to be done in pasa_dac_test Only test w. relevance f. function retval goes to read_adc_eb (multiple calls, last one evaluated for retval) Evaluation done by pasa_parse_adcdata and pasa_dac_analyse trt.c:3212, loop (0x%X_pasa_dacs_1.out.dat, for loop) should probably be for ( i=0; i<21; i++ ) instead of only i<20