SCPI format questions

Hello

Im working with SCPI but I am having a few problems to clarify some points of the IEEE 488.2 and SCPI 99 folder, I hope someone here can have the knowledge to help.

My questions concern mainly the separators of unit and command message headers

(1) certain documents I have looked at have specified from all units of message with a colon, others seem to show examples where this is not necessary... is there a reason for this? which is correct?

for example:

(Note the colon between command; and SUBSystem2)

:SUBSystem:COMMand;:SUBSystem2:COMMand2;

or

:SUBSystem:COMMand;SUBSystem2:COMMand2;

(2) some examples in the document of the SCPI 99 seem to suggest that do not use the previous two points allows the following commands of the same control channel, or level in the tree, do not require a reiteration of this path for each command, is that correct?

for example:

:SUBSystem1:COMMand1_1;COMMand1_2;

is equal to

:SUBSystem1:COMMand1_1;:SUBSystem1:COMMand1_2;

??

(3) If a joint command (those starting with a *) will be preceded by a colon?

Thank you very much

wolf99 wrote:

Hello

Im working with SCPI but I am having a few problems to clarify some points of the IEEE 488.2 and SCPI 99 folder, I hope someone here can have the knowledge to help.

My questions concern mainly the separators of unit and command message headers

(1) certain documents I have looked at have specified from all units of message with a colon, others seem to show examples where this is not necessary... is there a reason for this? which is correct?

for example:

(Note the colon between command; and SUBSystem2)

:SUBSystem:COMMand;

:

SUBSystem2:COMMand2;

or

:SUBSystem:COMMand;SUBSystem2:COMMand2;

(2) some examples in the document of the SCPI 99 seem to suggest that do not use the previous two points allows the following commands of the same control channel, or level in the tree, do not require a reiteration of this path for each command, is that correct?

for example:

:SUBSystem1:COMMand1_1;COMMand1_2;

is equal to

:SUBSystem1:COMMand1_1;:SUBSystem1:COMMand1_2;

??

(3) If a joint command (those starting with a *) will be preceded by a colon?

Thank you very much

It's been a while since I did the SCPI, but here's what I'm quickly collecting some of my old code.  And some instruments are slightly different, so check with the instrument before diving head first.

1 & 2.  The colon is the beginning of a level of command.  No no not the colon allows the instrument to know that the command is at the same level hierarhcial.  So, Yes, you are right with #2.  However, some instruments will take orders without the colon.  Power supplies, for example, have sometimes 5.0 VOLT set to 5V, even if the voltage is several layers deep in the set command.

3 no colon needed for special orders such as * RST and * IDN?.

Tags: NI Software

