How should I treat the files that have been opened by using my LabVIEW application?

Hello!

I want to put the code in my LabVIEW program that she will handle a file opened with.  Let's say I have create my app as an .exe.  I have my .exe associated with a particular file type in Windows.  If the user double clicks on the file, it will launch my labview application.

How can I get the information in path of file of the file that the user has clicked on in my code so I can handle?

Thanks for your time!

-nic

@Ravens-

If you put:

SuperSecretPrivateSpecialStuff = True

 

In your file LabVIEW.ini, it will unlock an "OS Open Document" event to use in a block Structure of the event with a 'File Path' node on the left side.  Whenever the application is launched via a file of the operating system, this event fires (even if your application is already up to-and-operational).

 

Works like a champ and is enough would apply us!

 

This method was published in the forums JKI.

Tags: NI Software

Similar Questions

  • When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?

    1. Question

    When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?

    Hello.

    I think this is a related issue of Windows, because it is the Manager to save the windows file that we are talking about here (right?). You should contact Microsoft for help with this one, I think. You expect to be able to delete entries simply by touching delete on your keyboard when they are concentrated (that is how it goes for the removal of the form entries specific autocomplete in Firefox), but I have not tried.

    I'm sorry I can't be more helpful.

  • error message received when downloading CC PS I needed to upgrade my display driver.  I've now updated - how can I get the improvements that have been disabled on initial installation?  I use Windows 7-64 bit.

    I received an error message telling me that my display driver was not at the height, & that some improvements would not be enabled.  I've since updated my display driver.  How can I get the improvements that have been initially disabled?

    Thank you...

    If you have all the features you need and there is no problem.  let alone ps.

  • 09 pages start without opening any files that have been opened before

    I find that Pages and preview and more everything to always come on "refractory".

    I restart my Mac or that you leave the Pages 09 and when I run the application Pages 09 he recalled ten documents I had open and opens to them.

    It takes a lot of time.

    Can I start Pages without all the docs that have been opened, when he went haywire have revived?

    I just want to start with no docs.

    Thank you

    Tom

    It is always a good idea to save and close all open documents. Should hang the system, failed, or through power failure, open documents are at risk.

    In system preferences: General, select shut down windows when you exit an application. From the Apple menu, both the reboot... and stop... the dialogues have a checkbox that will again open windows when you log in. Make sure they are turned off.

    The foregoing background window-free cool boots.

  • How to recover programs and files that have been written too by a full system restore?

    Original title: data recovery

    Is there a program that will allow me to recover programs and files that have been written too by a full system restore?  I had to do a complete system restore, because the computer has been locked up in a start of the closed loop cycle.

    Hi Apmech9,

    1. don't you restore the computer to factory settings?
    2. do you just restore the computer to an earlier time by using the system restore feature in Windows XP?

    If you restore the computer to its factory settings, you will then get in touch with the manufacturer of the system for more support options.

    If you had just restored the computer to an earlier time using System Restore, you can undo the system restore to revert back the changes.
    See the article "How to undo a restoration of the system after performing a system restore" in this article of the

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

  • How to use the Explorer under Vista? Like in XP, I was able to change the 'view' of all the files that have been hidden.

    I want to change the view and see all the files.  Reason is to move files from one hard disk to another instead of doing the method of file transfer.

    Go to start / Control Panel / folder Options / view and scroll down and check the box to show the hidden files and folders.  In addition, uncheck to hide system files. In addition, uncheck to hide extensions of known file types (the last because it can be useful and worth while you're brings other changes).  Your problem should be solved.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • My expansion drive has been disconnected, and all the files that have been renamed on Premier Pro are missing!  Help!

    I use Adobe first Pro CS5.  I'm working on a project for a month and this morning, I realized that there is a problem with it.  To make sure that I don't junk my computer upwards, I have always to leave the files I'm working with my expansion drive and I work from there.  I have autosave all the time, etc, but apparently, at some recent point, my disk expansion has been disconnected, and Premiere Pro tells me that all my files are offline.  My biggest problem is that I've renamed all my video files in Premiere Pro, but I not rename them on my drive for expansion.  Thus, for them find would probably take me as long, if not more, of my original work.  Is it possible in the world that I can record these files and the long hours that I've already spent editing this video?  If you have an idea regarding what I can do, I would be eternally grateful.   Note: I work with AVCHD clips.

    Please, I beg you.  Whatever that is would be helpful at this stage.

    Make sure that Premiere Pro is closed, and reconnect the drive.  Everything should be good when you reopen the project.

    The exceptions are two.  Bill has raised the first.  The second is that if you have already saved the project with offline files.  Once you do that, you're done.

  • How can I store the passwords that have been deleted

    I had the usernames and passwords stored for multiple accounts of e-mail on the same site. These have been accidentally deleted from the list of saved passwords, and now I can't get Firefox (23.0) to remember once again. I have no password check enabled (behind a master password), and this site does not appear on the list of "exceptions." In the password management utility, there is no facility to add new passwords, not to remove them. It seems, once removed, Firefox assumes one will never want to save this site again.

    I'm in and out of these accounts literally dozens of times a day and now connect in the manual every time. How can I get Firefox saves these combinations of name of user and password for me again?

    Yes. AutoComplete = off is a direction that web sites can give a browser to instruct them not to store the data that you enter in an input field. This can be search terms that you enter on a Web site like Google, but also the privacy and security of sensitive data such as a credit card number.

    If you use the bookmarklet so you know what you are doing and give it a second thought.

    If you use the extension that you don't notice that a Web site prefers that you do not to save this data.

    With recording a password, you will need to confirm a prompt, but the other form data can be recalled if imperceptible autocomplete = off is removed.

  • How can I view individual files that have been backed up? I will restore all files, not just a few specific?

    Recently, I backed up my files, such as registered and deleted from my HARD drive.  Restarting resolved a number of issues.  Now, I need to restore specific files a few I.e. 'my music '.  How can I find and restore individual files or folders WITHOUT restoring those that were responsible for the problems that CAUSED problems.  I want to remove most of the backup and save a few folders/files.

    How can I watch them?  I tried to 'Search' for 'my music' and some specific mp3 and names without success.

    See if this will help.

    http://blogs.technet.com/b/filecab/archive/2009/11/12/recovering-your-files-in-Windows-7.aspx

  • Record of the comments in the file that has been opened

    Hi all

    I was wondering if someone can help me.

    I am trying to send a record of file excel hyperlinks to PDF files I saved specifically for comments from people. However when the ER comment opens the PDF file and adds his comments when they try to save the file, it usually automatically save to the original file, it only will allow them to save as a new file name and a location. And to make it even more difficult to Adobe Reader 11 is not even open the record - as the path to the location of the original file, so the comment-er can not simply click on the original and save on top.

    Can anyone suggest how to set up a PDF file that people can add comments and then just hit save, using Reader 11?

    Thank you

    JC

    I found a solution, and it is not to use Adobe Reader to read and comment, basically.

    If I open PDFs through foxit, even a hyperlink, add my comments and just click on save, it save on the old file rather than force me to cross the Sava - like process (and I also have to navigate to find where the original file was recorded in the first place.)

  • How to fill out the lines that have been drawn with the paint brush tool?

    I keep trying to use the paint bucket tool, and it does not. I need help, because I need to work on this animation.

    It is usually because there are gaps in the line. There is a trick which called narrow gaps that is available when you click on the paint bucket tool. Select one of the options, and it's much easier to fill something drawn with a brush.

  • Recover files that have been saved to the factory standard HP Envy 17

    I thought that my d drive would not be affected by recovery-> procedure of the plant, so I lost my drive d: with music, photos and film, but it seems that they were saved by the program before the resumption of the proceedings to factory setting. How can I recover these files? It is not easy to see where you in the Recovery Manager.

    SOLVED! I ran the USB Restore.exe and showed all the files that have been backed up. Easy, when you know :-)

  • Can I restore my laptop hard drive files that have been moved to my external hard drive (who subsequentally has stopped working)?

    I cut and pasted and then a few important files from my laptop on an external hard drive. Since the external hard drive stopped working. Is it possible to find the files that have been moved?

    Thank you!

    (More info: I tried to recover the files from external hard disk but it requires a physical recovery and would cost over $ 1000, which I did not; also unfortunately I don't think I created backup via the "backup and Restore Center" files in the control panel).

    It depends on how long you have moved the files, and how the computer has been used since.

    If you have Vista Business, Ultimate or enterprise, you can use the previous versions.

    http://Windows.Microsoft.com/en-us/Windows-Vista/previous-versions-of-files-frequently-asked-questions

    Try these programs:

  • How to access the tab 'Save all' when I close several jpeg files that have been adjusted with the "color adjust tool? He is currently making me close and save one at a time. Thanks for any help :)

    How to access the tab 'Save all' when I close several jpeg files that have been adjusted with the "color adjust tool? He is currently making me close and save one at a time.  I've just upgraded to El Capitan.  Thanks for any help :)

    I assume that you use the application overview.

    I can't find an answer to back up everything, but a workaround could be while the file menu options are visible, press the option key

    and the point of the window will become close, if you click on that dialogue will ask you if you want to restore the changes or save

    pressing Save will close the image with the changes and then move to the next image and so on.

  • How can I retrieve files that have been combined and saved?

    How can I retrieve files that have been combined and saved?

    It was recorded, it has not come back.

    How can I extract PDF files all at the same time in separate files?

    I know that I can pull out them individually, but which takes entirely too long.

    Is there a way to extract all at once?

    If you have combined with Acrobat (or service Pack of PDF), so you should always have the individual original files.

Maybe you are looking for