National Instruments none Home Theater System User Manual


 
Chapter 5 Getting Started with Measurement Studio
© National Instruments Corporation 5-55 Measurement Studio User Manual
Performing a query on the instrument
Note This walkthrough was created using the NI Instrument Simulator. Any identification
information or sample code generated for this device will be different depending on the
instrument actually used.
1. The Select Instrument step automatically appears in the Step
Sequence window when you launch the Instrument I/O Assistant.
Select the instrument you want to communicate with or the port to
which your instrument is connected from the Select an instrument
drop-down listbox.
2. Select Add Step and then select Query and Parse from the expanded
list. You use a Query and Parse step to both write a command to an
instrument and read the instrument’s response.
3. Enter the command
*idn? and click Run this step. The *idn?
command is a standard instrument command for querying an
instrument’s identification information. If your instrument does not
support the
*idn? command, refer to the documentation for the
instrument for more information about the instrument’s command set.
4. Click Auto parse to parse the instrument’s response. The Auto parse
button automatically parses binary block data and ASCII text. Refer to
the Parsing an Instrument Response topic in the Instrument I/O
Assistant Help for information about how the Assistant parses different
data formats.