Run each VI but then show after a different action by the user

Hello everyone,

Sorry for my English in advance, you will see some errors probably: 3 I hope you understand anyway!

Well, I am a beginner with labview and I work in a project on a system that may take measures of speed and strength.

I have already created several VI:

-One for speed

-One for the force

-One to make a report

- and another at the choice of the type of the event.

To summarize, the system having to control 2 types of measures: 24 mph and 28 mph and we must conform to this 2 different tests, obviously.

The goal is:

(1) see the first VI: type of measure and leave the choice to the user about 24 or 28 miles an hour and then Labview tell if it complies or not after the measurement.

(2) display the VI that show measures speed for users;

(3) display the VI that show measures of force;

(4) and finally the last VI to carry out the report: I have integrated checkbox, etc..

I would like to help users switch in this VI through the buttons "previous" or "next".

I already write a 'hand '. If I run the main I had a first push button to go in a VI, and then I had a few 'next' buttons to display the next VI.

But now I have different problem and even if I try to tackle him I really don't understand how...

I will develop my problems:

-The main problem is execution of these screws: the test is in the 0, 6s. So I would run each VI during the test, record data and only then to show different for users through these VI data as I explained before. For the moment, as I understand it, my work just run different Vi when I click on the 'Next' button and finally I don't want to do that.

-Another problem is that, in fact, the user can navigate between different VI, but they are not yet delete when the user clicks 'next' Finally it does nothing actually. In the example, I want the user to look at the speed of data, write them on another file, and then click Next, sign before removal and next show, write to another file, click Next, etc... and I do not understand how it is possible...

-Finally, I think it's possible, but the best thing for me would be that different data stored in a file, with everything which is located on the front panel. If I had a graph, I would like the graph in a file, etc. And in the example for my last VI, the report, thanks to the box. If something is check, writing to a file, and if it didn't ignore it.

Sorry for this very long text and my bad English. I hope you understand my problem... I really need help-_ - I am disappointed, this is an important project for me (learning) and I tried a lot last week, but I ask you cause now I have really idea more...

Thank you in advance,

I join my project to receive a little help and explanations for this problem

Advertisement

Hello

With your architecture, it is obvious that you can't go back.

I would be more appropriate to have a main.vi with a State for example machine calling Subvi through sub - VI supanel controls front themain.vi.

Here are a few documents:
http://digital.NI.com/public.nsf/allkb/D587067E18E0E70186256D44007B91FE

http://zone.NI.com/reference/en-XX/help/371361J-01/lvhowto/loading_panel_in_subpanel/

Adrien

Tags: NI Software

