We are testing a new Red Pitaya card.
We have installed version 0.96RC1
We have made first tests in C in using the API library, in
support of acquire_trigger_posedge.c function.
We have errors in runing this test :
Code: Select all
~/RedPitaya/Examples/C# export LD_LIBRARY_PATH=/opt/redpitaya/lib ; time ./acquire_trigger_posedge
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:91
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:110
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:91
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:110
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:91
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:91
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:110
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:91
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:110
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:91
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:91
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:110
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
Runtime error: acq_GetDecimationFactor(&decimation) returned "Value out of range." at acq_handler.c:91
Runtime error: acq_GetDecimation(&decimationVal) returned "Value out of range." at acq_handler.c:328
68069
........
Code: Select all
5
Init
milieu n:0
fin n:0
milieu n:1
fin n:1
milieu n:2
fin n:2
milieu n:3
fin n:3
milieu n:4
........
Why is that ?
On the test program we use Rp_Init() and Rp_Reset() to initialize the Red Pitaya.
Have we forget somethings to do ?
Thanks for your answer
Serge