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