Skip to content
Snippets Groups Projects
Commit ab422f24 authored by Berk Silemek's avatar Berk Silemek
Browse files

Update Console/Receiver/Spectrum Instrumentation m4i.4451/readme.md

parent 466ec166
No related branches found
No related tags found
No related merge requests found
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment