How to start a second labview programme automatically when first programme is aborted ?

Hi,
I have two independent labview programme. I want to run one programme at first. Second programme should start automatically if first programme is aborted by clicking abort button. Could you please help me in this regard.
Thanks

Would it not be better to close the meters when you close the application and have your application exit gracefully rather than having it start another one?
(You can call an executable from within LabVIEW using the System Exec VI but I don't think you need that here)
Certified LabVIEW Architect, Certified TestStand Developer
NI Days (and A&DF): 2010, 2011, 2013, 2014
NI Week: 2012, 2014
Knowledgeable in all things Giant Tetris and WebSockets

Similar Messages

  • How do I make the plugin run automatically when a photo is imported?

    I am trying to write a new plugin where the metadata will be automatically added to the photo when I import the photo in the Lightroom.
    How do I make the plugin run automatically when a photo is imported?
    Thanks for  your help!
    Regards,
    Prosenjit

    psaha84 wrote:
    What I want is, when I import a photo in Lightroom the plugin will run and assign the metadata.
    As John said, there is no mechanism to receive notification of import. The likely recourse is continuous polling (unless you get very creative..).
    You can try optimizing. e.g.: every second (or less), see if the count has changed, if it's gone up, something's been imported, if not then probably not (check anyway once in a while..).
    psaha84 wrote:
    How do I save the custom metadata with the image file?
    Lightroom 5 has the limitation, plugin  cannot link the custom metadata fields to XMP file or save them with image file.
    So, is there any alternative way to save the custom metadata?
    Yeah: Lightroom won't save custom metadata in xmp, nor read it if it's there, so you are pretty much on your own - you can save in a file, but if you save as non-standard sidecar Lr won't attend to it like it will jpg or xmp sidecar. For that reason it's often better to save in a separate dedicated location. You can save in image file itself, e.g. using exiftool if raw file, but that would make me nervous, and of course you'd have to have the logic to read it somewhere too..
    Good luck,
    Rob

  • How to start a local HTML5-file automatically as a weblink?

    Hi, i started to learn DPS two weeks ago and had a lot of fun. But yesterday i had a problem how to start a weblink autmaticially. The checkbox in the Overlay Creator panel for activating auto-start doesn't react by clinking on it. And the default is inactive. The other checkboxes in the panel also don't react. Could this problem be a InDesign-bug? The background, what i tried to do ...i inserted a local HTML5-File as a weblinki t's shown on my iPad after synchronizing. But i have to tap on it for showing the HTML-content - but i want to start it automatically.
    Thanks for your feedback. I'll hope, someone could help me.
    Bye Bert

    You're the man, Bob! After deleting the InDesign preferences i was able to activate the different Checkboxes. *thumbs up*
    Hint: Starting InDesign with shortcut for deleting the preferences  -->  "shift + alt + cmd + ctrl"

  • How to start a second X11 display from within X ?

    For a game i am playing (freespace2 open) i would like to run it on a second X11 virtual display.
    Following Fs2_open_on_Linux#fs2_open_freezes_X i am able to start second display with xinit -- :1 , but this only works from console.
    Also the method used there (copying the mit-magic-cookie) doesn't appear to be very user-friendly.
    So i have 2 questions :
    is there a way to give a user permanent permission to start a second display ?
    can starting a second display be done from within X ?

    Lone_Wolf wrote:
    I've checked and the change to xauth appears to be permanent as it was still present after a reboot and a cold start.
    I use KDE as wm/de , but start it from console with startx.
    I have no options for starting another session, possibly because i don't use kdm or another login manager.
    startx works from within kde , xinit works from console.
    Unfortunately fs2_open crashes with a segfault after switching back and forth between display 0 and display 1 a few times.
    When running fs_open on display 0 it never crashes.
    Sofar i've used startx -- :1 , xinit -- :1 and xinit /usr/bin/fs2-open -- :1 , and they all give the same problem.
    Thanks for the tips, i'll check them out.
    If you using kde, you could make life alot easier if you need multiple xsession by running kdm...
    I mean my system boots 21 second including starting KDM starting from xinittab... if I add it as a deamon in rc.conf it takes 36 seconds

  • How to open a second grid, by clicking on first grid

    Hi
    On my htm page, i have a grid, by clicking on any of row of the first grid, i want to open a second grid, below the first gird, which will contain only the values of that row.
    For the first gird, I am using the code      <PARAM NAME="DoubleClickEvent" VALUE="Doubleclick">
    and i have written a function as Doubleclick in the java script.
    Now want code i should write under the function (Doubleclick) in the java script.
    Can you help me out with the code for the same.
    thanks,
    Ashish

    Hi
    Padma,
    I am new to this technology, can u tell me how to hide the second grid, what code i should add in the applet.
    And my grid is containting the following data:
    Airline             AirportTo        AirportFrom      Price
    Jet                     BOM                 DEL                    4500
    Kingfisher           PUN                  IND                     4000
    Say, now when i will select 2nd row, my second grid should get following data
    Airline             AirportTo        AirportFrom      Price
    Kingfisher           PUN                  IND                     4000
    Can you explain the code more in detail.
    thanks,

  • How do I get itunes to open automatically when my iphone is plugged in?

    When I plug my iphone into my laptop, how do I get itunes to open automatically? 

    In iTunes click on your phone under "Devices" on the left of the screen > "Summary" tab > Options: "Open iTunes when this iPhone is connected".

  • How do I close a PDF document automatically when the browser is closed?

    I have a web app writen in HTML/ASP. In order to acccess this app, our users have to enter a password and user id. Once on the main page of the app, they can click on a link which opens the reader in another window. Quite often, when finished with the app, they close the browser, but leave the reader window open (with sensitive information). It is becoming to riskly to hope that they remember to close that window also, even with visual reminders. I would like for that window to close automatically when the browser with the app is closed.
    Can this be done?

    Let me elaborate a little more on what I am trying to do.
    (1) A website (#1) is opened after entering a UID and PWD.
    (2) Within website #1, a link is clicked which opens a second web app (#2) in a seperate window using window.open().
    (3) Within website #2, a user can click on a link which opens a PDF as _SELF.
    (4) If the user:
         (a) exits out of website #1 by closing the brower
         (b) we would like to automatically close the PDF from website #2 also, as this contains sensitive information and most of the time the users are forgetting to close it

  • How can I stop Firefox from loading automatically when I startup my computer?

    A while ago I setup Windows so Outlook and Firefox opened automatically when I log on. Now I want to stop FF from opening automatically. I have gone into the Startup folder and removed the shortcut to FF several times but it keeps coming back. I changed the name of Mozilla Firefox in the Windows Programs Directory to xxMozilla Firefox and that didn't keep it from loading. If necessary, I will remove FF from my computer altogether but I would rather not do that.

    Aaarg! I tried Matt's suggestion of using msconfig, restarted my computer, and it seemed to solve the problem. Today when I turned on the computer it hung up before loading Windows. I had to use the F12 button to get it to load. I did and it did and Firefox did not load.
    Now, this evening, I turned on the computer, the startup procedure was normal, and there's Firefox fired up and ready to go!

  • How do I get Lightroom to open automatically when I plug my camera in

    I'd like Lightroom to open automatically when I plug my dslr into the computer. Is this possible?

    Go to:
    Edit >> Preferences>> General (tab)
    Lightroom >> Preferences>> General (tab) on Mac OSX
    Check the box: Show import dialog when memory card detected.

  • How could the wireless ethernet card running automatic when system reboot?

    I have already setup the wireless networking card correctly which name is wpi0,but every time when I use it to link to internet,
    I had to key the instuction like this :
    ifconfig wpi0 plumb
    ifconfig wpi0 up
    ifconfig wpi0 dhcp
    and then input:
    wificonfig -i wpi0 connect mywifi
    comment: mywifi is the profile file of connection to my wireless router
    I had set it with the instruction before like thisi
    wificonfig createprofile mywifi essid=2WIRE678 encryption=wep wepkey1=1234567890
    anybody can help me group up the command line and has it running automatic when system reboot
    it seems the wireless card always need manual connect to router, that 's trouble.

    It should connect on it's own. Which version of Solaris are you using?
    If worse comes to worse just drop all of your commands into a simple script and then run that script as part of your .profile or equivalent.
    alan

  • HT1277 how to start a sentence in MAIL automatically in caps?????

    in MAIL i cant seem to start each sentence automatically with caps.
    how do you do this
    in OUTLOOK it is so simple
    thnaks

    I see no way to do that in Mail.

  • How to start LSMW second time

    Hi
    i have created a lsmw with periodic processing option and it working fine.
    if i want to upload the data second time where do i need to start.
    ddo i need to open the project and object and create the session one more time and then process the session..
    what is the procedure to start when we are doing second time
    Thanks in advance
    Kiran

    Hi Kiran,
    If You are using the same project,SP,Object. No issues. Run the LSMW from the first step, save all the steps. 7th step dont forget to give the new flat file for uploading. There will be a new BI session created and run the BI.
    All the Best
    Reward Points if Useful
    Regards
    Gokul

  • How to start FrameMaker second development?

    We want to do based on secondary development of FrameMaker to complete the specific functional requirements.
    FDK-based development, if done, what kind of development tools?
    What kind of development language?
    Specific development process?

    Zhaopeng,
    To use the FDK out of the box, you have to use C, compiled with Visual C++ (Windows). You could probably wrap any other language around that (as some others have done), but you would have to be exceptionally smart. Much smarter than me, for sure, because I couldn't tell you the first thing about it.
    Russ

  • How to start a particular version of Photoshop when multiple versions are installed

    I have written a small software that automates a few functions in PS CS2.
    Till now it was working just fine with PS CS2. Now due to some unknow reasons the client has installed CS 4 and CS 5.
    Now my clinet want that the software should be able to detect all installed version of PS and allow him as user to choose as to with which version of PS my software should automate.
    Is this possible?
    If yes and how to achieve it?
    Oh! I have also abserved an unusual behaviour. I don't know whether it is because of my software or because of PS.
    By default when my software executs this automation script (generated using Script listner)
    Rem =======================================================
      Dim objApp
      Set objApp = CreateObject("Photoshop.Application")
      Rem Use dialog mode 3 for show no dialogs
      Dim dialogMode
      dialogMode = 3
      Dim id11
      id11 = objApp.CharIDToTypeID("setd")
          Dim desc3
          Set desc3 = CreateObject("Photoshop.ActionDescriptor")
          Dim id12
          id12 = objApp.CharIDToTypeID("null")
              Dim ref2
              Set ref2 = CreateObject("Photoshop.ActionReference")
              Dim id13
              id13 = objApp.CharIDToTypeID("Prpr")
              Dim id14
              id14 = objApp.CharIDToTypeID("GnrP")
              Call ref2.PutProperty(id13, id14)
              Dim id15
              id15 = objApp.CharIDToTypeID("capp")
              Dim id16
              id16 = objApp.CharIDToTypeID("Ordn")
              Dim id17
              id17 = objApp.CharIDToTypeID("Trgt")
              Call ref2.PutEnumerated(id15, id16, id17)
          Call desc3.PutReference(id12, ref2)
          Dim id18
          id18 = objApp.CharIDToTypeID("T   ")
              Dim desc4
              Set desc4 = CreateObject("Photoshop.ActionDescriptor")
              Dim id19
              id19 = objApp.CharIDToTypeID("HsSt")
              Call desc4.PutInteger(id19, 1)
          Dim id20
          id20 = objApp.CharIDToTypeID("GnrP")
          Call desc3.PutObject(id18, id20, desc4)
      Call objApp.ExecuteAction(id11, desc3, dialogMode)
      Call SetUndoTo1CS3
    It will automatically start that version of PS which was last running before the system was shut down.
    Let me try an explain this in a different way:
    To get my software to talk to a particular version of PS I have to perform the following steps:
    Start that version of PS in I am interested
    Open a file and save is under a different name
    Close PS
    Restart my PC
    After performing all these steps when my software automates PS that version of PS will start which was last run.
    Any idea as to what is going on?
    Please help me solve this problem.

    The answer is somewhat easy until you start talking about launching 32 or 64! When you call CreateObject you specify which version you want. Most of the time you want the current version so you say "Photoshop.Application". But you can say "Photoshop.Application.11" for CS4 or .12 for CS5. You could look in the registry to see which keys are present and pose a question to your user.
    --------------- 32 and 64 bit fun ---------------------
    If you are on a 64 bit OS you have two versions of Photoshop installed beginning with CS4. If your application is a 64 bit application and you are the correct user you can see into both the 64 bit registry and the 32 bit registry. If you are a 32 bit application you only see the 32 bit side of the registry.
    What I do is run my VBScripts via the cscript application and I launch cscript in either 32 or 64 bit mode.
    Here is my test:
    Launch 32 bit version of photoshop via cscript in 32 bit mode and specify the version:
    E:\h:\windows\SysWOW64\cscript \files\VBScripts\TestLaunch10.vbs 11
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.
    Trying to launch Photoshop.Application.11
    DOM library
    11.0.2
    H:\Program Files (x86)\Adobe\Adobe Photoshop CS4\
    Done
    Launch 64 bit version:
    E:\cscript \files\VBScripts\TestLaunch10.vbs 11
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.
    Trying to launch Photoshop.Application.11
    DOM library
    11.0.2
    H:\Program Files\Adobe\Adobe Photoshop CS4 (64 Bit)\
    Done 
    You can see from the path that the correct version is launched.
    Here is a snippet of the code...
    appName = "Photoshop.Application." & vStringSet app = CreateObject(appName)

  • How to update the second JComboBox according selection in first JComboBox??

    I am having a hard time to update the second JcomboBox according to the selection of the first JcomboBox. For example, the content of the first JcomboBox is {city, rent}. When "city" is selected, the content of the second JcomboBox should be set to a number of cities. When "rent" is selected, the content of the second JcomboBox should be set to a range of rent.
    Since I have to detect the selection in actionperformed(), where the JcomboBoxes have been added to a Panel, and my JFrame setContentPane() to this Panel, I don't know how to update the JFrame or the Panel. I can make the old JFrame disappear and a new JFrame appear instead, but this is not what I want. I tried method update(Graphics) and removeAll(), and never made it work.
    I would greatly appreciate if anyone could give me any help.

    Thanks for your response. I fixed the problem in the following clumsy way:
    frame.getContentPane().remove(mainPanel);
    mainPanel.remove(box2);
    if(box1.compareTo("city")==0)
    box2 = new JComboBox(cities);
    else if(box1.compareTo("rent")==0)
         box2 = new JComboBox(rents);     
    else if(box1.compareTo("type")==0)
         box2 = new JComboBox(types);
    box2.setBounds(305, 30, 90, 20);
    mainPanel.add(box2);
    frame.getContentPane().add(mainPanel);
    Maybe there is a better way, but I don't know, and I don't understand your suggestion, could you further explain it? Thanks a lot.
    lz22

Maybe you are looking for

  • How do I use Ultrabeat and other plug-ins

    I have a triton LE, MOTU 828, and an M-Audio MIDISPORT 2x2. I just recently got Logic pro running but I can't seem to be able to record the loops that I create with Ultrabeat. How do I record them??? Do I need to bus or send them? If so, how do I do

  • Service Desk: Can't find Support Team when creat.message in satellite syste

    Hi all, strange thing: In service desk I customized the partner determination rule for the support team with the rule AC13200137. (In the rule pretty much everything is filled with * ) a) when creating a message via transaction NOTIF_CREATE within so

  • Safari was working in windows 7 this am and is now crashing

    any thoughts, I reinstalled Safari still does , it, but it let me get in once

  • Help with using autosum in excel 2008 on mac mountain lion

    I am coming from pc world... love my new mac....and excel autosum is not working on my new macbook pro. I click autosum at the bottom of a column with 8 numbers highlighted as I did on pc. And the correct sum shows in the cell where I want the total.

  • How to locate runtime error trigger

    I know I should read the manual to deal with the debugger.  I'm not there yet. <g> Anyhow, here's what the debugger is rendering:     at Website_fla::MainTimeline()[Website_fla.MainTimeline::MainTimeline:2] Cannot display source code at this location