This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Using SCPI Commands

Standard Commands for Programmable Instruments or SCPI commands are ASCII based set of pre-defined commands and responses. They use the same data format across all SCPI compliant instruments. You can use SCPI commands with the Instrument Control Toolbox™ and the MATLAB® programming environment to control multiple instruments using similar functions. You can access a common functionality in instruments without changing your programming environment. SCPI commands are simple and flexible and accept a range of parameter formats. This allows you to easily program your instrument. The response to SCPI commands can be status information or data. You can define the format of the data independent of the device or the measurement. For more information refer to the IVI Foundation SCPI Specifications.

Commonly Used SCPI Commands

*CLS Clear the status
*ESE Enable standard event
*ESE? Query if event is enabled and standard
*ESR?Query standard event status register
*IDN? Query instrument identification
*OPC Operation complete
*OPC? Query if operation is complete
*RST Instrument reset
*SRE Enable service request
*SRE? Query id service request is enabled
*STB? Query read of status byte
*TST? Query instrument self test
*WAI Wait to continue
Was this topic helpful?