Reports until 15:46, Friday 12 April 2024
Heisenberg IFO General
jacques - posted 15:46, Friday 12 April 2024 (11590)
Test of the RP data acquisition (2)

Following the first attempt at RP acquisition, I resolved the problem by changing Ben's RP (apparently it is broken at both inputs) with another one. Then, using the streaming app (and not the SCPI server), described here, I could record a 100kHz, 0.2Vpp sine wave, on the RP's SD memory.

Conclusion: the streaming module of the RP can be used for data acquisition. Note that I was on the most recent stable version of the RP OS (2.00-30).

Also below is a code snippet from Ben which should allow to launch the acquisition on python (replace the parameters with the ones relevant to the RP):

import subprocess
subprocess.Popen(["./rpsa_client","--streaming", "--hosts=192.168.0.78", "--format=csv", "--limit=2000000", "--mode=volt", "--dir={direc}"])