pub struct Board { /* private fields */ }Implementations§
Source§impl Board
impl Board
pub fn with_board_number(board_number: c_int) -> Self
Sourcepub fn clear_devices(
&self,
instruments: &Vec<Instrument>,
) -> Result<(), GpibError>
pub fn clear_devices( &self, instruments: &Vec<Instrument>, ) -> Result<(), GpibError>
clear devices
Sourcepub fn interface_clear(&self) -> Result<(), GpibError>
pub fn interface_clear(&self) -> Result<(), GpibError>
perform interface clear. The interface clear causes all devices to untalk and unlisten, puts them into serial poll disabled state (don’t worry, you will still be able to conduct serial polls), and the board becomes controller-in-charge.
Sourcepub fn find_listeners(&self) -> Result<Vec<Instrument>, GpibError>
pub fn find_listeners(&self) -> Result<Vec<Instrument>, GpibError>
find listeners on the board
Trait Implementations§
impl StructuralPartialEq for Board
Auto Trait Implementations§
impl Freeze for Board
impl RefUnwindSafe for Board
impl Send for Board
impl Sync for Board
impl Unpin for Board
impl UnwindSafe for Board
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more