06-27-2011 01:51 PM
I have a program I'm writing that allows you to choose between different test applications and different CAN databases needed for the applications. When I hit the okay button it opens up the selected test application and I want it to pass into it the selected database file path. I've read about doing something like this with the command line, but it doesn't seem to work for me. I need to pass the path of the database to the test application as a string and then the test application handles it to run its own thing.
I am using a .NET process to open the application and wait until it is closed to continue my VI.
I used System(2.0.0.0)
System.Diagnostics.Process()
Method: [S]Start(String fileName, String arguments)
I want to pass that string argument into the .exe.
Not on the same topic, but same project so I figured I'd throw it in here.
There is a second part do this that I'm hoping someone can shed some light on as well, but the main thing is passing the string of the database location to the test application. Once the test application is open and the database file path is there; I need to be able to programmatically load the CAN database from the file path passed to the .exe to populate an XNET frame list. Then the user can choose the appropriate CAN frame from the list to run the program.
Any help with any of this would be greatly appreciated, thanks.
06-27-2011 02:41 PM
You can disregard the second part if you wish. I posted it in its own topic as I am having a lot of trouble finding a solution for that as well. Thank you.
06-27-2011 03:56 PM