Files
slsDetectorPackage/slsDetectorSoftware/tests/Caller/test-Caller-global.h
T
maliakal_d f1b14ef345
Run Simulator Tests on local RHEL9 / build (push) Failing after 55s
Build on RHEL8 docker image / build (push) Failing after 1m53s
Build on RHEL9 docker image / build (push) Failing after 2m15s
Run Simulator Tests on local RHEL8 / build (push) Failing after 2m26s
wip
2026-05-28 22:25:50 +02:00

37 lines
1.0 KiB
C++

// SPDX-License-Identifier: LGPL-3.0-or-other
// Copyright (C) 2021 Contributors to the SLS Detector Package
#pragma once
#include "Caller.h"
#include "sls/Detector.h"
#include "sls/ToString.h"
#include "sls/logger.h"
#include "sls/sls_detector_defs.h"
#include "acquire/Acquire.h"
#include "acquire/CTBState.h"
#include "acquire/FileState.h"
#include <chrono>
#include <filesystem>
#include <optional>
#include <thread>
namespace sls {
namespace acq = sls::test::acquire;
void test_valid_port_caller(const std::string &command,
const std::vector<std::string> &arguments,
int detector_id, int action);
void test_dac_caller(slsDetectorDefs::dacIndex index,
const std::string &dacname, int dacvalue, bool mV = false);
void test_onchip_dac_caller(slsDetectorDefs::dacIndex index,
const std::string &dacname, int dacvalue);
std::pair<uint64_t, int>
calculate_ctb_image_size(const acq::CTBState &test_info, bool isXilinxCtb);
} // namespace sls