LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple files in command line arguments or adding command line arguments to a running application

Hi,
 
I want to be able to open more than one data file in my stand-alone labview application. I can open one file by using cmdarg variable just fine. I want to be able to either
a) have multiple files in the cmdarg variable (I can parse them if they are appended into one string, but now windows is just giving me one file that i clicked even though I may have 3 of them selected in explorer)
or
b) add files one at a time by clicking them, but I want these files to be going to the same labview application (to be appended to the cmdarg?), not starting a new copy of the Labview application every time.
 
I am not 100% that these things are not Windows problems, but there should be something that my application can do to change the way things work out. Thanks!
 
Egor
0 Kudos
Message 1 of 2
(2,655 Views)
When you build the application, you may need to tick the "Pass all command line arguments to the application" box under the Application settings tab.
The usual way to add command line arguments to a running application is by DDE which I have found a bit unreliable in LabVIEW but you could look into it.
Victor
0 Kudos
Message 2 of 2
(2,653 Views)