LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

saving data in compiled mode

hello,

I'm working to make a programm saving acquisition's datas.
My question is that these files are created as i want when running in interpretted mode.
But when i make an applicaion with my vi i never found my files.
Can u help please???
0 Kudos
Message 1 of 2
(2,492 Views)
How do you build the name of the files?

If you build the path relative to the VI path and you put the VI into an app the path gets one element longer. E. g. you have the VI in MyProject\MyVI.vi the app in the same location will give MyProject\MyApp.exe\MyVI.vi. You must take this into consideration when building the file path with the Strip path and Build path functions.

Place a property node on the block diagram with App class and the property App.Kind will give you where the VI is running. This way you can determine whether the VI runs in development or runtime environment.
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 2
(2,484 Views)