Expand description
21.21 :VERSion?
SYSTem:VERSion?
query returns anformatted numeric value corresponding to the SCPI version number for which the instrument complies. The response shall have the form YYYY.V where the Ys represent the year-version (i.e. 1990) and the V represents an approved revision number for that year. If no approved revisions are claimed, then this extension shall be 0.
Fields
year: u16
rev: u8
Trait Implementations
sourceimpl Command for SystVersCommand
impl Command for SystVersCommand
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<'_>)
sourceimpl Data for &SystVersCommand
impl Data for &SystVersCommand
fn format_response_data(&self, formatter: &mut dyn Formatter) -> Result<()>
Auto Trait Implementations
impl RefUnwindSafe for SystVersCommand
impl Send for SystVersCommand
impl Sync for SystVersCommand
impl Unpin for SystVersCommand
impl UnwindSafe for SystVersCommand
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