visa-rs
Safe Rust bindings for VISA(Virtual Instrument Software Architecture) library
Most documentation comes from NI-VISA Product Documentation
Requirements
This crate needs to link to an installed visa library, for example, NI-VISA.
A default link configuration is used for the default installation setup on Windows, Linux and MacOs.
You can overwrite the configuration by specifying the name of the visa library file (default to visa for linux, visa64 or visa32 for windows) by environment variable LIB_VISA_NAME, and the path of the file by environment variable LIB_VISA_PATH.
Usage
Add the dependency below to Cargo.toml
[]
= "0.7"
Codes below will find the first Keysight instrument in your environment and print out its *IDN? response.
Async I/O
We provide high-level async I/O and Tokio adapters with the tokio feature.
See ASYNC.md.
Feedback
If you run into issues, please share your runtime feedback and device/driver environment to help improve the next release.
License: MIT OR Apache-2.0