pub struct TstCommand;
Expand description
10.38 *TST?, Self-Test Query
The self-test query causes an internal self-test and places a response into the Output Queue indicating whether or not the device completed the self-test without any detected errors. Optionally, information on why the self-test was not completed may be contained in the response. The scope of the internal self-test shall appear in the device documentation, see 4.9.
The *TST? query shall not require any local operator interaction. It shall not create bus conditions that are violations to the IEEE Std 488.1-1987 or IEEE Std 488.2-1992 standards. Otherwise, the scope of the self-test is completely at the discretion of the device designer.
Upon successful completion of *TST?, the device settings shall be restored to their values prior to the *TST?; set to fixed, known values that are stated in the device documentation; or set to values deÞned by the user and stored in local memory.
Trait Implementations
sourceimpl Command for TstCommand
impl Command for TstCommand
fn meta(&self) -> CommandTypeMeta
sourcefn event(
&self,
_context: &mut Context<'_>,
_args: &mut Tokenizer<'_>
) -> Result<()>
fn event(
&self,
_context: &mut Context<'_>,
_args: &mut Tokenizer<'_>
) -> Result<()>
Called when the event form is used
sourcefn query(
&self,
context: &mut Context<'_>,
_args: &mut Tokenizer<'_>,
response: &mut ResponseUnit<'_>
) -> Result<()>
fn query(
&self,
context: &mut Context<'_>,
_args: &mut Tokenizer<'_>,
response: &mut ResponseUnit<'_>
) -> Result<()>
Called when the query form is used
fn help(&self, _response: &mut ResponseUnit<'_>)
Auto Trait Implementations
impl RefUnwindSafe for TstCommand
impl Send for TstCommand
impl Sync for TstCommand
impl Unpin for TstCommand
impl UnwindSafe for TstCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more