Using mutilple screens in Labview

Hello All:
I am sirt of a newbie.
I'm running labview 2013 with a cDaq9188 chssis with mutiple cards (9205's 9214's ect).
We are monitoring and collecting data and running a few intruments on a small water loop. The experimeter wants to trend a few instruments on a couple of graphs. 
Is there any way of being able to open a second screen to view just the graphs and close it when the graphs are not needed? What I would like to do is to have a button on the main screen and when I click on it, it opens a second screen which runs the graphs. Any suggestions, or send me a link to a few examples would be appreciated.
Chris Paulusse

As Pat said, it's hard to give an exact answer without seeing how your existing code is structured, but in general:
1. You want to create a VI that when launched runs as a separate process is memory, independent of the VI that launched it.
2. You want to configure that VI as a floating window so it will always be on top, but the user can still interact with the window behind it.
3. The front panel of that VI should have the graphs you want and update them from data sent to it -- I prefer using user-define events (UDEs), but the choice is up to you.
4. You will need to provide a mechanism for shutting down the floating window if the main application quits -- again I like UDEs, but your choice.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • How can i use activeX Control in labview?

    how can i use activeX Control in labview?
    please describe me step by step.
    thanks.

    Well..that was quite helpful..but now I'm encountering certain problems. I've attached the VI I've made.
    I don't need sound at the moment so I dropped it. (Although I tried to play it..but all I could hear was a very annoying sound.) Secondly I don't want to display any date or time..so i dropped that property too.
    Now when I run this Vi...the webcam turns on, the screen of videocapx pops up..then the webcam light goes off..and another pop up appears saying..labview is not responding..and i have to close it reluctantly.
    I haven't placed the stop capture property in this vi. i checked it by placing it too..but that doesn't work.
    I would like to notify that my actual task is to acquire image and then compare it with another one already present on my pc. I want you to please help me out..solve my first query then I'll proceed with the latter part.
    Attachments:
    activexvideocaps.vi ‏20 KB

  • Programmin​g sequencial screens with LabVIEW

    What I would like to do is to be able to make multiple screens with LabVIEW. Say for example on screen one I have a text box for someone to enter their name and age in, then they can press enter and then the next screen will appear, (this second screen is to be of a game for a research project I am doing), I want to ultimately record the way in which people play the game.
    I really appreciate any help.

    Hi,
    His can be done with tab pages. You can hide the tab page borders (or
    disable invalid pages). You can choose to use one button (e.g. Next)
    floating above the tab page, or you can make several buttons on the
    different tab pages.
    The program can control which tab page is visible. I usually use a state
    machine architecture, because it fits the nature of the user interface.
    An alternative (used in earlier versions) is to put the screens next to each
    other, and control the origin of the front panel to make the proper screen
    visible. But it's difficult to make things like tabbing, and key navigation
    work using this method.
    Regards,
    Wiebe.
    "CalTech" wrote in message
    news:506500000008000000D5DE0000-1079395200000@exch​ange.ni.com...
    > What I would
    like to do is to be able to make multiple screens with
    > LabVIEW. Say for example on screen one I have a text box for someone
    > to enter their name and age in, then they can press enter and then the
    > next screen will appear, (this second screen is to be of a game for a
    > research project I am doing), I want to ultimately record the way in
    > which people play the game.
    >
    > I really appreciate any help.

  • How do we use if statement in labview?moreover can i use if statement inside for loop?

    how do we use if statement in labview?moreover can i use if statement inside for loop?

    The if statement in LabVIEW is the Case structure. You can find that on the Structures palette right next to the For Loop. If you're still on the same subject about terminating a for loop early, then what you do is enclose your functions inside the loop with a case statment and make one of the case's empty except for one or more constants that you might have to wire. Hopefully, the attached picture will explain what I mean. Also, as I mentioned in one of your other posts, I think this technique is not as good as using a while loop. The array in the attached example is the same size no matter what and you may have to handle stripping extra or invalid elements.
    Attachments:
    For_Loop_with_Case.jpg ‏21 KB

  • Development and Quality server using different screen color setting

    Hi,
    I want to differentiate the Development and Quality server using different screen colors,
    How can I set different color logon screen for the different kinds of servers.
    Thank You.
    Best Regards,
    M.Thirumoorthi
    [email protected]

    Hi Thiru moothi,
    Please check these links :
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/modifyingtheLogon+Page&
    Custom Password Change Page
    Custom Portal Logon Page
    Reward points if handy!
    Cheers,
    Sandeep
    Edited by: Sandeep Tudumu on Mar 26, 2008 7:41 PM

  • The application does not use the  screen and run in the background

    Hi
    I have downloaded a package of j2me Midlet
    from [link] here [link]
    and try to reuse the code
    but I get the following error when running the code:-
    The application does not use the screen and run in the background
    I think the error into one of these two classes
    package main;
    import javax.microedition.midlet.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.media.Manager;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.Player;
    import java.io.IOException;
    import java.io.InputStream;
    public class MainMidlet extends MIDlet implements CommandListener {
        private SSGameCanvas gameCanvas ;
        private Command exitCommand ;
        private Player player = null;
        public void startApp() {
      try {
           //   create new game thread
              gameCanvas = new SSGameCanvas();
              gameCanvas.start(); // start game thread
              exitCommand = new Command("Exit",Command.EXIT,1);
              gameCanvas.addCommand(exitCommand);
              gameCanvas.setCommandListener(this);
                Display.getDisplay(this).setCurrent(gameCanvas);
       catch (java.io.IOException e)
                e.printStackTrace();
            try {
                // start sounds
                InputStream in = getClass().getResourceAsStream("/resource/startfly.wav");
                player = Manager.createPlayer(in,"audio/x-wav");
                player.setLoopCount(1);
                player.start();
            catch (MediaException ex)
                ex.printStackTrace();
             catch (IOException ex)
                ex.printStackTrace();
        public void pauseApp() {
        public void destroyApp(boolean unconditional) {
            if (player != null) {
                player.close();
            System.gc();
      public void commandAction(Command command, Displayable displayable) {
           if (command == exitCommand)
                 destroyApp(true);
                 notifyDestroyed();
    package main;
    import java.io.IOException;
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    public class SSGameCanvas extends GameCanvas implements Runnable {
        protected GameManager gameManager;
        protected boolean running;
        private int tick=0;
        private static int WIDTH;
        private static int HEIGHT;
        private int mDelay = 20;
        Form mainForm;
        Display display;
        //private int MaxTime;
        public SSGameCanvas() throws IOException{
            super(true);
            gameManager = new GameManager(5,5,getHeight()-10,getWidth()-10,this);
        public void start() {
                this.running = true;
                Thread t = new Thread(this);
                t.start();
        public void stop() {
            running = false;
        public void render(Graphics g) {
            WIDTH = getWidth();
            HEIGHT = getHeight();
            // Clear the Canvas.
            g.setColor(0, 0, 50);
            g.fillRect(0,0,WIDTH-1,HEIGHT-1);
            // draw border
            g.setColor(200,0,0);
            g.drawRect(0,0,WIDTH-1,HEIGHT-1);
            // draw game canvas
            gameManager.paint(g);
        public void run() {
            while (running) {
                // draw graphics
                render(getGraphics());
                // advance to next graphics
                advance(tick++);
                // display
                flushGraphics();
                try { Thread.sleep(mDelay); }
                catch (InterruptedException ie) {}
        public void advance(int ticks) {
            // advance to next game canvas
            gameManager.advance(ticks);
            this.paint(getGraphics());
    }Edited by: VANPERSIE on Jul 10, 2012 12:26 PM

    Hi Andi,
    Thanks for your reply.
    Yes, I have waited for a while and the result doesn't change.
    The Porblem here is the application is seen started in visual administrator.Only restart brings up the page back.
    Can you please suggest anything.
    Thanks and regards
    Nagaraj

  • How do I use multiple screens with my MBP?

    I have a 2010 MacBook Pro which I use for all of my video & music editing. I currently have the following accessories: MiniDisplay Port to DVI & MiniDisplay Port to VGA adapters. I also have VGA to DVI-D adapters that all work concurrently if I need them to.
    I have been using two screens to edit on recently but now I want to upgrade and use a 3rd screen, which technology sod I need to make this happen?
    Thanks,
    - W.

    Have you contacted Google?
    http://learn.googleapps.com/drive
    Ciao.

  • How can I use two screens to display one window

    Before Mavericks, MAC OS allowed you to use two screens (next to each other) in order to display one (big) window of one application.
    That would mean that a window would start on your left screen en would continue on the right screen.
    With Mavericks, however, this not possible any more. The window of the application can only be seen on ONE of the screens (i.e. the left one).
    Can any one tell me whether I've missed certain options or how to adjust my settings in order to get this feature back?

    Hey CGNL,
    First, if you haven't already, set up the displays as an extended desktop:
    Choose Apple menu > System Preferences, click Displays, then click Arrangement.
    Follow the onscreen instructions.
    Then, use Mission Control preferences to uncheck/turn off the option for "Displays have separate Spaces":
    Choose Apple menu > System Preferences, click Mission Control
    Uncheck "Displays have separate Spaces"
    That should enable you to stretch whatever window you want across multiple displays.
    via: OS X Mavericks: Connect multiple displays to your Mac
    http://support.apple.com/kb/PH13814
    and
    OS X Mavericks: Mission Control preferences
    http://support.apple.com/kb/PH13925
    Welcome to Apple Support Communities!
    Have a good one,
    Delgadoh

  • Good evening, my name is Ludmila I have a problem. im buy second hand iphone 5 but I can not use the screen shows asking me apple id but I do not know this is my first iphone I do not know what the police thought it was stolen or lost but I you can help m

    Good evening, my name is Ludmila I have a problem. im buy second hand iphone 5 but I can not use the screen shows asking me apple id but I do not know this is my first iphone I do not know what the police thought it was stolen or lost but I you can help me. Someone told me we should stop function Find my iphone but how?? email does not even know the first lord. It cost me 400 euros but may not use iphone. someone laugh at me because I deceived. Please help me tell me his email talk to you should stop off iCloud or ID

    Scuzati de engleza google translate

  • On my 2012 MBP I can no longer use dual screens/HDMI after upgrading to 10.8.2. I'm using Moshi Thunderbolt adapter

    On my 2012 MBP I can no longer use dual screens/HDMI after upgrading to 10.8.2. I'm using Moshi Thunderbolt adapter

    I think you are sailing in uncharted waters with those kind of modifications.
    I am only guessing, but if you have not already done so,  do a PRAM reset and then trash your FCP preferences.
    Big Poppa Chris wrote:
    I've also notice when I start the computer up, it stays on the grey screen longer than it did when I had the original card (512 mb).
    My understanding is the Mac is doing a ram/hardware test during the grey screen, if the card you added had additional memory, then it is very likely the test will take longer - but I am no hardware expert.
    MtD

  • How to implement a dual booting PXI system using windows 7 and labview RT

    Good Day
    My name is Mariano Ocana from the University of Manitoba, and I want to implement a dual system using windows 7 and labview RT in a PXIe-1082 chassis with a PXIe-8102 embedded controlled (the chassis came with windows 7 installed). What are the steps to use both systems (windows and RT)  in the same chassis?, in the NI help comes an example implementing a dual system using windows xp and RT, it is the same procedure?.
    Thank you in advance for all your help.
    Regards
    M. Ocana

    Greetings, Mariano.
    The real issue you have to contend with is whether or not you have a LabVIEW RT license.  If the 8102 controller was purchased Windows-Only, you likely do not have a license to run LabVIEW RT on the controller - you can purchase one, I think it's about $500, and at that point you can request a LabVIEW RT Configuration CD (that's not what it's called, but the sales guy will know what I'm talking about).  The Config CD is a CD that will partition your controller correctly with both FAT32 and NTFS filesystems (in the appropriate way) to allow you to run Windows 7 and LabVIEW Real-Time on the controller correctly.  Once done, you can then switch within the BIOS between LabVIEW Real-Time and Windows in order to dual-boot.  
    Either way, you likely need to contact NI sales to either purchase an RT license (if one was not received at the time of purchase) or to request a Configuration CD (it might also be called a dual-boot install CD or similar).
    -Danny

  • Can I use split screens on and extra monitor I have. I can get mirror image on both screens, but not a split screen. The monitor is 1600 x 900.

    Can I use split screens on an extra monitor I have? I can get a mirror image on both screens, but not a split screen. The monitor is 1600 x 900 AOC 20inch monitor. Hope I haven't wasted my money buying this £69 monitor. My 13" Macbook Pro is a little small for my ageing eyes. Thanks

    In the display settings on your computer uncheck "mirrored". This will put the displays in "extended" mode. In extended mode you can set the external display to its native resolution as well as drag windows from your computer to the external monitor. I assume that is what you mean when you say "split screen".

  • Should I use a Screen Protector with Otterbox Defender or Griffin Survivor?

    I bought both of these rugged cases and keep hearing that the actual cases can scratch the phones.  Should I use a screen protector on the phone face and back as well?  I assume that may not fit in the cases if I do that.  Anyone have any experience with these cases?

    Mine
    Redwood_Empire wrote:
    I have the Ghost Armor (same as ZAGG's invisibleSHIELD) installed on my Iphone and my otterbox defender will be here today (anytime) I will let you know how it goes or how it fit as soon as my defender get delivered by FedEx.
    Do you have the shield on the front and back?  I read they do not fit in the Otterbox with both.  I would bet one side may fit.  I think if you use a thin one like the Verizon site has (PureGear Display Protectors) on the front I bet it will fit.  I have the Survivor case and have not head a chance to try the shield with it.  I got the phone, and first threw it in that case.  I know what to get a shield on it if possible.  Please let me know if it fits.

  • Getting the data in file using DAQ assistant in Labview

    I am using SCXI 1000 chassis, SCXI 1125 input module and SCXI 1320
    terminal.
    I am using DAQ assistant in labview to obtain temperatures and store it in
    a file. The experiments run the whole day and I need the whole data
    generated during this time to be stored in a single file, but I am unable
    to store it in a single file.
    Can someone please give me some insight as to how can I achieve this?

    Hi Mr,
    It would be helpful to see your code to see exactly how you are acquiring the data. Are you doing continuous buffered measurements? Or are you performing single point temperature measurements in a while loop?
    Either way you will want to use the "write to spreadsheet" VI in your loop. Simply wire your data into the "write to spreadsheet" vi and se the "append to file" input to TRUE. This will make the data add on to the end of the file with each iteration of the loop. The "write to spreadsheet" VI is located in the file IO pallette in LabVIEW.
    Thanks,
    Sal

  • Build a DLL in LabVIEW & Use the DLL in LabVIEW

    I am trying to build a DLL for the simple vi with LabVIEW and want to use the DLL in LabVIEW. is it impossible?
    I wrote a vi and it have 2 terminals. one is the input for numeric dbl data type and one another is the output for numeric dbl 1D array data type.
    It was built with the Application builder for LabVIEW 8.0 and DLL was created successfully.
    I want to use this DLL in new vi with LabVIEW.
    Call library function used. I wrote a new vi to use that DLL.
    In config dialog I config each parameter for dll and connected terminals. but it doesn't work
    pleas refer to the attatched file and let me know what I missed.
    Attachments:
    Array1D.zip ‏60 KB

    At first I kept scratching my head wondering why someone would want to do this. Create a DLL in LabVIEW to call it from LabVIEW. Seems redundant. But, perhaps it's an exercise or perhaps it's for testing the DLL...
    In any event, calling the DLL worked for me in 8.2. How are you configuring your Call LIbrary Function node? I have it set up as follows:
    return type: void
    iteration: Numeric, Signed 32-bit Integer, pass by value
    array1D2: array type, Signed 32-bit Integer, 1 dimension, "Array Data Pointer" format
    len: Numeric, Signed 32-bit Integer, pass by value
    Then I called the DLL like this:
    Message Edited by smercurio_fc on 03-16-2007 12:57 PM
    Attachments:
    Example_BD.png ‏2 KB

Maybe you are looking for