Similar Questions

  • VCAP5-DCA Format Question


    Someone at - it can give me an example of the format question for this review. I'm asking you to violate the NDA, I'm looking for more for the type of stroke that matters. For example

    Q1 - go and set up a new cluster for the following customer requirements - HA HA, vMotion, DRS and FT

    or

    Q2 - needs to have their virtual servers fully load balanced and protected against defects of one host, while having vm1, vm3 and vm2 not experience any downtime due to a fault in the unique host.

    Thank you

    Ed

    Another sample is here

    Anexinet Site of Blog ISG: My VMware Certified Advanced Professional 5 - experience in data center management (VCAP5-DCA)

  • Excel formatting question

    I looked at examples of formatting of cells in Excel, and they have a "range" entry which I do not know how to generate or where it came from. I would like to do something like make the font bolded cells A44. I want to play with color and column widths, but I think I understand that if I know whence these entries and how to tell which file to run on a property node. Thank you

    Gregory

    A Range object refers to a range of cells. It is one of the classes in the Excel object model. You can create a Range object in several ways. One way is to simply use the Range method of a worksheet object. If you look at the example of the 'Table-write to XL' ships with LabVIEW there are a Subvi, termed "value of the cell value. That shows you how a Range object is created so that its value can be set. In this case, the range is a cell, but the range can be from several cells. Some of the properties for a range themselves from other objects. For example, to set bold, you need to write to the property of 'Police' to a Range object. The 'Font' property is in itself another class (Excel.Font).

    All the foregoing is standard ActiveX (nothing to do with LabVIEW), it must essentially be understood programming ActiveX. Regarding Excel, there were numerous examples posted to do various things, and the community has created the thread Excel to gather links to examples. You should carefully read this thread for links to all kinds of examples. NOTE: Do not post a question in this thread - it is a repository of links only.

  • Video format question

    I have a LifeCam VX500 and I running Windows 8.1.  I want to capture video from my neighborhood because there was a problem or two. I can spare 600 GB of disk space for the capture. What format of video would be the best to use? Should I just use the capture on my dashboard? Can I create a folder with a limit?

    Hi Larson,

    Thanks for posting your query on the Microsoft Community.

    For more help with this question, I suggest you contact Microsoft Hardware support. We have a dedicated team to help you with the Microsoft Hardware related issues.

    http://www.Microsoft.com/hardware/en-us/support/contact-us

  • Number formatting Question

    Hi all..

    Please help with this question number formatting.

    I think that this question could have asked a lot of time, but I could not able to find the answer.

    I would format a number with 3 decimal places

    I mean.

    Ex:

    123456 to 123456.000

    12.1 to 12,100

    12.12 to 12.120

    12.123 to 12.123

    12.1234 to 12.123

    1234.12345 to 1234.123

    Please help me with this.

    Thank you

    Use TO_CHAR and mask format:

    SQL> -- generating sample data:
    SQL> with t as (
      2  select 123456 n from dual union
      3  select 12.1 from dual union
      4  select 12.12 from dual union
      5  select 12.123 from dual union
      6  select 12.1234 from dual union
      7  select 1234.12345 from dual
      8  )
      9  --
     10  -- actual query:
     11  --
     12  select n
     13  ,      to_char(n, '999999d000') c
     14  from   t;
             N C
    ---------- -----------
          12.1      12.100
         12.12      12.120
        12.123      12.123
       12.1234      12.123
    1234.12345    1234.123
        123456  123456.000
    6 rows selected.
    
  • Format question

    Hello

    The question is about the DIFF1 column.
    I would be the result of the column DIFF1, be in the following format: "990.90' as you can see below.»
    For some reason, the output is shiffted to the right, while I want to be starting from the left.
    How can I solve this problem?
    Thank you
    SQL> SELECT SYSDATE,
      2         NEXT_RUN_DATE,
      3         CAST(NEXT_RUN_DATE AS DATE) DT ,
      4         ROUND(CAST(NEXT_RUN_DATE AS DATE) - SYSDATE,2) diff,
      5         to_char(ROUND(CAST(NEXT_RUN_DATE AS DATE) - SYSDATE,2),'990.90') DIFF1
      6  FROM DBA_SCHEDULER_JOBS
      7  where job_creator='ASPDEV';
    
    SYSDATE   NEXT_RUN_DATE                                                               DT              DIFF DIFF1
    --------- --------------------------------------------------------------------------- --------- ---------- -------
    30-OCT-10 30-OCT-10 12.45.00.000000 PM +03:00                                         30-OCT-10        .14    0.14

    Add a LTRIM.

    SQL> ed
    Wrote file afiedt.buf
    
      1   SELECT SYSDATE,
      2        NEXT_RUN_DATE,
      3        CAST(NEXT_RUN_DATE AS DATE) DT ,
      4        ROUND(CAST(NEXT_RUN_DATE AS DATE) - SYSDATE,2) diff,
      5        (to_char(ROUND(CAST(NEXT_RUN_DATE AS DATE) - SYSDATE,2),'990.90')) DIFF1
      6     FROM DBA_SCHEDULER_JOBS
      7*    --where job_creator='ASPDEV'
    SQL> /
    
    SYSDATE   NEXT_RUN_DATE                                                               DT              DIFF DIFF1
    --------- --------------------------------------------------------------------------- --------- ---------- -------
    30-OCT-10 30-OCT-10 03.00.00.000000 AM US/PACIFIC                                     30-OCT-10       -.43   -0.43
    30-OCT-10
    30-OCT-10
    30-OCT-10
    
    SQL> ed
    Wrote file afiedt.buf
    
      1   SELECT SYSDATE,
      2        NEXT_RUN_DATE,
      3        CAST(NEXT_RUN_DATE AS DATE) DT ,
      4        ROUND(CAST(NEXT_RUN_DATE AS DATE) - SYSDATE,2) diff,
      5        ltrim(to_char(ROUND(CAST(NEXT_RUN_DATE AS DATE) - SYSDATE,2),'990.90')) DIFF1
      6     FROM DBA_SCHEDULER_JOBS
      7*    --where job_creator='ASPDEV'
    SQL> /
    
    SYSDATE   NEXT_RUN_DATE                                                               DT              DIFF DIFF1
    --------- --------------------------------------------------------------------------- --------- ---------- -------
    30-OCT-10 30-OCT-10 03.00.00.000000 AM US/PACIFIC                                     30-OCT-10       -.43 -0.43
    30-OCT-10
    30-OCT-10
    30-OCT-10
    
    SQL> 
    

    Demo added: Johan on October 30, 2010 12:52 AM

  • ITunes to Apple Lossless Format Question for 12.5.1.21

    I recently repaired my Windows 10 64-bit OS and reinstalled iTunes (current version 12.5.1.21).  I noticed that you are no longer able to select a song file and store it as Apple Lossless file when right click on iTunes.  I found a choice in the 'Settings' menu that allows you to import songs in this format, but when I select "Add files to library" in the menu song file is not stored/converted to the Apple Lossless Format and remains in its original format of MP3.

    Is it possible on this issue and why it is no longer available as an option when you work with the individual as file before?  Don't know what the thinking was behind it.

    The functions Add a file/folder to the library have never included format conversions, the support files will always be added to your library in their original format.  If you select Apple Lossless as the default format for the import of CD, there will be a menu option (file > convert > create Apple Lossless version) you can use to perform such a conversion after importation (you'll end up with additional items in your library, the original files and those converted).  However, if your original files are mp3s it is absolutely unnecessary to convert them into Apple Lossless - you will get only the larger files with no improvement in audio quality.

  • MS Office 2007 Excel Auto-Format Question

    I have a .csv file I open, update, and save using Excel 2007. I have a "10-1" auto part number always formats for a date when I open the file (passed to "Oct - 1"). I change the formatting to the text and re - enter "10-1" and then save the file as a .csv and I guess it saves as "10-1" and not "Oct - 1" but I cannot say because when I open it again... boom... changed into "Oct - 1". "" It's just a huge disadvantage since I am in this folder all the time.

    Is there a way to permanently who go off in this document, but leave it on for all my other documents? A column or a cell must be in the text? The auto shape can be disabled?

    Please advise! Advice?

    The f

    "10-1" must be a date? Right-click on the cell and choose Format from cell and find the Date in the category on the left list. Select the format you prefer. If she is not supposed to be a fair date change the General category or another format you like.

  • Lotus Notes Date format question on the XP machine

    User on the AD domain is part of the XP machine and the date in the Lotus Notes database format becomes jj/mm/aa in a field, but saves as 7 December 2012 without worrying for the user.

    I sign on the pc and everything works fine, any ideas?

    Hello Skeetersmom,

    The Microsoft Answers community focuses on issues and problems related to the consumer environment. Please join the public IT pro TechNet forums below:
    TechNet - Windows Server
     
    Thank you

  • SimpleDateFormat formatting question time

    SimpleDateFormat timeFormat = new SimpleDateFormat("hh:mm:ss");
    final DateField timeField = new DateField("", 0, timeFormat);
    

    Heres how I'm trying to format it, and then I'm filling timeField with my

    timerField.setDate (splitTime.getTimeMillis ());

    I'm triyng to indicate the time between my events, it all fine formats (minutes and seconds) but the string field formatting still displays the current hours our day and hour not between my events!

    It should always begin at 0 and then increase every hour. I don't want to show him the time of day, but my own timer time

    I find it weird that all other fields are working well, do not show the minute or second in the day, but the time field will not give.

    I use DateField to this effect.  Hours and minutes display correctly.

    What you have not thought, is that the DateField is specific time zone and by default, uses the local time zone.  So, if give you him a time of 1 hour, then it means actually 1 hour after midnight on time.  Now, the time is UTC, so this time will then be converted to what would be each 01:00 on January 1, 1970 in your time zone.  This is the problem that you are experiencing.

    To resolve this issue, it is simple, just set the time zone for the DateField to GMT.  And this should solve your problem.

    If you use this as an input field, you really be aware that she in fact display a date - just not showing the Date part.  So when you do a field getTime() you must extract just the hour and minute and ignore the game date.  For example, that you post at 18:00 because the user does something for 18 hours.  The user that comes to 01:00 and being sensitive, roll control up to 19, 20, 21, etc. 1.  Then the DateField will give back the next day (25 hours) not 1 hour.  Same thing happens if the user cancels the time.

    So the trick is to set the time zone on the DateField GMT and make sure you take any Date component if you use this entry.

    Hope this is clear.

  • MAC address Format Question

    Nobody knows the right format for the client MAC address in the internal of the ACS database such that it will authenticate 8021 x of a cisco switch queries?

    Is this: 00-11-43-4A-B8-62

    or: 0011.434 A. B862

    or maybe: 0011434AB862

    or something else?

    I read the config guides, but I don't see it addressed again.

    Thanks in advance.

    ACS supports three following standard formats to represent the MAC-48 addresses in human readable form:

    Six groups of two hexadecimal digits, separated by dashes (-) in the order of transmission, e.g. 01-23-45-67-89-ab.

    Six groups of two separated by a colon (:)), for example, 01:23:45:67:89:ab.

    Three groups of four hexadecimal digits separated by periods (.), for example, 0123.4567.89ab.

    Kind regards

    ~ JG

    Note the useful messages

  • FOLLOW THE FORMAT QUESTION

    IN ADDITION TO MY FORMAT OF MENU DROP-DOWN CHANGES TO I NOTICE WHEN I USE THE SHIFT KEY, IT ACTS LIKE HITTING THE BACK BUTTON, ELIMINATING THE TAB GOES TO A SELECTION OF RESEARCH, GO TO THE ISSUE OF RESEARCH, ETC, ETC, ETC.

    Since you did not remain in your original thread, nobody knows what you're talking about. In addition, lose the caps. Hard to read and considered impolite shouting.

  • BlackBerry Smartphones video Format Question

    I have a BlackBerry 8310 Curve with a 4 GB Micro SD card.  The unit recognizes and plays that have been purchased on Amazon.com MP3 music, but he has a problem with the MP4 videos.  I bought DVD, conversion of CuCusoft.com software and converted several DVD in a film MP4 format.  The device recognizes the title of the film, but I got an "Error" message when I try to play the movie, which makes me think that maybe that's a problem of formatting of MP4.

    I tried to Lexar, SanDisk and transcend Micro SD 4 GB cards and received the same message.

    I did not have this problem with the original software included with the phone.

    The problem seems to have happened when I downloaded the latest version of the software from the BlackBerry site which would allow this phone to recognize a 8 GB Micro SD memory card.  However, I wasn't able to get the unit to properly recognize a card 8 GB even with the new software installed.

    Any information about what format the BlackBerry needs to recognize and play DVD converted to MP4 would be appreciated.

    The "MP4" format is very broad as it has about 15 different types of MP4 formats are available in the converter software, I bought so I am interested in a specific type of MP4 format I need to do in order to enjoy your movies on my BlackBerry.

    Thank you

    BigKahuna

    Here's the link with all supported formats

    http://www.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB05482&sliceId=1&docTy...

  • Windows 7 Home Premium Format question

    I recently formatted my laptop (Lenovo Ideapad Z750) after running into some problems, it was a good idea until my laptop decided that he would recognize is no longer that it was a 64 bit system and I can not install Win7 64 bit OS, which also means that I'm not able to set up my graphics card can someone please help me solve this problem been banging my head against a brick wall for a few days now and need help outside.

    Any help is appreciated.

    What is the specific error message you get when you try to install Windows 7 64 bit.

    What are the full specifications of the system:

    Processor, memory, graphics etc.

  • : Approval notification - add catalog VAPP: accept stick - Email formatting question

    Hello

    I use the package of notifications to intercept the vCD blocking tasks.

    Attached, when getting mail to approve or reject the vApp, details of approval of VAPP is not formatted. Use the latest versions of vCO, vCD (5.5).

    Any reference will be useful... Thank you.

    Try to update file vmo.properties updated with the following line: (allows an appropriate display of the HTML in the approval page)

    com.vmware.o11n.webview.htmlescaping.disabled = true

    Please let me know if it solves your problem. This little note from configuration seems to have never been published in some old release notes and in several positions of the community. If it solves your problem, I will present a request for documentation for adding it to the official documentation or as a KB article.

Maybe you are looking for