LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Building Executable. Unable to Create File. LabView 8.2.1 TP

Hello,
I have "inherited" a fairly large, mostly completed LabView program. It was supposedly running when I got it. I am running LabView 8.2.1 with the Touch Panel Module 8.2.1. The tutorial project will compile and deploy with no problems to my Windows CE 4.2 device. My other program will not build and gives me several fatal error C1070's mentioning some .c files. The last Labview code I wrote was in 6.0i, so the whole project thing as well as the Touch Panel Module is TOTALLY new to me. Any help is GREATLY appreciated.
0 Kudos
Message 1 of 8
(3,891 Views)

See the links below.

http://zone.ni.com/devzone/cda/tut/p/id/6121

http://zone.ni.com/devzone/cda/tut/p/id/6110

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 8
(3,882 Views)

Hello Partha,

Sorry to let my "newness" show, but these links refer to HMI Architecture, which I'm sure somehow is related to my problem, but I'm not grasping it. After more research, I seem to be having problems with the C linker(?), but only with this particular project. The project was built on a different desktop machine, for what that's worth. Thanks for the reply.

0 Kudos
Message 3 of 8
(3,870 Views)
I think I'm on to something. The compiler is looking for files that do not exist, ie: calibrate_a.vi when the current version is calibrate_b.vi . All through the project, it references the correct files. I cannot figure why it is trying, or what is telling it to use these older files. Any ideas?
0 Kudos
Message 4 of 8
(3,863 Views)
You said you are getting an error related to some .c files. Can you give us the exact error message you are seeing, and any error number if available? Also, is this touch panel application trying to call any c code or a dll?
Nick R
NI
0 Kudos
Message 5 of 8
(3,853 Views)
Thank you for the reply!
 
This is what I'm getting each for several different filenames:
 
Cal_Connector_TP.c
c:\documents and settings\rscottg\local settings\temp\~tmp96052\LVForms.h(39) : fatal error C1070: mismatched #if/#endif pair in file 'c:\documents and settings\rscottg\local settings\temp\~tmp96052\lvforms.h'
 
To my knowledge, there are no c subroutines in my vi.
What's more is that the ~tmp96052 folder doesn't seem to exist on my machine.
0 Kudos
Message 6 of 8
(3,851 Views)
Was this inherited application written for the touch panel? I can't imagine that it used to work on the touch panel. All of these errors are references these .c or .h files that are not part of LabVIEW, they are somehow linked to this existing project.

Does this application run on your PC? If you try to create an executable for your PC does that work?
Nick R
NI
0 Kudos
Message 7 of 8
(3,831 Views)

Hi,

Yes, it was written specifically for the touch panel module from the start, although I never personally saw it run on the handheld. It did mostly run on this very desktop machine back in June. It kinda runs now on the PC. A few errors, mostly VISA flush ones, but basically runs. I was able to make great strides last week in getting it to run as much as it is. Mostly because of my own re-learning curve, it's been slow. Haven't tried building an executable because I'm not sure if we have the Application Builder license. I've pretty much concentrated on making it run on the desktop, plus, I've been called off on other tasks. By the way, sorry about the lag in response time, currently, I'm on night shift.

Thanks!

0 Kudos
Message 8 of 8
(3,824 Views)