01-14-2008 10:09 PM
01-15-2008 02:38 PM
01-15-2008 06:52 PM
05-14-2015 06:10 PM - edited 05-14-2015 06:33 PM
I am using LabVIEW 2014 and have been getting this error randomly, but fairly consistently on a recent build. I searched all over and could not find a solution that worked. However, just through trial and error I discovered that the problem is related to SSE2 Optimization in the Advanced properties window. I can consistently cause this error by enabling this feature and consistently compile successfully when it is disabled. Try turning this feature off and see if it solves the problem.
...UPDATE: After closing and re-opening LabVIEW this error came back, and did not seem to be affected by the SSE2 option. Not that it isn't related, but perhaps not the silver bullet I thought it was.
I also got the error to go away sometimes when I compiled the EXE while the main program VI was open, whereas it gave the error most of the time when no VIs were open...again, nothing seems to consistently solve the problem...there is definitely some kind of bug in the appllication builder, and it seems like there are a lot of people that have been struggling with this for a long time (as far back as LV 8)...hopefully NI eventually finds this bug and squashes it!..although, I doubt that anybody at NI is even looking for it...
05-14-2015 07:21 PM
05-14-2015 07:31 PM
05-15-2015 01:33 PM - edited 05-15-2015 01:38 PM
It's pretty small code...just a state machine with a dozen or so states that configures, reads and displays data from an Agilent Data Acquisition System. No DLLs or external files (other than relatively small Sub VIs, three global variables and a few TypeDefs). There are a few small diagram disable structures (just commenting out small portions of code)...but Ive used those in other code before and not had any trouble...
It was written in an earlier version, (2013 I think), although some of the Agilent VIs were written in a much older version and then automatically upconverted to 2014. I had similar issues back then (2013), but LV 2014 converted it when I opened it up and it compiled fine for a while, so I assumed that LV fixed a bug...then the problem started coming back. I haven't tried breaking it up and compiling SubVIs yet...may try that once I get some free time. For now, it is working, it just requires consulting a shaman and performing a yet unknown ritual before compiling the EXE...did I mention that the code RUNS just fine in development mode? It also runs fine once compiled. It's just compiling it that's problematic.
05-15-2015 03:22 PM
05-15-2015 03:43 PM
At what screen? Ctrl-Shift-R doesn't seem to do anything at eather the Project Explorer window, nor in my main VI. Also, it's compiling now...so no idea whether a forced recompile would fix the issue or not. It's aggrivating how unpredictable the compiler issue is...sometimes it works, sometimes it doesn't...
-R
05-15-2015 03:54 PM