added check if reciever is running (#1201)
Some checks failed
Build on RHEL9 / build (push) Failing after 3m32s
Build on RHEL8 / build (push) Failing after 4m55s

* added check if reciever is running

* added some tests

* uups dummy test - deleted test file

* changed test

* stopped receiver

* some tests dont run

* added some more tests as they also affect fifo structure

* fixed tests to work with test_simualtor for all cmdcall tests

* minor

---------

Co-authored-by: mazzol_a <mazzol_a@pc17378.psi.ch>
Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
This commit is contained in:
2025-09-12 16:13:28 +02:00
committed by GitHub
parent 26846f7c33
commit 6e006665ef
3 changed files with 243 additions and 0 deletions

View File

@@ -554,6 +554,7 @@ int ClientInterface::set_num_analog_samples(Interface &socket) {
if (detType != CHIPTESTBOARD && detType != XILINX_CHIPTESTBOARD) {
functionNotImplemented();
}
verifyIdle(socket);
try {
impl()->setNumberofAnalogSamples(value);
} catch (const std::exception &e) {
@@ -570,6 +571,7 @@ int ClientInterface::set_num_digital_samples(Interface &socket) {
if (detType != CHIPTESTBOARD && detType != XILINX_CHIPTESTBOARD) {
functionNotImplemented();
}
verifyIdle(socket);
try {
impl()->setNumberofDigitalSamples(value);
} catch (const std::exception &e) {
@@ -1765,6 +1767,7 @@ int ClientInterface::set_num_transceiver_samples(Interface &socket) {
if (detType != CHIPTESTBOARD && detType != XILINX_CHIPTESTBOARD) {
functionNotImplemented();
}
verifyIdle(socket);
try {
impl()->setNumberofTransceiverSamples(value);
} catch (const std::exception &e) {