10 releases
0.1.10 | Jul 18, 2024 |
---|---|
0.1.9 | May 31, 2024 |
0.1.8 | Mar 25, 2024 |
0.1.7 | Dec 21, 2023 |
0.1.4 | Mar 30, 2023 |
#370 in Hardware support
511 downloads per month
33KB
787 lines
mcuvisa
简单的visa库基于visa-rs二次封装
use mcuvisa::{AccessMode, IInstr, RRm,power::p66319_d::P66319D};
let cdd = mcuvisa::DefaultRM::new().unwrap();
let mut cdsd= cdd.m_open("TCPIP0::localhost::inst0::INSTR",AccessMode::NO_LOCK, 30).unwrap();
cdsd.m_send("cmd");
cdsd.m_get_describ();
let mut pow = P66319D::new(cdsd);
pow.m_init();
lib.rs
:
#简单的visa库基于visa-rs二次封装
use mcuvisa::{AccessMode, IInstr, RRm,power::p66319_d::P66319D};
let cdd = mcuvisa::DefaultRM::new().unwrap();
let mut cdsd= cdd.m_open("TCPIP0::localhost::inst0::INSTR",AccessMode::NO_LOCK, 30).unwrap();
cdsd.m_send("cmd");
cdsd.m_get_describ();
let mut pow = P66319D::new(cdsd);
pow.m_init();
Dependencies
~2MB
~46K SLoC