Change display size of plot area

I have a VI that is reading signals from 16 different channels. The signals recorded from each of the 16 channels are displayed on 16 different graphs. I want to be able to see all 16 channels at the same time, in case anything interesting happens on any one of them, so each graph is fairly small.(See the attached screenshot.)
When something interesting does happen, I want to be able easily resize the entire plot area to cover most of the screen--perhaps with the click of a mouse. I would then like to be able to put it back to normal size--perhaps also with a single click of the mouse, or something equivalently as easy.
Simply zooming in on the "interesting region" will not do.
Is there a way to easily resize plot areas--b
y pushing a single button on the keyboard or mouse?
Attachments:
labview-screenshot.jpg ‏117 KB

I would do it like this: Have a main loop that updates the graphs. Have a second loop that has an event structure that looks for button presses. If the user clicks on a graph, the second loop launches a second VI. This VI has its properties set to show front panel when called (File -> VI Properties... -> Windows Appearance -> Customize...) and Close afterwards if originally closed. It front panel basically just your graph and a waveform graph reference (which I hide). It has a loop and an event structure that keeps updating until the graph is clicked. When the graph is clicked, the VI closes. Your original VI needs to keep updating during this and it updates the big graph through a control reference. I have attached an examp
le.
Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
DISTek Integration, Inc. - NI Alliance Member
mailto:[email protected]
Attachments:
aaaBig_Graph.vi ‏32 KB
aaaSmall_Graphs.vi ‏263 KB