Similar Questions

  • Every time I try to use HDR Pro images merge but then disappear and do not appear on the screen

    The last three or four times that I tried to use HDR Pro images I choose merge but then disappear and do not appear on the screen?  If I convert to TIFF and opens in HDR Pro images will appear and I can do my corrections.   What gives?

    Try a reset first preference: Hold Ctrl + Alt + Shift / Cmd + Opt + shift as you start Photoshop start. Select 'Yes' when asked if you want to continue with reset.

    Benjamin

  • System Restore get sound but then left after a day or two

    Sometimes (this happens more often lately) when I turn on my computer, all the sounds are gone. When I run the system recovery, the problem is corrected, but after a day or two, the sound disappeared again. The only noise which is not affected is the very done beep when the loader is fired. How can I solve this problem?

    Just guessing but if the system restore fix the noise
    problem and after a day or two it goes again I
    assume you have all Windows updates
    Automatic and a new driver or update is in
    several times, downloaded and the origin of the problem.

    Also... the following article is maybe worth a visit:

    Windows 7 - no sound in Windows
    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows
    (valid for XP - Vista - 7)

  • At the end of the factory restore, but black screen after "Windows has set up the computer.

    The model in question is VC863AA #UUW

    I want to get back the computer to the factory condition, so I rebooted and you press F11. Everything went exactly like this: http://support.hp.com/us-en/document/c00814731#N72 (chapter "Start a restore from the hard drive and the computer is off")...

    .. until step 10, which States:

    "The computer restarts and continues in the installation of Windows. Complete the configuration screens and wait until the computer finishes the installation program. "Then turn off the computer, reconnect all devices and turn on the computer.

    Yes, the computer restarts. She continues in the Windows installation (it says "medan windows konfigurerar datorn Vanta", which means roughly "Please wait while Windows configures the computer"). After that which was for about 5-10 minutes, the text disappears and the computer restarts by itself.

    After that, he gives a normal load Windows Vista bar and after that black screen. It seems to be a little bit alive but jammed somehow. If I let it be for several hours, he goes to the standby mode. If I wake up, he still won't. I can plug a USB another keyboard and he will make some access to hard drive (load a driver probably). I can press the sleep button and it will go into sleep mode. But if I press the power button / stop briefly, it will NOT stop.

    So finally, after several hours I forced to shut down (by pressing the power button / stop longer). When I start it, it goes back to behave as explained in the previous paragraph.

    If I press F8 during startup and select Safe mode, it goes in safe mode and I get dialogue indicating in Finnish:

    «Asenna Windows: Windows ei voi suorittaa vikasietotilassa asennusta.» See devam fenetresdans asennusta uudelleen tietokoneen kaynnistamalla. »

    Rough translation:

    "Installation of Windows: Windows cannot complete installation in safe mode." "You can continue the installation by restarting the computer.

    If I restart the computer, it goes back to the black screen after the windows loading bar.

    This suggests that there is something in the installation of Windows who jams it.

    I can install Windows Vista from a Vista DVD, but then I can't use the software included with the computer. (App States installation cannot install on a machine that is unauthorized, then of course they are looking for some OEM HP things.)

    Any suggestions on how to fix jam that continues with installing Recovery Windows or how to install the software on a normal Vista would be very appreciated.

    I solved the problem. Good thing I didn't order the restore disks, because that would not have solved the problem.

    I decided to post it because I don't know there will be others who have HP Pavilion Elite m9754sc and will have to face this problem of a black screen after the restoration.

    The fact is that the restore worked perfectly, but in this display card driver is buggy and it causes the screen to go black.

    I thought that what I installed fresh Vista which worked until I installed the driver from the recovery partition display. I tried VGA, outputs HDMI and DVI on the factory installed GeForce GT220 and none worked.

    A defective display driver should normally be no problem we could go in safe mode and fix it to the it. But as with the recovery goes to pre install state (ask what language to use etc.), safe mode does not work.

    So the solution is to unlock the display of the motherboard connectors and remove the factory installed GeForce GT220. Once the recovery and installation of Windows is finished using the graphics card integrated motherboards, you can reconnect the GeForce GT220 and get a updated driver with safe mode.

  • krst Checkpoint error - when my computer starts, that it starts to power, but then turns off when it is at the Dell logo screen

    When starting my computer it starts to turns on then shuts off when it gets to the Dell logo screen.

    How can I fix?

    Hello

    Try the methods in the links below and check if it helps.
    Windows XP restarts unexpectedly or restarts when you shut down the computer
    http://support.Microsoft.com/kb/320299

    Windows XP restarts when you try to shut down your computer
    http://support.Microsoft.com/kb/311806

    I hope this helps.
  • I do remember not my username and password but no reminder sent when I ask for the user name reminder email

    I try and connect but can't remember my user name or password.
    I request an email user name, but nothing is coming through. I left for an hour, but no email received. I also check the spam box.

    Sorry, it took a while, but I got a response to my yahoo email account and have now successfully connected.
    Thank you for your answer, but it is resolved.

  • Combo box list, but we had to save different values in the database

    11g, ADF, ADF BC, MySQL

    I have a drop-down list box in one of my pages with a fixed list that is bound to a field on one of my VO

    The drop-down list box displays the States as such: IA - Iowa, MI - Michigan... etc.

    The database column concerned, is a VARCHAR (2), so I'll have to just save "IA", instead of "IA - Iowa".

    I don't want to have a 'State' database table that correlates "IA" to "IA - Iowa".

    What is the best practice to have the user select the value in the fixed list and then having my code to manipulate the value before saving it to the db?

    Thanks in advance,

    Joel

    Yes.

    Create the VO with two attributes (value and label) - call it your search VO

    In the original Version that you want to change, use the search VO to lead the list of values.

    http://download.Oracle.com/docs/CD/E14571_01/Web.1111/b31974/bcquerying.htm#CHDHBDDE

    John

  • How to complete the enddate after change in status of the user

    Hello

    I created a feature adapter to fill the start date and end date.

    I have a planner that disables the accounts of user based on the following two conditions:

    1. the date system and the end date are identical.

    2. There is a preset difference in number of days between the start date and end date.

    Now, we have the end date must be filled with a new value when the user is on.

    I created an adapter to process task that calculates the new end date I created a new task in the process of user Xellerate and attached this adapter to new task. I have traced the output of the adapter to the user closing definition. This new task has been added as a dependent task in the task of the user activation. Also in the USR_PROCESS_TRIGGER, I have added USR_END_DATE and gave the name of the adapter to decode the column.

    Now when I try to enable the user, the account is activated but end date is not populated with the new value.
    I don't get any errors or on the.

    Please let me know if my approach is good. Please guide me.

    Thanks in advance.

    TRY THIS

    package com.oim;

    import java.util.Calendar;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.Hashtable;
    import java.util.Map;

    import com.thortech.xl.crypto.tcCryptoUtil;
    import com.thortech.xl.crypto.tcSignatureMessage;
    import com.thortech.xl.util.config.ConfigurationClient;

    Import Thor.API.tcResultSet;
    Import Thor.API.tcUtilityFactory;
    Import Thor.API.Operations.tcUserOperationsIntf;

    public class StatusTrigger {}
         
    private tcUtilityFactory utilityFactory = null;
    tcUtilityFactory utilFactory;
    tcSignatureMessage moSignature = null;
         
         
         
    {} public Sub (String userid, String status) trigger
    try {}
    ConfigurationClient.ComplexSetting config =
    ConfigurationClient.getComplexSettingByPath ("Discovery.CoreServer");
    final Hashtable env = config.getAllSettings ();
                   
    moSignature = tcCryptoUtil.sign ("xelsysadm", "PrivateKey");
    utilFactory = new tcUtilityFactory (env, moSignature);
    {if (Status.equalsIgnoreCase ("enabled"))}
                   
              
    tcUserOperationsIntf userOperationsIntf = null;
    userOperationsIntf = utilFactory.getUtility ("Thor.API.Operations.tcUserOperationsIntf") (tcUserOperationsIntf);
    UserMap HashMap = new HashMap();

    userMap.put ("Users.User ID", username);
    tcResultSet userSet = userOperationsIntf.findAllUsers (userMap);
    Calendar now = Calendar.GetInstance ();

    Now.Add(Calendar.date,15);
    System.out.println ("Current date Now:" + Now.get (Calendar.Year) + "-" + (Now.get (Calendar.month) + 1) + "-"+ now.get (Calendar.DATE) ");
    String x = now.get (Calendar.YEAR) + "-" + (now.get (Calendar.MONTH) + 1) + "-"+ now.get (Calendar.DATE);.
              
    x = x + "12:01:00.000000000";
              
    System.out.println ("\n\n\n now X is" + x);
    Map endDate1 = new HashMap();
    endDate1.put ("Date of Users.End", x);
    userOperationsIntf.updateUser (userSet, endDate1);
                   
    System.out.println ("Done");
    }
    } catch (Exception e) {}
    e.printStackTrace ();
    }
    }
         
    }

  • Firefox asks me if I run as administrator, but then won't let me install.

    I have download firefox, when I try to install it tells me that I may not have permission to perform all tasks as an administrator and then gave me a password, I do not know, and if I click on as an administrator of the computer, it stops.

    Have you tried to run the Firefox installer as administrator (right click: Run as Administrator)?

  • file Gallery .swf not showing after loadMovie() in one of the mc

    Hi I am trying to embed a .swf Gallery (by craftymind) file in my page within one of my frame.
    tried to load the swf file in a mc and it shows very well, but I can't get it to show the pictures.
    I was stuck with this a whole day and can not go forward... pls help.

    link to the gallery .fla file: http://www.mustardlab.com/developer/test/new/gallery.zip

    try adding:

    This ._lockroot = true;

    for the main timeline of the SWF Gallery.

  • Gray lines in the address bar, bookmarks and tabs bar. Disabling hardware acceleration solve but then vertical sync does not work in the browser. Solution?

    The drivers are up to date! ATI Radeon HD 5850.

    If there are problems with hardware acceleration off then try disabling OMTC and set this pref to false on the topic: config page.

    • topic: config page: layers.offmainthreadcomposition.enabled = false
  • But then Chromecastto Linksys router E2500 cannot access the internet

    Connects to the router, but not to the internet?

    I restarted particularly chromecast and it is now working very well

  • My Chromebook (acer C710) was fine, but now shows a yellow exclamation mark with the chrome of message

    OS is missing or damaged please insert a recovery key (which I don't have) any suggestions please?

    any suggestions please?

    I managed to make a recovery from the internet disc and tried. It worked. He even kept my files. If anyone has this problem, I'll be happy to help you.

  • How to run two 'County of buffered edge' using two different counters at the same time?

    Hello

    I try to use two counters at the same time count the TTL pulses for a fixed period (lets say 10 ms). I have the card PCI-6251 and PCI-6601. I am currently using PCI 6601 as counters and running a self updated the ' stamped edge County - reset.VI. Here, I have attached my VI.

    Now, during the execution of this VI, I get an error saying "error-200251 occurred at Task.vi:4 DAQmx Start" and the possible reasons are, "measures: no USB or DMA channels in loose ends are available.»

    Either stop other tasks which might be using these resources or are considering changing your mechanism for transfer of data to the interruptions if supported.

    Device: Dev2

    Task name: _unnamedTask<80>. »

    What I realized is I'm trying to use two buffers for two meters with ten samples each and this is probably not allowed. I don't know how to solve this out and bad looking for your suggestions.

    Thanks in advance.

    Hi all

    I found a solution too. This is the VI updated the "County of edge stamped" which can simultaneously run two entries-meter using a single source of door and it also uses the DMA and interrupts to save two pads.

    Have a nice weekend.

  • How to create and update the thumbnail of each layer on the extension Panel on all actions of the user on the artboard

    I am in the process of creating an extension where I need to display thumbnails of all layers and work plans.

    But in addition I want to update the thumbnails on each user of the action occurs on the artboard. (just the way that in the standard Layers dialog box).

    From now on, I use imagecapture() API to get the images of work plans and diapers. Please suggest if there is somewhat faster and easier to achieve.

    Any help is very appreciated.

    No doubt, DOCUMENT_CHANGED event raised when activeDocument under tension.

    However, I found below in the script of ai_hostadapter assistance.

    /**

    * Sent when a change occurs in the selected art objects or a modification of the work as to move a point on a path occurs. You cannot distinguish a change in selection of a change in editing work. There is no that means that one or the other. Receive this does not necessarily mean that returned all of the selected objects, as AIMatchingArtSuite::GetSelectedArt(), is different.

    */

    AIEvent.ART_SELECTION_CHANGED = "Selection Art changed notifier";

    I think you can catch the event using kAIArtSelectionChangedNotifier when the content of the document has changed.

Maybe you are looking for