Analog In Functions
dev.io.analog_in - wire path i\j - generated from fwMenuAnalogIn.
enable_analog_in_stream
Stream Analog In. Streams analog input values to the host at the given rate.
Wire command: i\j\s
| Arg | Wire type |
|---|---|
| stream_rate_ms | decS32 |
Returns: none (Ok/Err only)
dev.io.analog_in.enable_analog_in_stream(stream_rate_ms: int) -> Result
ow_status ow_io_analog_in_enable_analog_in_stream(ow_device* dev, int32_t stream_rate_ms);
dev.io().analog_in().enable_analog_in_stream(stream_rate_ms: i32) -> Result<(), OwError>
The C and Rust signatures above are also the WASM guest signatures - the device API surface is identical; only the transport differs (ow_open_wasm(&dev) in C, OneWili::open() in Rust).
dev.io.analog_in.enable_analog_in_stream(stream_rate_ms) # check dev.ok