12-26-2012 07:01 AM - edited 12-26-2012 07:07 AM
Hi,
I'm getting this error when attempting to expand the application in the installer. However, I am able to preview the built application without errors. Please see the attached screen shots. Also i have atteched my Vis.I am accuring data using my controller and it has its own Vis for accuring data . i am using labview 2011.
Pl guide to solve thisd issue.
Solved! Go to Solution.
01-07-2013 09:34 PM
i found the mistake and corrected it
09-19-2013 09:17 AM
That message really helped... What did you do to fix it?
Mike...
09-19-2013 09:37 AM
I think what Mike is getting at is, this is a community forum, and others can benefit from your wisdom if you post details on how you solved the problem. 🙂
09-19-2013 02:22 PM
Thanks Bill for intervening, I'm feeling much better now...
In any case, what I have found out (despite NI's tech support being down with computer problems) is that this code indicated a very non-specific problem - roughly equivalent to telling the doctor that you feel "icky". So that being the case, perhaps this thread can over time serve to collect all the issues that can cause it.
A couple things to try:
I tried all those things with no help, so now what I found for myself:
I initally assumed that the build I was trying to install was good. After all, the build run to completion with no errors, and the built code worked as advertised. So on a hunch I tried turning on the logging function in the build to see if anything seemed strange or out of place. What I found was that in the initial build I was using one control that existed in a library that was associated with a cRIO target in the project. So I moved the control to a library not associated with the RT target and again rebuilt the code - again without errors; and again functional. This time however, the installer build also worked!
Hopefully someone who understands the insides of the installer builder can explain this -- as for me I am befuddled...
Mike...
01-30-2015 05:15 PM - edited 01-30-2015 05:17 PM
Thanks a lot Mike! I have exactly the same issue as the OP so I'm going to try some of your excellent advice when I get in on Monday morning. I almost missed this thread. I did a search for "Installer Can't Generate Preview Error" and got nothing useful but when I tried "Installer Can't Generate Preview Error -1" I found this thread at the top. Ironically Error -1 is undefined so I have no idea how it made a difference in the search.
My VI does include drivers for a GPT-9804 electrical safety tester so I bet there's some weirdness in the naming or file structure. At least I can go have a beer and enjoy the weekend since I have an idea what to do next week...
Thanks Again and Kudos to You!
Keith
EDIT: BTW, once I determine specifically what went wrong I'll post the details. This is a frustrating error that needs better documentation.
01-30-2015 07:20 PM
02-02-2015 08:48 AM
Thanks Craig. I'm almost positve I'm running 2013 f2 but I'll check it. Taking another snow day today here up north of Boston but I'll be looking into the issue tomorrow morning...
02-02-2015 09:25 AM
@mikeporter wrote:
Thanks Bill for intervening, I'm feeling much better now...
I think your first response was appropriate. In any case here is some unoffical forum guidelines which mention this situation, under the marking solutions section.
As to the original question, I never had much luck in report generation. In the few times I was curious and tried the feature, it would often take several minutes, which would be the majority of the time it would take to actually build the EXE. And several times it would take a few minutes to tell me there was an error. So I just don't waste my time with it. If it has improved in the years then maybe I should try it again some time.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord