I'm having an issue deploying a start-up application on my PXI-8186 RT system under LabView 8.2.
I've developed a main VI and a number of sub-VIs which function perfectly in the development environment (i.e. deploy to the memory of the RT target). This main VI and some sub-VIs call functions from 2 different custom DLLs, which I've created via CVI/LabWindows. As I said, I know that these work perfectly under the development system.
I've gone through the steps of the Real-Time Application builder and created a startup.exe file. When I aks the Project Manager to deploy this exectutable, I received a "Failed to Deploy" error. Although no error code or information is given, I've tracked this error down to the external DLL calls.
My question:
What is the proper procedure for calling external DLLs in an RT Startup Application? Is there a specific directory that these files muct be in? Is there some sort of setting in the Application Builder Tool that I am missing?
Has anyone done this before?
I have tried doing a Source Distibution and setting the startup VI manually via the ni-rt.ini file on the PXI-8186, but this generated a similar error (or gave me a "bad" state, indicating a corrupted VI). The last option I tried was to create a VI Server VI which calls the "main" VI, allowing it to run independently. I then build this VI into a startup application, and since it doens't contain any DLL calls, it should be fine. However, I cannot seem to get this to work either.
I'm against a pretty tight deadline here and would greatly appreciate any thoughts on the matter. Thanks.
-Mike
P.S. on a separate issue, I'm having trouble getting a remote web panel loaded to control my VI... it seems to take forever. Thoughts on this as well are appreciated.