LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error while building application installer and exe

i had tried to build an installer and exe for my appication which application and exe building is successfull. but when we install it over the system it does not read  analog input and digital inputs and showing NaN in the indicator,I have treid many a ways and this works after disabling the counter reading section which is used to read the pulses from the quadrature encoder. when i again include that particular section it shows the same error. also this entire code works beautifully without any error from our source code, what might be the possible cause , please help me, 
0 Kudos
Message 1 of 6
(3,709 Views)
Have you installed DAQ or DAQmx onto the target computer?
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 6
(3,692 Views)
yes, it is installed on the machine, it works from the code only after building the Exe or installer, even if i run the exe from the project file it shows error where as no error while running the application form the same project file VI
0 Kudos
Message 3 of 6
(3,689 Views)

Hi Kodee,

 

1)     Are using error handling in your code?  Are you getting any errors?

 

2)     What version of LabVIEW are you using?  If you are using 8.0 or newer, then you can build a debuggable executable:

 

 

Debugging Applications and Shared Libraries

https://www.ni.com/docs/en-US/bundle/labview/page/debugging-applications-and-shared-libraries.html

 

Regards,

 

Elizabeth S.

Applications Engineer

National Instruments

0 Kudos
Message 4 of 6
(3,660 Views)

hai all

     yes, i am using LabVIEW 8.2, No i am not using error handler in code.

0 Kudos
Message 5 of 6
(3,649 Views)
Hi Kodee,
 
Please add error handling to your program so that LabVIEW error codes are displayed.  Also, please build a debuggable executable so that you can isolate the problem better. 
 
Regards,
Elizabeth S.
Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,634 Views)