LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

missing subvi when deploying on touch panel

Hello,

 

I would like to ask about some sort of application startup error.

I finished my HMI and it works great on my laptop but each time I try to make run it on the touch panel it gives me an error, attached is a picture for that error, I installed the RTE 8.2 and it also didn’t work and gives the same error, I think that Windows XP Embedded needs some software installations but I don’t know what to choose exactly, I tried many many things and it didn’t work and gives the same error.

Thanks.

0 Kudos
Message 1 of 10
(3,097 Views)

Did you install the LabVIEW runtime engine? That is required for any LabVIEW application to run. Next you will need to look at your application build to ensure that you are including all vi's that you need. The application builder does not do this automatically in all cases.

Tim
GHSP
0 Kudos
Message 2 of 10
(3,083 Views)

Thanks for your reply, I installed LabVIEW runtime engine 8.2 with the same error, in the additional exclusions section I checked and unchecked 'remove unused member of project libraries' and I still have the same error, I even added the 'NI_AALBase, NI_AAlPro' to my project and still having this error, am using LV 2009 Pro licensed version. on my development laptop and the application EXE works great.

0 Kudos
Message 3 of 10
(3,077 Views)

Did you install the data folder that was created? It contains lvanlys.dll which is required for the subVIs in your list.

0 Kudos
Message 4 of 10
(3,073 Views)

Thanks for your reply, The data folder included in application EXE folder with the lvanlys.dll inside, do I need to add the lvanlys.dll somewhere in my Build Specifications?

0 Kudos
Message 5 of 10
(3,068 Views)

The folder is automatically created when doing a build. I'm not familiar with a touch panel deployment but you have to include the folder when creating an installer for an exe on regular pc's.

 

I don't quite understand your comment about the application folder. Is the data folder present on the touch panel, the development pc, or both?

0 Kudos
Message 6 of 10
(3,065 Views)

i have the data folder present on both my pc and the touch panel with the lvanlys.dll inside

0 Kudos
Message 7 of 10
(3,061 Views)

Solved the problem by removing installation from LV RTE 8.2 and installed LV RTE2009SP1f1RTEpatch. The error message changed into 'The VI is not executable. The full development version of LabVIEW is required to fix the errors' only without mentioning any missed SubVIs, I removed some parts of my code for PDF creation then the software works fine.

 

But I still have one problem left as the software can't see the USB DAQCard attached to the panel and gives me device missing message. The Touch Panel contains DAQmx core without MAX or anything to see the device name or test the device, please note that Touch Panel can see the card and it works fine and already defined in the device manager on Windows Embedded.

 

Thanks..

0 Kudos
Message 8 of 10
(3,034 Views)

Hi Zoz,

 

It is important to make the distinction between DAQmx Core (the DAQmx runtime engine) and DAQmx Base which is meant to provide APIs to interface touch panels and DAQ devices. Officially, DAQmx Core is not supported for Windows Embedded (in some touch panels people have gotten it working) and DAQmx Base should be used to communicate with the device. However, which USB DAQ device you are using will be important, because not all devices are compatible with DAQmx Base. The list of USB devices that can be used is located in the DAQmx Base readme

 

If your device is compatible with DAQmx Base, I would recommend using it to communicate to the device rather than DAQmx Core. I hope that info is helpful!

 

 

Matt
NI Community Team
National Instruments
0 Kudos
Message 9 of 10
(3,009 Views)

Hello Matt,

 

Thanks for your reply and for the information, i installed LabVIEW Sginal Express and i found that device name is Dev2 by default as for MAX on my development computer it takes Dev1.

 

Changed the device name to Dev2 and installed DAQmx runtime engine, got everything working fine.

 

For Touch Panels DAQmx runtime engine takes smaller space on the Compact Flash and version 9.2.2 works fine.

 

Thanks,

Moataz

 

0 Kudos
Message 10 of 10
(2,982 Views)