LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with an executable

An installer was made using LabVIEW 2009.The program was installed and run is on a PC which has LabVIEW 7.1 Full Development System on it.In this program "AI Acquire Waveform.vi" is used to acquire the acquire analog input.However,the exe when executed shows "NaN" in the analog voltage indicator.The hardware - A PCI card was installed fine,as I can see it in the MAX and it shows the voltage in MAX.However,not in the program exe.Please suggest the solution to get a working program.

 

Regards.

0 Kudos
Message 1 of 5
(2,986 Views)

Hi,

Are you running the installer on the same computer that you created the code on? Did the code work correctly in the vi?

Regards,

John McLaughlin
Academic Account Manager
National Instruments UK & Ireland
0 Kudos
Message 2 of 5
(2,978 Views)

Does this problem have anything to do with diver compatibility? Perhaps the Daq driver that supports 7.1 LabVIEW is not supported by 2009. The solution might be related to the driver but proceed with caution. If you install the development version of 2009 on the same machine with the development version 7.1 installed and install the new device drivers I believe it will break your 7.1 development package.

0 Kudos
Message 3 of 5
(2,955 Views)

 


@JohnMc19 wrote:

Hi,

Are you running the installer on the same computer that you created the code on? Did the code work correctly in the vi?

Regards,


 

I cannot check the executable on the same computer,as it is a laptop and I have to program for a PCI-MIO-16E-4 card,which is(and can be) installed on a PC only.However,when the run the code on the development computer,it didnot show any error.Hope you can suggest a solution for this,in this background.

 

Thank you.

0 Kudos
Message 4 of 5
(2,925 Views)

 


@Randall T wrote:

Does this problem have anything to do with diver compatibility? Perhaps the Daq driver that supports 7.1 LabVIEW is not supported by 2009. The solution might be related to the driver but proceed with caution. If you install the development version of 2009 on the same machine with the development version 7.1 installed and install the new device drivers I believe it will break your 7.1 development package.


I am not sure.The desktop PC,where the exe is loaded has NI DAQ Traditional Drivers of 7.1(I suppose) and with the exe I have also included the LabVIEW 9 runtime engine in the installer package.You may advise if the drivers need any upgrade and if so,does the driver upgrade the LabVIEW 7.1 applications running on the dektop computer.

 

0 Kudos
Message 5 of 5
(2,924 Views)