Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

undefined error in executable

I have build an application + installer and installed it on a stand alone machine. All works perfectly, except that some error codes are stated as undefined, e.g. -20307, an analysis error. "Install custom error codes" has been checked (-20307 is not a custom error). How do I get error codes to be defined?

Rgds

Gerwim

0 Kudos
Message 1 of 9
(4,388 Views)

Hello Gerwin,

 

Can you please attach your installer, so I can have a look at  the error?

 

Thanks,

 

Casper

0 Kudos
Message 2 of 9
(4,366 Views)

How to attach something to a message? There is no option in the button bar.

 

Regards,

Gerwim

0 Kudos
Message 3 of 9
(4,362 Views)

Reply on this message and at the bottom you will find Add Attachment.

 

grtz casper

0 Kudos
Message 4 of 9
(4,360 Views)

The installer is too large to send. Here is the project file.

 

Is it possible that error codes are not copied if they are "borrowed" by my own vi's?

 

Regards,

Gerwim

0 Kudos
Message 5 of 9
(4,355 Views)

Helloo Gerwim,

 

Which version of LV do you use, 8.6 Proffesional Development? Do you use any Signal Processing VIs?

 

  • Install custom error code files—Includes LabVIEW error code files in the installer build. LabVIEW includes all files in the labview\project\errors and labview\user.lib\errors folders that end in *-errors.txt. Remove the checkmark from the checkbox if you do not want to include error code files.

    Note  You must manually create an errors folder in the labview\user.lib directory to organize your error code files.
  • With kind regards,

     

    Casper

    0 Kudos
    Message 6 of 9
    (4,336 Views)

    Hi,

    I'm back again.

    The error list from which I use codes is in:

    C:\Program Files\National Instruments\LabVIEW 8.2\resource\errors\English

    As you can see I use 8.2.1

    Since these are 'standard' errors, they should be copied.

    I'll copy the files to the userlib-error folder

     

    Regards,

    Gerwim

    0 Kudos
    Message 7 of 9
    (4,272 Views)

    Hi

    Copying files from the resource\errors folder to the project\errors folder made thing work.

    So the problem is solved, but I'm not very happy with it.

     

    Regards,

    Gerwim

    0 Kudos
    Message 8 of 9
    (4,268 Views)

    Hello Gerwin,

     

    First the best wishes for 2009!

     

    Indeed, this is an unexpected behavior. Do you have the same problem creating a simple executable, can you reproduce it?

     

    With kind regards,

     

    Casper

    Message Edited by CasperK on 01-05-2009 02:34 AM
    0 Kudos
    Message 9 of 9
    (4,162 Views)