LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error while creatiing executable - Error 1502

i got also this error code 1502, tried with all the methods, which were mentioned above.

1. uncheck the "remove the unused members of project libraries"

2. delete the case frame which I used a default false to select only the code in false condition.

3. check the "enable debugging", it works, but the executable file can't be executed.

What else should I do?

Thanks for your answer!

0 Kudos
Message 31 of 65
(1,919 Views)

In my case, I could trace the origin of the problem to the last diagram modification where I had added a new subvi.

To only way to get things to work was to keep this VI open during build.

0 Kudos
Message 32 of 65
(1,915 Views)

Hey Karenlee_53,

 

Have you tried un checking the “Disconnect type definitions” option in the Applications Properties?  Do you have an Enum connected to the case selector of the case structure?

 

Kira T.

0 Kudos
Message 33 of 65
(1,899 Views)

Hi Kira,

 

I didn't check "Disconnect type definition" and I deleted the enum connected to the case structure, but it didn't work either.

I can try to check the "Disconnect type definition" later.

Thanks!

 

Karen

0 Kudos
Message 34 of 65
(1,893 Views)

I tried, didn't work.

 

Karen

0 Kudos
Message 35 of 65
(1,889 Views)

Hey Karen,

 

Are you using any modules or toolkits in this project?  What do you have wired to the case selector of the Case Structure now that you removed the enum?

 

Kira T

0 Kudos
Message 36 of 65
(1,862 Views)

Hi Kira,

 

I solved the problem, but there is another problem I've met. After building the exe file, the "ok" and "cancel" button were disappeared and also some, it is so strange.

How can I do now?

Thanks!

 

Karen

0 Kudos
Message 37 of 65
(1,858 Views)

Hi Karen,

 

Could you provide us with a screen shot and more details on how you can reproduce this error? This does seem strange... 

--
Peter Rifken - Field Engineer & Business Manager
Boston / North New England & Maine
0 Kudos
Message 38 of 65
(1,843 Views)

Hi Peter,

 

this is the screen shot for the missing "OK" or "Cancel" button.

Is that helpful for you?

Thanks!

 

Karen                      login.JPG

0 Kudos
Message 39 of 65
(1,831 Views)

A few questions:

 

Regarding the screen shot, is this is what happens when you try to run your application?

Does the VI still work properly in development mode (ie, can you see the OK and Cancel buttons)?

Are you trying to run the exe on the same computer you developed on? 

 

This might give us some clues... 

--
Peter Rifken - Field Engineer & Business Manager
Boston / North New England & Maine
0 Kudos
Message 40 of 65
(1,815 Views)