Check out our General Code Repository Files. Also, before posting here, check to see if your post doesn't fit into another subforum by category.
Tags |
(This content has not been tagged yet)
|
![]() |
Sep 5 2008, 09:22 PM
Post
#1
|
|||
|
I've come back for more. Member Posts: 2 Joined: 18-June 08 Member No.: 11794 Using LabVIEW Since:2008 LV:8.5.1 ,. ,.
|
Hi,
I am relatively new to LabVIEW and wasn't able to find a way of doing this on my own: At the end of an App that I have written I want the user to be able to open the folder to which all of his output files were saved. How can I do this? Thanks in advance.
|
||
|
|
|||
| Ad |
Sep 5 2008, 09:22 PM
Post
#
|
||
|
|
|
||
|
|
|||
Sep 5 2008, 09:54 PM
Post
#2
|
|||
![]() Extremely Active NI ![]() Posts: 607 Joined: 8-December 03 From: Dallas, Texas Member No.: 208 Using LabVIEW Since:2000 LV:8.6 ,8.2.1 ,7.1.1
My Gallery
|
I can't say specifically how to do it, but I know there is no native way in LabVIEW to accomplish this.
What I would expect the answer to be, is that you will call the SystemExec command (executes command line operations) to some component of .... wait... this is easier than I'm making it out to be. ![]() yup... that works. Just call that at the end of your program w/ the appropriate path worked into the end of the string. -------------------- Norman J. Kirchner Jr.
Automation Software Engineer ~,~ The Captain Was Here Premium Blend ![]()
|
||
|
|
|||
Sep 5 2008, 10:05 PM
Post
#3
|
|||
![]() Very Active Premium Member ![]() Posts: 222 Joined: 31-January 03 From: Wilson NC USA Member No.: 48 Using LabVIEW Since:2001 LV:8.5 ,. ,.
|
You can execute a windows commands using the SystemExec vi. If you give it the string:
run c:\ You will get and explorer window of C:\ There are variuos obscure commands and syntax that will cause the explorer window to look certain ways, such as with the folder tree present, and so on. I don't have a reference for you on that, but knowing about it should help. So assemble a string that does what you want and wire it to the SysExec vi and you are good to go. Mike -------------------- Michael E. Ross ArcAngle Design | MX Automation | Solco US================================= Bachelor of Science Mechanical Engineering Machine & Product Design - SolidWorks Data Acquisition & Control - LabVIEW Finite Element Analysis - Cosmos 217 Valley Creek Drive Clayton, NC 27520 (919) 631-1451 (919) 550-2430 michael.e.ross@gmail.com
|
||
|
|
|||
Sep 6 2008, 05:25 AM
Post
#4
|
|||
![]() I'm a LAVA, not a fighter. V I Engineering, Inc. ![]() Posts: 3849 Joined: 13-October 03 From: Michigan, USA Member No.: 181 Using LabVIEW Since:1993 LV:8.5 ,. ,.
My Blog
|
At the end of an App that I have written I want the user to be able to open the folder to which all of his output files were saved. Feed the path into "Open URL in Default Browser.vi"
-------------------- ![]()
|
||
|
|
|||
Sep 8 2008, 03:22 PM
Post
#5
|
|||
|
I've come back for more. Member Posts: 2 Joined: 18-June 08 Member No.: 11794 Using LabVIEW Since:2008 LV:8.5.1 ,. ,.
|
Thanks a lot.
|
||
|
|
|||
![]() ![]() |
| Time is now: 8th January 2009 - 12:00 AM |