LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build Error PDA

I can no longer build any applications using the PDA module!

Even if I create a new pda project with the default template, it will not build into an executable. During the build process I get the following message:

Error building executable. Unable to create file.

Details - An unknown error occurred. Please contact National Instruments for more help.

The errror log contains this:

sk.c
sk.c(372) : warning C4244: 'return' : conversion from 'LRESULT' to 'Boolean', possible loss of data
Generating Code...
Compiling...
_lvcepda80ARMtemp_.cpp
Generating Code...
Compiling...
lvCEPDAMain.c
Generating Code...
CVTRES : fatal error CVT1100: duplicate resource.  type:MENU, name:105, language:0x0409
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

I have uninstalled LabVIEW & the PDA module and the reinstalled both but the error persists.

Any help much appreciatted

ssk
0 Kudos
Message 1 of 8
(6,010 Views)

Hi,

If it was previously working and you have enough space to do the compilations on your drive then this is looking like a corruption issue, I would advise re-installing the PDA module software and see if this helps.

All the best,

Applications Engineer
0 Kudos
Message 2 of 8
(5,979 Views)
Hi Rob,

Thanks for your reply but as stated above, I have uninstalled the pda module and labview (8.5) and reinstalled but I still cannot build an exectuable.

Any other ideas?

Thanks
0 Kudos
Message 3 of 8
(5,976 Views)
Ah sorry, I missed a line I think!
Thats very unusual, have you tried an example PDA program thats known to work to see if this gives you the same error?
 
Thanks,
Applications Engineer
0 Kudos
Message 4 of 8
(5,971 Views)
I have just tried to build an executable from the PDA examples folder (PDA Tutorial.proj) and I get the same error.

I even get the error if I start a blank new project from the LabVIEW start screen and use the unititled.vi that is created.

Any help appreciated as I need to get on with the project!!

ssk
0 Kudos
Message 5 of 8
(5,969 Views)

Thats very unusual, the case may be that a reinstall didn't wipe the issue fully so you may want to use the MSIBlast utility

http://forums.ni.com/ni/board/message?board.id=250&message.id=12643&requireLogin=False

 

Applications Engineer
0 Kudos
Message 6 of 8
(5,955 Views)
Rob,

Thanks for your suggestions but I seem to have resolved it myself now.

I uninstalled just the PDA module (again) and then looked in the LabVIEW directory. There was still a folder called PDA which contained files, I deleted this directory and re-installed the PDA module and now I can build exes again!

ssk
0 Kudos
Message 7 of 8
(5,947 Views)
Thats great news!! Thanks for letting me know and happy coding.
I'm not sure why the error popped up in the first place, but it just sounds like some random corruption issue.
 
All the best,
Applications Engineer
0 Kudos
Message 8 of 8
(5,942 Views)