TsuITOAR / visa-rs

High-level Rust bindings to VISA(Virtual Instrument Software Architecture)
Apache License 2.0
18 stars 4 forks source link

Wrap remained VISA operations #18

Open TsuITOAR opened 1 year ago

TsuITOAR commented 1 year ago

There are some operations that are not covered by this crate currently, check NI-VISA API for the operations list.

Besides several variadic functions like viPrintf that is not compatible with Rust, most of them are used for memory operations such as viMemAlloc, viMove, viInx and viOutx. To be honest, I'm not familiar with these low-level ops. Despite they are easy to wrap since they have simple function types, I'm not sure whether the environment in which these functions are used has Rust compiler and the wrapped version would look a lot like raw FFI functions.