Similar Messages

  • How do I change the number of plot areas in a Mixed Signal Graph

    How do I *programatically* change the number of plot areas in a Mixed  Signal Graph?  I recognize that the developer can choose to add or  remove a plot area during edit mode but I want to select between 2 or 3 visible plot areas and scale the plot areas appropriately.  Is there a property that tells me how many plot areas (or yscales) there are?  I also need a property that I can write to as to set the number of plot areas available.
    Aside from manually making too many plot areas and then hiding the unneeded plot areas how can I do this?
    Jonathan

    Hello,
    I don't think that is possible - I searched the property and invoke nodes but didn't find something to do that.  This would make a great product suggestion though, which you can submit (it goes directly to R&D) by clicking the word feedback in the bottom left corner of the Contact NI page linked below:
    Contact NI:
    http://sine.ni.com/apps/utf8/nicc.call_me
    Best Regards,
    JLS

  • I've lost the ability to add new sites, change display size, etc. of sites shown when I open a new tab. What am I doing wrong?

    At some point my ability to add sites from the new tab page, change site displayed sizes, etc. has stopped working. I liked this feature. What changed or what am I doing wrong?

    Do you still see the about:newtab page with the 3x3 tiles?
    Did you modify the number of rows and columns on this page?
    *https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • SteSize(w,h) doesn't change displayed sizes

    After setSize(w,h) both getWidth() and setHeight() return the proper numbers but visibly on the screen, the dimensions do not change. Code, extracted from the live ap, is compilable.
    Using the code below, and clicking "Rotate" button demonstrates this. System.out.println() shows that the sizes have changed internally, but visibly, they do not change. (also nothing shows up at all until the first time "Rotate" is clicked. That, the wrongly clipped border, and the messed up rotation clipping and text placement are separate issues.)
    What's wrong here? FWIW: Nearly identical code applied to a JLabel with an image works perfectly. If it works correctly on a JLabel why does it mess up so badly on a JTextPane?
    Java is a cool language, but as an old C++ programmer I also find it deeply mysterious (and mystifying) at times.
    Thanks in advance for any clues or hints,
    --gary
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.border.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    public class Rotate extends JPanel  {
        private TextPanel textPane;
        private JLayeredPane parent;
        public Rotate() {
            setLayout(new BoxLayout(this, BoxLayout.PAGE_AXIS));
            JToolBar toolBar = buildToolbar();
            add(toolBar);
            parent = new JLayeredPane();
            add(parent);
            parent.setBackground( Color.white);
            parent.setPreferredSize(new Dimension(640, 480));
            // Create a text pane.
            textPane = new TextPanel();
            StyledDocument doc = textPane.getStyledDocument();
            try {
                doc.insertString(doc.getLength(), "This is some sample text.\nIt can be Rotated.", null);
            catch (BadLocationException ble) {
                System.err.println("Couldn't insert initial text into text pane.");
            Border myBorder = BorderFactory.createLineBorder( Color.red );
            textPane.setBorder(myBorder);
            parent.setOpaque(true);
            parent.add(textPane);
            textPane.setDefaultBounds(120, 120, 240, 120);
        private JToolBar buildToolbar() {
            JToolBar toolBar = new JToolBar();
            toolBar.setRollover( true );
            toolBar.setFloatable( false );
            JButton rotateButton = new JButton("Rotate");
            rotateButton.setToolTipText( "Rotate text editing pane" );
            rotateButton.addActionListener( new ActionListener() {
                public void actionPerformed( ActionEvent e ) {
                    textPane.setRotation(textPane.getRotation()+1);
            toolBar.add( rotateButton );
            return toolBar;
        private static void createAndShowGUI() {
            //Make sure we have nice window decorations.
            JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
            JFrame frame = new JFrame("Rotate");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            JComponent newContentPane = new Rotate();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    class TextPanel extends JTextPane {
        // implements rotation for a JTextPane
        private int rotation;
        private int tx, ty;
        private int wide, high;
        // valid rotation values are:
        //          0 = no rotation
        //          1 = rotation 90 degree clockwise
        //          2 = rotation 180 degrees
        //          3 = rotation 90 degrees counterclockwise
        TextPanel() {
            rotation = 0;
            tx = 0;
            ty = 0;
        public void setDefaultBounds( int x, int y, int width, int height) {
            high = height;
            wide = width;
            super.setBounds(x,y,width,height);
        public void setRotation( int newRotation ) {
            rotation = newRotation % 4;
            if ((rotation%2)==0) {
                setSize(wide,high);
            } else {
                setSize(high,wide);
            switch (rotation) {
                case 0 : tx = 0; ty = 0; break;
                case 1 : tx = 1; ty = 0; break;
                case 2 : tx = 1; ty = -1; break;
                case 3 : tx = 0; ty = 1; break;
            repaint();
    System.out.println("Rotation="+rotation+"  Width="+getWidth()+"  Height="+getHeight());
        public int getRotation() { return rotation; }
        public void paintComponent(Graphics g) {
            Graphics2D g2 = (Graphics2D) g;
            double angle = rotation * Math.PI/2;
            AffineTransform tr = g2.getTransform();
            int h,w;
            if ((rotation%2) == 0) {
                w = wide;
                h = high;
            } else {
                h = wide;
                w = high;
            tr.setToTranslation(h*tx,w*ty);
            tr.rotate(angle);
            g2.setTransform(tr);
            super.paintComponent(g);
    }

    I spent a few mintues playing with it. I tore up some of the code but I think it works better. It will still need some tweaking:
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JTextPane;
    import javax.swing.JToolBar;
    import javax.swing.text.BadLocationException;
    import javax.swing.text.StyledDocument;
    public class Rotate2 extends JPanel{
        private TextPanel textPane;
        public Rotate2() {
            JToolBar toolBar = buildToolbar();
            add(toolBar);
            textPane = new TextPanel();
            StyledDocument doc = textPane.getStyledDocument();
            try {
                doc.insertString(doc.getLength(), "This is some sample text.\nIt can be Rotated.", null);
            catch (BadLocationException ble) {
                System.err.println("Couldn't insert initial text into text pane.");
            textPane.setBorder(BorderFactory.createLineBorder( Color.red ));
            add(textPane);
            textPane.setPreferredSize(new Dimension(100, 100));
        private JToolBar buildToolbar() {
            JToolBar toolBar = new JToolBar();
            toolBar.setRollover( true );
            toolBar.setFloatable( false );
            JButton rotateButton = new JButton("Rotate");
            rotateButton.setToolTipText( "Rotate text editing pane" );
            rotateButton.addActionListener( new ActionListener() {
                public void actionPerformed( ActionEvent e ) {
                    textPane.setRotation(textPane.getRotation()+1);
                    revalidate();
            toolBar.add( rotateButton );
            return toolBar;
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
        private static void createAndShowGUI() {
            JFrame frame = new JFrame("Rotate");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            JComponent newContentPane = new Rotate2();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        class TextPanel extends JTextPane {
            // implements rotation for a JTextPane
            private int rotation;
            private int tx, ty;
            // valid rotation values are:
            //          0 = no rotation
            //          1 = rotation 90 degree clockwise
            //          2 = rotation 180 degrees
            //          3 = rotation 90 degrees counterclockwise
            TextPanel() {
                rotation = 0;
                tx = 0;
                ty = 0;
            public void setRotation( int newRotation ) {
                rotation = newRotation % 4;
                switch (rotation) {
                    case 0 : tx = 0; ty = 0; break;
                    case 1 : tx = -1; ty = 0; break;
                    case 2 : tx = -1; ty = -1; break;
                    case 3 : tx = 0; ty = -1; break;
                repaint();
            public int getRotation() { return rotation; }
            public void paintComponent(Graphics g) {
                Graphics2D g2 = (Graphics2D) g;
                double angle = rotation * Math.PI/2;
                g2.rotate(angle);
                g2.translate(ty * getWidth(),  tx* getHeight());
                super.paintComponent(g);          
    }

  • Change virtual size of viewing area

    Hi,
    I am looking for away to change the virtual size of the rendered area inside firefox, i.e. I want to tell the web page I am looking at that my scree is a different size than it actually is, without changing the resolution (font and image sizes should remain the same). I want the following behaviour: if I pick a larger size than my actual screen size I want scroll bars on the sides that allows me to pan around on the page.
    Is there a way to configure firefox to do this? Perhaps using a plugin? I have been searching but haven't found anything.
    Thank you for your help.
    //A

    Hello,
    this is called '''Responsive Design View'' and has been implemented a short while ago (thus, I'm not sure if it's in the final Firefox).
    If the following steps don't apply to you, you may try out a [http://nightly.mozilla.org Firefox Nightly Build]:
    #Go to ''Tools'' > ''Web Developer'' > ''Responsive Design View''.
    #You should now see a panel that allows you to select certain screen sizes.
    --Tobbi

  • Change display size imac

    how do I change the resolution of the screen on a imac?

    Open your Applications folder>System Preferences>Displays>select the "Display" tab>check the "Scaled" box>that will bring up the various Resolution selections.
    Message was edited by: Radiation Mac

  • How do I change display size

    I have to scroll horizontally to see a full screen.  Is there a setting to fix this problem?  Also, any way to resize the display in Chrome? In Windows, I can grab the edge of the page and drag it to fill the screen. 

    System Preferences>Displays>Display Tab>Scaled Button and choose another resolution. The one at the top of the list is the 'recommended' setting.

  • Changing display size on "Compose Email Page" in Outlook

    I am faced with a weird problem that has made my life miserable while using my Lenovo T430 machine. On the compose email page in outlook I must have hit some key combo coupled with some action on the trackpad and the fonts in the compose email became soooo small that I needed a magnifying glass to see them.
    Can someone please help me restore the settings to normal. I would be truly grateful.

    In addition to the above is there a list of shortcut key combos that work with the trackpad in this particular model? I would idebted for life is someone can help me out here.

  • Plot area width changes as the precision changes !?

    need help to understand following thing:
    If I increase the precision of a graph manually, the plot area size decreases and vice versa.
    Otherwise there is an example posted demonstrating prcision change by property node which does not change plot area size.
    I've attached an example to demonstrate both.
    What I want is to change the precision manually with the default graph tools without decrease or increase plot area width.
    Is this possible in LV 6.02 ?
    Attachments:
    MyScaleProblem.vi ‏60 KB

    Hi.
    Resizing of the graph is the default behavior. The Graph resizes in LabVIEW 7 in both cases. I woud suggest building a text indicator with a transparent background and reading the properties of the graph to display the correct values to the side. This should give the desired response.
    -Erik

  • How to change the size of the characters displayed on GUI screen?

    Hi All,
    My problem is : the characters displayed on GUI screen are smaller than other associates when we are in same condition.
    Can anyone tell me what i should do to change the size?
    Thank you very much.
    Regards,
    Fiona

    hi,
    click on the layout menu button at the end of standard tool bar.
    select visual settings. there u will get font size options.
    u can manage through this your font size.
    and this will effective with the first front end mode u start.
    layout menu button >> visual settings >>general tab>> font size
    hope it will help you.
    Edited by: Sachin Gupta on Jul 15, 2008 9:42 AM

  • How do I change the size of the tools and the text for the menus in Photoshop?  I need a magnifying glass in order to make out what they are.

    How do I change the size of the tools and the text for the menus in Photoshop?  I need a magnifying glass in order to make out what they are.

    Okay, I've figured it out, so I'm going to answer my own question in hopes that it may help anyone else that would like to actually be able to see what they're doing when using Photoshop CC 2014 on a high resolution screen.
    1.  Open Photoshop.
    2.  Select Preferences from the Edit Menu, then select General.
    3.  Change the HUD Color Picker to Hue Strip (Medium).
    4.  Select Interface from the Preferences menu on the left side of the dialog box.
    5.  Change the UI Font Size to Large in the Text area of the Preferences dialog box.
    6.  Select Experimental Features from the Preferences menu on the left side of the dialog box.
    7.  Select Scale UI 200% for high-density displays (Windows only).
    8.  Click on OK, then Exit/Quit Photoshop.
    9.  Open Photoshop and everything should be readable.

  • Using my macbook alternately with cinema display and without makes all my screens shift and change in size ?!

    After I disconnect from the cinema display and than a few minutes later open up the macbook without the display connected, things are fine. But re-connecting to the display, all the screens are moved and/or changed in size. Anybody any ideas ?

    I'm currently sitting in my office using my MBP and looking at a 24" Samsung display. At home I replaced my 4 year old iMac with a 2 year old 13" MBP which is connected to a similar display. That should be tell you all you need to know! 

  • Change image size in web display of SRM MDM 3.0

    Hello,
    how can I change the size of the displayed images in the catalog?
    I would like to display the image in the detail of the material data in the catalog larger.
    The images are stored in in the repository.
    Thanks for your help.
    melanie

    You can change this in the Web UI interface. In the Customize Display tab you can specify the size of you images to be displayed in pixel.
    The UI interface that I'm talking about is where you change your OCI mapping, Search... etc
    If you want to crop, resize your uploaded images you can do this in MDM Data manager.
    Edited by: Joy Natividad on Mar 3, 2010 7:08 PM

  • Changing the size of images displayed when a thumbnail is clicked

    In an Aperture gallery, how do I change the size an image is displayed when a thumbnail is clicked. There are sliders for changing the size of the thumbnail; I can't find an adjustment anywhere for the size an image is displayed when the curved arrow in the upper left hand corner is clicked.
    Help!
    --Kenoli

    Hi Kenoli,
    In an Aperture gallery, how do I change the size an image is displayed when a thumbnail is clicked.
    Do you mean "double-clicked"? In "Browser" mode, when I click on a photo, nothing changes. However, when I double-click on a photo, it switches to "Viewer" mode.
    However, I'm missing the curved arrow that you mention. I can't find any photos with a curved arrow over them in any mode. In fact, the only overlays are the badges in the lower right.
    Can you be a little more specific about exactly what mode you are in?
    nathan

  • I have Photoshop cs6 Ext on an ASUS laptop. How can I increase the font size of the contents of the FILTER Panel situated on bottom left of screen. The font size is extreamly small and almost unreadable. I have changed display parameters, not the resoluti

    I have Photoshop cs6 Ext on an ASUS laptop. How can I increase the font size of the contents of the FILTER Panel situated on bottom left of screen. The font size is extreamly small and almost unreadable. I have changed display parameters, not the resolution, to no avail.
    David.

    Paragraph breaks are good for readability. ;-)
    Have you noticed any difference between your MacBook and others at the Apple store? Wondering whether this is a configurable setting at the system level, i.e., DPI.
    You can default Firefox to a larger zoom level to avoid having to zoom every page. You'll still be able to adjust the size for individual sites as needed. It sounds as though you are aware of these add-ons:
    * Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    * NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/
    There are some discussions about changing coming in Firefox 22 (I think) to address higher density displays like the Retina display. So perhaps there will be a built-in setting to address this in the future.

Maybe you are looking for

  • Ipod not showing any music, Itunes dies when connecting

    Hey everybody, Here's my problem: Earlier on I loaded 40 songs on my Ipod Classic and was charging it for a little while. When I disconnected it, it told me no songs were in it's library. I reconnected the Ipod to my computer several times and everyt

  • GR for NLAG item( non-stock)

    hello guys, I have an issue... 1.The user has created a 3rd party PO(no storage location in PO) for  a nonstock item(NLAG). 2.It was created on 26.06.2008 and the delivery date was  01.08.2008. 3.There's no release strategy for this PO. 4.But could n

  • Is it possible that iMac corrupts connected external hdd-s drive via USB?

    Is it possible that iMac corrupts connected external hdd-s drive via USB? (two wd cav. green 2tb from different purchase went down in one day, both from the backside usb ports) First one of my video storage hdd, full of files suddenly got extremely s

  • Limewire videos to ipod

    how do u take videos from limewire and put them to itunes the your ipod

  • Runtime error with Adobe ReaderX

    Hi.. Ever since I upgraded from XP to Vista SP2, I have not been able to get Adobe reader to work.  Getting runtime error "This application has requested the runtime to terminate it in an unusual way."  It does this whenever I try to open Adobe reade