SlintFutureSDRDemo_Screenrecording.mov
cargo install --locked trunk
# or with binstall
cargo binstall trunk- (Optional) adapt
index.htmlto use the correct feature set. Default is the entirely self-contained version. - Run
trunk serve --release(takes a while) - Open your browser at the address shown by trunk (e.g.,
http://127.0.0.1:8080/)
Use cargo run or cargo run --bin <binary> --features <feature1>,<feature2> to build and run the program.
cargo run --releaseIf you want, you can generate a new vector and make settings with
cargo run --bin record_to_file --features record_to_file --no-default-featurescargo run --features replay_vec --no-default-featuresStart the Websocket transmitter in a separate session:
cargo run --bin websocket_tx --features websocket_tx --no-default-featuresand then the websocket receiver:
cargo run --features websocket_rx --no-default-featuresIn order to have everything contained in a single crate, different functionality is feature-gated and the ones that are not related to producing plots are in separate binaries.
By Default svg and futuresdr_integrated features are enabled.
CAUTION: The SVG backend is rather slow, so use it with --release.
The features are described in Cargo.toml. The following combinations are valid:
| svg | futuresdr_integrated | record_to_file | replay_vec | websocket_tx | websocket_rx | --bin |
|---|---|---|---|---|---|---|
| x | x | run_plot |
||||
| x | x | run_plot |
||||
| x | x | run_plot |
||||
| x | record_to_file |
|||||
| x | websocket_tx |