How can pass data to a version of exe with LabVIEW?

I have an application that allows to launch one or more instances of the same executable using "system Exec' VI, false option" wait until the end? My problem is I want to transmit a different value for each instance, to an input parameter. Something like that if you launch notpad.exe, followed by a file name. The executable file is a generation of LabVIEW application too.

How can I do this?

Best regards

Passing parameters to the command line in a LabVIEW application is actually quite simple.

There are 2 things you need to do:

-Change the specification to build exe of LabVIEW to move all command line arguments to the application

-Read the property App.Args that returns an array of strings for the parameters - the first parameter is always LabVIEW.exe.

For an example:

Here, I've read the arguments ignore the LabVIEW.exe and then read a path as the first argument and the check, it exists and there is also an option '-choose ' parameter that determines whether to show the user interface.

Details are here: http://digital.ni.com/public.nsf/allkb/17C3AD70493CE0208625666A00763364

Tags: NI Software

Similar Questions

Maybe you are looking for

  • Re: Satellite Pro A200GE-1F9 - Scrolling trackpad

    Hello [My laptop: http://uk.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/jsp/SUPPORTSECTION/discontinuedProductPage.do?service=UK&BV_UseBVCook ie = Yes & PRODUCT_ID = 131911] After updating the driver for my mouse trackpad, I was unable to use the

  • Several problems of reads/writes of Visa

    Hi all. I've been using labview VISA to communicate with an I/O device called a µChameleon. I need to monitor the status of mutiple pins by sending an entry VISA to query the PIN then use a read VISA to identify the State of the PIN. The problem I ha

  • WebSTAR Cable Modem Driver has stopped working properly.

    Recently, I received this message. I've not seen before until today. What it means and how to fix it?

  • Photos does not drive

    I have windows vist on acer laptop. When you listen to a photo disc it takes a lot of time for all the icons to open and some are either full or part gray. There is not a problem with the disc such that it opens correctly on another computer. Any ide

  • OfficeJet 6700 Premium only print blank pages

    My Officejet 6700 Premium printer is only printing blank pages. I just replaced all the cartridges with HP new ones. The printer is now going through the motions but does not print blank pages. This happens for all what I am trying to print including