07-15-2016 08:28 AM
Hello!
I made an application with NI Vision Builder for AI, and the executable version doesn't save the log file. While testing it in NI vision, it saves, when i migrate it to labview it saves, but when i build the executable file, that doesn't do the logging. What could be wrong?
Solved! Go to Solution.
07-15-2016 08:37 AM - edited 07-15-2016 08:37 AM
Here is a thing..
The path in LabVIEW application and the path in EXE handles differently
You can follow this link to specify the path in EXE
http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363
07-18-2016 01:26 AM
I'm setting up the logging destination in Vision Builder and I can't change/modify it in the LabVIEW migrated version (I should say I don't know how to.).
07-18-2016 01:29 AM
07-18-2016 02:02 AM - edited 07-18-2016 02:04 AM
Few questions to debug
-Where you are saving the log file in NI Vision Builder?
-How you are saving?
-What path you are giving for file? Is it relative or hard coded?
Adding this :check if it is similar to this problem:
07-18-2016 02:05 AM
I'm saving it with the data logging tool. You can see the path and the settings at the attached pictures.
07-18-2016 02:36 AM
07-18-2016 02:51 AM
Thanks for your replies, the solution was easier than I tought. There wasn't any problem with the path or anything like that. The problem was that, I checked the "Log as background task" checkbox, and (I think) there isn't any program what could execute this step. So I unchecked that, and now it creates the log file as I wanted to.
Again, thanks for your quick response!