Hi Christian,
Now i want to add one more thing: Before the scan starts, i have to
start the DAQ system with a certain BASH shell-script, after the scan i
have to stop the DAQ with another shell script.
Hmm, this does not really seem to be the cleanest way to do this. But
here are some ideas:
1. Use subroutine record [1] to execute a short C function including a
system() call running bash.
2. Use sequencer [2]. You can use C code in state notation language.
Again a system() call should do the job.
3. Modify the other end (your DAQ) to add a Channel Access server. This
way you can switch your DAQ on/off as well.
Cheers,
Martin
[1] https://wiki-ext.aps.anl.gov/epics/index.php/RRM_3-14_Subroutine
[2] http://www-csr.bessy.de/control/SoftDist/sequencer/