Standard Commands for Programmable Instruments (SCPI)

Standard Commands for Programmable Instruments (SCPI)

An embedded engineer at some stage of his career has to work on complex test and measurement devices. The devices can be a simple multimeter to a complex oscilloscope. There are various vendors for these devices and many of these devices can be tuned as per the requirements. Tuned here meant adjusting the parameters of the test instrument as per the requirement. For example, take an oscilloscope which has some settings to be done before capturing a waveform. Likewise, any test instrument needs an adjustment for usage in real time application. For all these instruments there will be a human interface at the front end and remote interface at the back end. Using both these interfaces settings can be done. Human interface involves display, touch, keypad where as remote interface involves connecting a remote PC using interfaces like GPIB, RS232, Ethernet, USB.
For communicating with instrument from a remote PC/local and to control it some commands are desired which are defined by Standard commands for programmable instruments (SCPI) . IEEE 488 is a standard which talks about the digital interface connections on the test measurements. IEEE 488.1 talks about physical interface. SCPI is an IEEE 488.2 specification. To make command, syntax, formats common across the interface this standard helps. The standard talks about data format and syntax only and never talks about the type of connectivity that exists in practise.

Few snippets from SCPI:
  1. SCPI commands are organized in a tree structure
  2. SCPI is a software standard to communicate between remote PC and instrument
  3. Any instrument from any vendor will use the same standard fro communication
  4. Communication happens by ASCII text strings
  5. The communication can be powering on an instrument, triggering an instrument as in case of oscilloscope, remote calibration, having a view of the instrument from remote, Querying various parameters, etc.
  6. In depth communication is handled by binary formats
  7. Genuine commands like CONFigure, MEASure are some commands which gives a view into what we can expect from the standard.
  8. SCPI is hardware independent
  9. Tests applications like MATLAB, LAB VIEW also support SCPI. MATLAB supports the programming of instruments using SCPI commands through INSTRUMENT CONTROL BOX.
An example of querying DC voltage from a instrument is as follows:

                                                        MEASure:VOLTage:DC?

A look of mandatory IEEE 488.2 commands in the below table:

Post a Comment

4 Comments

  1. Hi,

    I would like to let you know that we are selling high PR Tumblr blogs.
    I think as a webmaster, you know the importance of having backlinks from high PR blogs.

    And you also know how costly it can be to have
    backlinks to this high PR blogs.

    Well I would like to inivte you and take a look at our offer.

    At very cheap price, you can have your own high PR Tumblr
    were you can use as backlinks to your site.

    If your interested, please visit: http://bit.ly/highprtumblr

    Thanks

    Here is my webpage - Cheap High PR Tumblr Blogs

    ReplyDelete
  2. Μanaagemеnt Fraսd often involves a senior managemеnt. The financial repoгts may include ρrofit-and-loss statements and expsnse reports.
    The conflict arioseѕ when a certazin gpal is achieved butt the retuгn never ѕeems to be
    at the same level of your expectations.

    Taake a look at my homeрage - Accountant In Boca Raton Fl

    ReplyDelete
  3. TҺe challange sօmе people have even when eating
    sοft foods can make it hard to eat. With The Invisalign systеm, your smile will transform, but
    your way of life doeѕn't need to. An expert doctor with
    a respectable qualification will be a good choice for your treatment and it will be still better if he haѕ also handled ѕome caѕes like yours before.

    Therefore, it is ѕomewhat surprising that adultѕ voluntеer to undergo the straightening process.
    ӏt is reported that the majority of North Americans put up
    witҺ headaches, migraines, jaw paіn, neck and shoulder pain as a rеsսlt of jaw joint
    dysfunction, or a bad bite. A dгeam smile, iгrеspective of
    any physical obstacles thаt you might hɑve, is possible
    today. But going to the dentist is a realіty that we need to recognize especially if wе want tо have a really great smile.
    'Our device is a match mаde in heaven for all Strοngman competitors,' says Charlton. These woսld direct гestorations and indireϲt restоrations.
    For best reѕult, yoս should wear youг invisible
    alignerѕ for 20 hour dаily.

    Feel freе to surf to my Һomepage :: Jupiter grinding teeth
    ()

    ReplyDelete
  4. Write more, thats all I have to say. Literally, it seems as
    though you relied on the video to make your point.
    You definitely know what youre talking about, why waste your intelligence
    on just posting videos to your weblog when you could be giving us something enlightening to read?

    ReplyDelete