@@ -9,9 +9,25 @@ It is also possible to use other software platforms for the digitizer cards such
## ADC
The file **m4iset_extrig_rms.c** contains the functions for the ADC card setup and receiver operation. The routine uses 3 arguments:
- _*pvData_ 16-bit data pointer for the received data
- _*lMemsize_ 32-bit memory length for the received data
- _*posttr_ 32-bit post trigger pointer to adjust the time window of the ADC. Please see manufacturer’s documentation for more information about post trigger.
```c
/**
* Set m4i receiver card
*
* @param *pvData 16-bit data pointer for the received data
* @param *lMemsize 32-bit memory length for the received data
* @param *posttr 32-bit post trigger pointer to adjust the time window of the ADC. Please see manufacturer’s documentation for more about post trigger.
The other two scripts **rec_m4i_fifo_tdfilter.f** and **rec_m4i_tdfilter_rms.f** implement the c routine. They need to be compiled with a Fortran complier. The first line in these files can be taken as an example i.e. copy and paste it into the OS terminal using the working folder.