pub struct IdnCommand<'a> {
    pub manufacturer: &'a [u8],
    pub model: &'a [u8],
    pub serial: &'a [u8],
    pub firmware: &'a [u8],
}
Expand description

10.14 *IDN?, Identification Query

The intent of the Identification query is for the unique identification of devices over the system interface.

4.1.3.6 SCPI-99 Comments:

IEEE 488.2 is purposefully vague about the content of each of the four fields in the response syntax. SCPI adds no further requirement, but here are some suggestions:

All devices produced by a company should implement the *IDN? response consistently.

  • Field 1, the Manufacturer field, should be identical for all devices produced by a single company.
  • Field 2, the Model field, should NOT contain the word “MODEL”.
  • Field 4, the Firmware level field, should contain information about all separately revisable subsystems. This information can be contained in single or multiple revision codes.

Fields

manufacturer: &'a [u8]model: &'a [u8]serial: &'a [u8]firmware: &'a [u8]

Trait Implementations

Called when the event form is used

Called when the query form is used

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.