added check if reciever is running

This commit is contained in:
mazzol_a 2025-04-30 11:52:03 +02:00
parent e1f46d4747
commit 9a7758655c

View File

@ -551,6 +551,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) {
@ -567,6 +568,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) {
@ -1736,6 +1738,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) {