04-24-2008 01:35 AM
04-24-2008 01:45 AM
04-24-2008 01:46 AM - edited 04-24-2008 01:47 AM
Hi Mathan,
do you mean with open the file, that you want to open the file with the corresponding program? For example acrobat reader opens your selected file?
Mike
04-24-2008 04:04 AM
Hai mike,
What i required is when i run my vi, after 3 seconds an exe in desktop should get opened and after 5 seconds it should get closed. That's all. Kindly help me with an example.
Thanks,
Mathan
04-24-2008 04:10 AM
Hi Mathan,
you can use the SystemExec.vi for that. I´m not sure with close it after 5 seconds. Is it an exe from you? Is the exe ready after 5 seconds? If not i think you have to kill the task with the user32.dll function. Can you explain a little bit more about this exe file??
Mike
04-24-2008 04:35 AM
Dear Mike,
My exe won't do nothing. Its use is, am testing a USB device and when that exe get opened, it should just reset the device and that's all its purpose. So when i run my vi, the exe should get loaded once and maybe after 3 or 5 or 10 seconds(user input) it should get closed.
Thanks,
Mathan
04-24-2008 04:41 AM - edited 04-24-2008 04:41 AM
Hi mathan,
you can use the System Exec vi to start your executable. See the attached picture.
Mike
04-24-2008 04:47 AM
Hai mike,
That worked. Thanks a lot.
(Note : This also worked as altenbach suggested.... Labview\vi.lib\platform\browser.llb\Open a Document on Disk.vi)
Thanks,
Mathan