diff --git a/Console/Receiver/Spectrum Instrumentation m4i.4451/readme.md b/Console/Receiver/Spectrum Instrumentation m4i.4451/readme.md index f1098aa0c5bfec9b3e4132f333a158140de8a707..6bb647409743d0402e05b4d2b269911b915cd727 100644 --- a/Console/Receiver/Spectrum Instrumentation m4i.4451/readme.md +++ b/Console/Receiver/Spectrum Instrumentation m4i.4451/readme.md @@ -1,4 +1,4 @@ -# Software instructions +# Software Instructions These folders includes .c code for the digitizer m4i.4451 [1] and Fortran code that implements .c code as c-routines. @@ -6,7 +6,7 @@ The compilation of the codes can be done using the first line of each Fortran fi It is also possible to use other software platforms for the digitizer cards such as MATLAB and Python. The function names to control the cards are the same throughout different environments. Hence, mitigation to other software platforms should be relatively straightforward. For more information, please see the documentation and examples from the manufacturer’s website [1]. In addition, please follow the manufacturer’s website to install corresponding libraries because they differ by the OS. -## ADC +## Programming the ADC The file **m4iset_extrig_rms.c** contains the functions for the ADC card setup and receiver operation. The routine uses 3 arguments: ```c @@ -28,7 +28,7 @@ void m4iset_(int16 *pvData, int32 *lMemsize, int32 *posttr) ... } ``` - +## Compilation and Usage 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. For example: ```console