Expand description
#简单的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();
Modules§
Structs§
- Used in
DefaultRM::open
andInstrument::lock
, specifies the type of lock requested - Default Resource Manager for VISA
- Session to a specified resource