2020-08-24 19:06:50 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
#include "Protocol.hpp"
|
2020-09-11 23:08:30 +02:00
|
|
|
#include "FPGA/FPGA.hpp"
|
2020-08-24 19:06:50 +02:00
|
|
|
|
|
|
|
|
namespace VNA {
|
|
|
|
|
|
2020-11-24 18:06:57 +01:00
|
|
|
bool Setup(Protocol::SweepSettings s);
|
2022-12-17 08:41:59 +01:00
|
|
|
void InitiateSweep();
|
|
|
|
|
bool GetStandbyMode();
|
2020-10-03 21:56:09 +02:00
|
|
|
bool MeasurementDone(const FPGA::SamplingResult &result);
|
2020-09-17 09:53:52 +02:00
|
|
|
void Work();
|
|
|
|
|
void SweepHalted();
|
|
|
|
|
void Stop();
|
2020-08-24 19:06:50 +02:00
|
|
|
|
2022-06-26 18:47:34 +02:00
|
|
|
void PrintStatus();
|
|
|
|
|
|
2020-08-24 19:06:50 +02:00
|
|
|
}
|
|
|
|
|
|