Tek MSO4104 - Programatically display automatic measurements

I am trying to program my MSO4104 Tek to display programmatically automatic measures, such as the peak-to-peak amplitude, etc.. I can do on the front panel of the range, and I can read back the values I want via VISA, however, I can't find the command to add measures to the screen on the field programmatically.

Let me rephrase... I think that the only way that would work to simulate the front and button keys running using the VISA controls: "FPanel: Press ' and 'FPanel:Turn'... but it's medium heavy... it seems that it MUST be a single command to add an automatic measurement of the Pk2Pk to the screen!


Tags: NI Hardware

Similar Questions

  • Since the update of FF 16.0.1 FF your Page is empty, my bookmarks bar is not displayed automatically + navigation toolbars remains on the first url.

    Since the update of FF 16.0.1 FF your Page is empty, my bookmarks bar is not displayed automatically + navigation toolbars remains on the first url.

    I uninstalled 16.0.1 and reinstalled 15.0.1 and everything worked fine, then I reinstalled 16.0.1 and have questions again.

    Thanks for responding but I already uninstalled and re-installed, have now no problem.

  • How can I get my homepage to display automatically whe open a new tab pls

    How can I get my homepage to display automatically whe open a new tab pls

    You can do that now with this extension.

    https://addons.Mozilla.org/en-us/Firefox/addon/NewTabURL/

  • Is it possible to display my measurements on my iPad 3?

    is it possible to display my measurements on my iPad3?

    I'm having cDAQ 9191 and NOR-9234, I'd like to see my measurements on my iPad3.

    Q1: do I need to have a MacBook Pro to make that request?

    Q2: I have to buy a license extral to my suite of Labview developer?

    Q3: is there a step by step guide to display the measure on iPad3?

    https://iTunes.Apple.com/us/app/data-dashboard-for-LabVIEW/id481303987?Mt=8

    I've seen elsewhere, but never used (still!)

  • HorizontalFieldManager Fix width automatic measurement with height

    Hi all

    I would like to make a HorizontalFieldManager with a fixed width, but automatic measurement with height. Do anyone with a good idea about it. Thanks for the help!

    Thanks for your help!

    Although your idea is a solution is not complete, it gives me a good idea to solve the problem.
    My solution is to change my coding over a part of the first horizontalfieldmanger:

    HorizontalFieldManager hfm1 = new HorizontalFieldManager()

    {

    public int getPreferredWidth()

    {

    Returns the value 100;

    }

    protected void sublayout (int maxWidth, maxHeight int) {}

    Super.sublayout (getPreferredWidth(), maxHeight);

    LeftField RadioButtonField = getLeftButton();

    If (leftField! = null & is equal to (leftField.getManager ())) {}

    int x = 0;

    int y = 0;

    setPositionChild (leftField, x, y);

    }

    }

    };

  • Index.html in sensitive page is not displayed automatically in the local folder of DW

    I use Adobe Dreamweaver Creative cloud version 13-Dreamweaver 2013-implementation to date. It is for Adobe Dreamweaver Creative Cloud manual, full AUTHORS: Hoisington/Minnick - 2015 ©.

    Operating system is windows 10 Windows 8.1 update

    8 GB and 64-bit hardware and do not use a third-party software.

    I create reactive web page of Plant_Nursery and index.html in the nursery Web page is not displayed automatically in the local folder of DW. Also, page nursery to see a preview in Google chrome and Firefox is correctly read. However not seen in school CINV webserver URL - after downloading files via CoreFTP.

    To resolve this problem, I contacted Deamweaver support team, but they have not solved this problem.  Also, I went to https://helpx.adobe.com/dreamweaver/how-to/make-website-pt2-add-content.html. To create HTML myself, I click on the Panel to insert with split button, but there is that HTML5 video to select.  Right now, I'm not able to create index.html. Please help me how is automatically created index.html in my nursery Web page. I dropped this web design class-Adobe Dreamweaver creative cloud in the last six months because the same matter has not been resolved. To resolve this problem, I spent more than 4 days. I don't want to drop this class once more because of index.html file has failed.

    DW does not automatically your page index for you.

    You must choose the file > New > Site templates > PlantN > nurseryTemplate to create a child page in your site template.

    Then save under > index.html to the root of your site.

    This is how you create all the pages of your site that you plan to use the model for.

  • Automatic measures only 1 color ink (modification of the script)

    Hi all

    I need to modify this script as well as bring the measure already in are... PANTONE Pantone 485 (solid coated),

    I need to change this string, but do not know how...

    Thank you very much

    line color measurement

    var color = new RGBColor;                                              How to change it, to the ink pantone...?

    255 = Color.Green;

    0 = Color.Blue;

    /*
    * Description: An Adobe Illustrator script that automates measurements of objects. This is an early version that has not been sufficiently tested. Use at your own risks.
    * Usage: Select 1 to 2 page items in Adobe Illustrator, then run this script by selecting File > Script > Other Scripts > (choose file)
    * License: GNU General Public License Version 3. (http://www.gnu.org/licenses/gpl-3.0-standalone.html)
    *
    * Copyright (c) 2009. William Ngan.
    * http://www.metaphorical.net
    */
    
    
    // Create an empty dialog window near the upper left of the screen 
    var dlg = new Window('dialog', 'Spec');
    dlg.frameLocation = [100,100];
    dlg.size = [250,250];
    
    
    dlg.intro = dlg.add('statictext', [20,20,150,40] );
    dlg.intro.text = 'First select 1 or 2 items';
    
    
    dlg.where = dlg.add('dropdownlist', [20,40,150,60] );
    dlg.where.selection = dlg.where.add('item', 'top');
    dlg.where.add('item', 'bottom');
    dlg.where.add('item', 'left');
    dlg.where.add('item', 'right');
    
    
    dlg.btn = dlg.add('button', [20,70,150,90], 'Specify', 'spec');
    
    
    
    
    
    
    // document
    var doc = activeDocument;
    
    
    // spec layer
    try {
              var speclayer =doc.layers['spec'];
    } catch(err) {
              var speclayer = doc.layers.add();
              speclayer.name = 'spec';
    }
    
    
    // measurement line color
    var color = new RGBColor;
    color.green = 255;
    color.blue = 0;
    
    
    // gap between measurement lines and object
    var gap = 2;
    
    
    // size of measurement lines.
    var size = 10;
    
    
    // number of decimal places
    var decimals = 0;
    
    
    // pixels per inch
    var dpi = 72;
    
    
    /**
              Start the spec
    */
    function startSpec() {
      
              if (doc.selection.length==1) {
                        specSingle( doc.selection[0].geometricBounds, dlg.where.selection.text );
              } else if (doc.selection.length==2) {
                        specDouble( doc.selection[0], doc.selection[1], dlg.where.selection.text );
              } else {
                                  alert('please select 1 or 2 items');
              }
    
    
              dlg.close ();
    }
    
    
    
    
    
    
    
    
    /**
              Spec the gap between 2 elements
    */
    function specDouble( item1, item2, where ) {
      
              var bound = new Array(0,0,0,0);
    
    
              var a =  item1.geometricBounds;
              var b =  item2.geometricBounds;
      
              if (where=='top' || where=='bottom') {
      
                        if (b[0]>a[0]) { // item 2 on right,
      
                                  if (b[0]>a[2]) { // no overlap
                                            bound[0] =a[2];
                                            bound[2] = b[0];
                                  } else { // overlap
                                            bound[0] =b[0];
                                            bound[2] = a[2];
                                  }
                        } else if (a[0]>=b[0]){ // item 1 on right
      
                                  if (a[0]>b[2]) { // no overlap
                                            bound[0] =b[2];
                                            bound[2] = a[0];
                                  } else { // overlap
                                            bound[0] =a[0];
                                            bound[2] = b[2];
                                  }
                        }
    
    
                        bound[1] = Math.max (a[1], b[1]);
                        bound[3] = Math.min (a[3], b[3]);
      
              } else {
      
                        if (b[3]>a[3]) { // item 2 on top
                                  if (b[3]>a[1]) { // no overlap
                                            bound[3] =a[1];
                                            bound[1] = b[3];
                                  } else { // overlap
                                            bound[3] =b[3];
                                            bound[1] = a[1];
                                  }
                        } else if (a[3]>=b[3]){ // item 1 on top
      
                                  if (a[3]>b[1]) { // no overlap
                                            bound[3] =b[1];
                                            bound[1] = a[3];
                                  } else { // overlap
                                            bound[3] =a[3];
                                            bound[1] = b[1];
                                  }
                        }
      
                        bound[0] = Math.min(a[0], b[0]);
                        bound[2] = Math.max (a[2], b[2]);
              }
              specSingle(bound, where );
    }
    
    
    
    
    /**
              spec a single object
              @param bound item.geometricBound
              @param where 'top', 'bottom', 'left,' 'right'
    */
    function specSingle( bound, where ) {
    
    
      
              // width and height
              var w = bound[2]-bound[0];
              var h = bound[1]-bound[3];
    
    
              // a & b are the horizontal or vertical positions that change
              // c is the horizontal or vertical position that doesn't change
              var a = bound[0];
              var b = bound[2];
              var c = bound[1];
      
              // xy='x' (horizontal measurement), xy='y' (vertical measurement)
              var xy = 'x';
      
              // a direction flag for placing the measurement lines.
              var dir = 1;
      
              switch( where ) {
      
                        case 'top':
                                  a = bound[0];
                                  b = bound[2];
                                  c = bound[1];
                                  xy = 'x';
                                  dir = 1;
                                  break;
      
                        case 'bottom':
                                  a = bound[0];
                                  b = bound[2];
                                  c = bound[3];
                                  xy = 'x';
                                  dir = -1;
                                  break;
      
                        case 'left':
                                  a = bound[1];
                                  b = bound[3];
                                  c = bound[0];
                                  xy = 'y';
                                  dir = -1;
                                  break;
      
                        case 'right':
                                  a = bound[1];
                                  b = bound[3];
                                  c = bound[2];
                                  xy = 'y';
                                  dir = 1;
                                  break;
      
              }
    
    
              // create the measurement lines
              var lines = new Array(); 
      
              // horizontal measurement
              if (xy=='x') {
      
                        // 2 vertical lines
                        lines[0]= new Array( new Array(a, c+(gap)*dir) );
                        lines[0].push ( new Array(a, c+(gap+size)*dir) );
                        lines[1]= new Array( new Array(b, c+(gap)*dir) );
                        lines[1].push( new Array(b, c+(gap+size)*dir) );
      
                        // 1 horizontal line
                        lines[2]= new Array( new Array(a, c+(gap+size/2)*dir ) );
                        lines[2].push( new Array(b, c+(gap+size/2)*dir ) );
      
                        // create text label
                        if (where=='top') {
                                  var t = specLabel( w, (a+b)/2, lines[0][1][1] );
                                  t.top += t.height;
                        } else {
                                  var t = specLabel( w, (a+b)/2, lines[0][0][1] );
                                  t.top -= t.height;
                        }
                        t.left -= t.width/2;
      
              // vertical measurement
              } else {
      
                        // 2 horizontal lines
                        lines[0]= new Array( new Array( c+(gap)*dir, a) );
                        lines[0].push ( new Array( c+(gap+size)*dir, a) );
                        lines[1]= new Array( new Array( c+(gap)*dir, b) );
                        lines[1].push( new Array( c+(gap+size)*dir, b) );
      
                        //1 vertical line
                        lines[2]= new Array( new Array(c+(gap+size/2)*dir, a) );
                        lines[2].push( new Array(c+(gap+size/2)*dir, b) );
      
                        // create text label
                        if (where=='left') {
                                  var t = specLabel( h, lines[0][1][0], (a+b)/2 );
                                  t.left -= t.width;
                        } else {
                                  var t = specLabel( h, lines[0][0][0], (a+b)/2 );
                                  t.left += size;
                        }
                        t.top += t.height/2;
              }
      
              // draw the lines
              var specgroup = new Array(t);
      
              for (var i=0; i<lines.length; i++) {
                        var p = doc.pathItems.add();
                        p.setEntirePath ( lines[i] );
                        setLineStyle( p, color );
                        specgroup.push( p );
              }
    
    
              group(speclayer, specgroup );
    
    
    }
    
    
    
    
    /**
              Create a text label that specify the dimension
    */
    function specLabel( val, x, y) {
      
                        var t = doc.textFrames.add();
                        t.textRange.characterAttributes.size = 8;
                        t.textRange.characterAttributes.alignment = StyleRunAlignmentType.center;
    
    
                        var v = val;
                        switch (doc.rulerUnits) {
                                  case RulerUnits.Inches: 
                                            v = val/dpi;
                                            v = v.toFixed (decimals);
                                            break;
      
                                  case RulerUnits.Centimeters:
                                            v = val/(dpi/2.54);
                                            v = v.toFixed (decimals);
                                            break;
      
                                  case RulerUnits.Millimeters:
                                            v = val/(dpi/25.4);
                                            v = v.toFixed (decimals);
                                            break;
      
                                  case RulerUnits.Picas:
                                            v = val/(dpi/6);
                                            var vd = v - Math.floor (v);
                                            vd = 12*vd;
                                            v =  Math.floor(v)+'p'+vd.toFixed (decimals);
                                            break;
      
                                  default:
                                            v = v.toFixed (decimals);
                        }
      
                        t.contents = v;
                        t.top = y;
                        t.left = x;
      
                        return t;
      
    }
    
    
    function setLineStyle(path, color) {
                        path.filled = false;
                        path.stroked = true;
                        path.strokeColor = color;
                        path.strokeWidth = 0.5;
      
                        return path;
    }
    
    
    
    
    /**
    * Group items in a layer
    */
    function group( layer, items, isDuplicate) {
      
              // create new group
              var gg = layer.groupItems.add();
    
    
              // add to group
              // reverse count, because items length is reduced as items are moved to new group
              for(var i=items.length-1; i>=0; i--) {
      
                        if (items[i]!=gg) { // don't group the group itself
                                  if (isDuplicate) {
                                            newItem = items[i].duplicate (gg, ElementPlacement.PLACEATBEGINNING);
                                  } else {
                                            items[i].move( gg, ElementPlacement.PLACEATBEGINNING );
                                  }
                        }
              }
      
              return gg;
    }
    
    
    
    
    
    
    
    
    // ----------------------------------------------------------------------------------------------------------------------------------------
    
    
    dlg.btn.addEventListener ('click', startSpec );
    dlg.show();
    
    

    As a first step, you must necessarily swatches Pantone in your document.

    Then it's easy:

    Change this:

    // measurement line color
    var color = new RGBColor;
    color.green = 255;
    color.blue = 0;
    

    to do this:

    // measurement with Pantone line color
    var color = doc.swatches.getByName('Pantone 485 C').color
    

    That's all.

  • Signs of Satellite L500-1DT - problem at boot - is displayed automatically

    When I start my laptop instead the usual Toshiba logo projection I get a black screen with white writing detailing the installed components & the usual instructions of pressing F button at the bottom.

    I had to disable my password box because it was automatically filling in the box with a load of points which was the wrong password.

    Loading subsequently I have Yahoo as my homepage, it fills the area of research with a line of commas without me touching anything.

    My comma key does not stick & also if I click on the windows logo below to display the start menu it whitens frequently fill the area search by commas.

    Any ideas would be welcome.

    Hello

    It looks a bit like the keyboard would be defective.
    I don t know why but it seems that the keys are pressed and will automatically appear without touching the keyboard.

    You may need to replace the keyboard to solve this problem.

  • How can I get the number of display automatically on a table line?

    I have an array of measures, and I would like the line number to display on each line. The challenge is that everytime I run the program, the total number of lines will be different, so I'd figures updated every time that I run the program based on the current number of lines.

    I've attached a picture to illustrate what I'm doing.

    Find the attached example (registered in the 2009 version), and you can extract what you need for your code!

  • My Windows Photo Gallery has incorrect time for good that my computer is correct. I know how to change the time, but wanted the exact time is displayed automatically when you scan photos etc as before.

    Time is incorrect in Windows Photo Gallery and I would like to do this automatically scanned early for photos instead of my change time.

    Hi Sardai,

    Unfortunately, this information is not always accurate. If you took some of your pictures in a different time zone, for example, the time recorded for these pictures could be incorrect by several hours. The camera can also be set to the wrong date and time. Or, if you're scanning photos, ta date will reflect the date that they have been digitized, not the date on which they were taken. All these anomalies can be adjusted manually.

    To change the date or time

    1. open Windows Photo Gallery by clicking on the Start button, all programs, and then clicking Windows Photo Gallery.

    2. If you do not see the details on the side of the window pane, click information on the toolbar to display it.

    3. click on the image you want to change.

    1. to select more than one picture, hold down the CTRL and click each picture you want to change.

    4. click on the date at the top of the details pane.

    5. click on the arrow next to the date and then click the correct date on the calendar.

    6. click on the time at the top of the details pane.

    7. Select the correct time.

     

    To adjust the time for pictures taken in a different time zone

    1. open Windows Photo Gallery by clicking on the Start button, all programs, and then clicking Windows Photo Gallery.

    2. right click on the image you want to change and then click on change time taken.

    To select more than one picture, hold down the CTRL and click each picture you want to change, and then click a picture when you are done.

    3. in the change to box, type the number of hours to change, or click the up or down arrow to select the number of hours. To make the new start time, type a minus sign (-) before the number.

    For more information, see the link below:

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-the-date-and-time-a-picture-was-taken

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • When I opened a new tab, it displays automatically Yahoo Search. I want a blank page. How can I change this?

    When I open a new Yahoo Search tab automatically rises. This just started happening, and I don't know why. I want the new tab to open a blank page.

    This has happened

    Each time Firefox opened

    is yesterday

    Probably caused by an extension that was recently installed.
    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+theme...

  • Words are displayed automatically while dictating to speech recognition

    Original title: speech recognition
    My speech recognition works very well except for a really irritating problem. If I fall silent, it will print a series of... of... or if if if. I am very experienced with speech recognition - I used the Dragon for years and have a very good headphones so what goes wrong? If I say 'new line' it will always put a 'from' front the word I say to start the new paragraph. Help please?

    Hello

    Are what program you trying to dictate to the breast?

    If you use a third party software, then try to use Word or Notepad and check if it makes a difference.

    If you already use speech recognition in Word, you can use the speech dictionary to exclude these words (which appear automatically) dictation. You can also
    Add words that you frequently use that speech recognition does not recognize.

    To open the speech dictionary:
    a. make sure that speech recognition is running and then say "open Speech Dictionary."
    b. click or say add a new Word or prevent a Word from dictation and then follow the instructions in the speech dictionary Wizard.

    Check this link for more information:
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-speech-recognition-problems

    Kind regards
    Afzal Taher-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Is there a way to get a PDF file to open with displayed automatically bookmarks?

    I put 'initial settings' to do it, but only for each document (under properties). A comprehensive solution, that's what I need. Thank you very much.

    Hi jiporter,

    Go to "file > properties > initial view ' and select bookmarks and Page Panel label of the tab Navigation done framework to automatically open bookmarks in the PDF.

    This property can be set for individual PDF documents only, and not as a global setting for all the PDF files.

    Kind regards

    Ana Maria

  • When I select a tab, the history displayed automatically for this tab, how to disable?

    I don't want to have the little show of white history box every time I move a tab or click on one. It make me DESACT somewhere, I find it very unproductive.

    Hello brcimo, it appears that if you have the extension named 'menu tab historical' installed, which offers the feature you described. If you don't like it uninstall from firefox > addons > extensions.

  • The names of files and documents is displayed automatically with '. RRT' and does not open.

    I had been using windows 8.1 pro until last month when one day all my documents and files names appears with '. RRT' at the end of the tail. The day before, that I can remember, I had tried to free up the space of the drives c and d by removing unused and temporary files. I had also deleted some system files, where I could probably and unintentionally deleted some important system. Therefore, no office paper was reading and writing. I tried a few Microsoft office online supports, convenience stores, diag apps, but nothing has worked.

    I then uninstalled windows 8.1 and installed windows 7, tried some recovery methods and tools, in fact, it's always "RTT" at the tail. I have a pair of drive but that was created during the windows 8.1 platform and now it's windows 7.

    Now, I want a solution 2 at the same time

    (1) is it possible and how to return to my previous windows operating system 8.1 from the windows repair disc I have with me?

    (2) what is this format RRT, how she appeared? And how to recover or repair all my documents and files?

    Please advice...

    There was a similar post in this forum about a month ago. Its author has finally found his machine had been infected by ransom ware. All his files have been encrypted. If he paid the ransom his records might (?) get decrypted.

    If you can download one of these files to a cloud storage location or send it to me (pegasusDOTfnlATgmailDOTcom), then I might be able to tell you more. Don't forget to specify what type of file it should be (.docx, .pdf, etc.).

Maybe you are looking for