05-13-2009 12:19 AM
Hi all,
Im creating a sample html report using labview6.1. my question is i want to save my report html file to the current directory where the vi is located instead of giving some path like " C:\Folder1\Folder2\..." etc . My intention is to put the VI in a zip file so that i can send it to my friend and when he runs it its easy to locate the report since VI and report are in same directory..
Any methods to do so??
Steve.
Solved! Go to Solution.
05-13-2009 12:35 AM - edited 05-13-2009 12:38 AM
05-13-2009 01:09 AM
Just aside...
Balaji, can you give your email ID for me to contact you? Or, can you mail to my email ID found in my profile page?
I need to have an offline discussion with you...
05-13-2009 01:13 AM
I am not found ur email ID in profile page
my email id is-usicbala@gmail.com.
05-13-2009 01:50 AM
thank you very much a little addition to ur suggestion solved my problem
05-13-2009 02:14 AM
When you build your VI into an EXE, it wont work.
To make it work in an EXE, you need to strip the path twice before appending your report filename.
Another good approach is take the Application Kind property (node) from the Application pallette& wire it to a case structure. You ll get many types of the application. In Development System case, put this single-stripped path code. In Run-time System, directly wire the Application Path property (from the node kept connected to the case structure) thro' this case & to the build path terminal kept outside the case structure (common to all cases)...