cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Real time deployment problems

Im some having problems deploying my realtime applictation to my RT target.  Im unsing Labview 8.6 in windows and Real time 8.6.1 on an PXI-8110 target.

 

When I first deploy the VI after the RT target boots,  The following error appears on the target screen:

 

Error loading 'ws2_32.dll':missing export 'RegNotifyChangeKeyValue' from 'ADVAPI32.DLL'

 

If I then try running it again, it will work fine without the error, deploys fine and the program runs fine.  Ive been ignoring this problem thoughout the development of this program because I just get the error the first time deploying it after the target boots. 

 

Now that my program is finished im trying to deploy it as a built application and set it to run on the RT controller at startup.  The program builds fine with no errors.  When I try to deploy it to the target, it fails to deploy.  There is no explanation in the error, it justs says that it failed to deploy. 

 

If I then go into the project explorer, right click on the main VI that the application is built with, select deploy, It deploys without error. after i do that, the realtime application I built will deploy without error.  However it will not run a startup, the controller boots, states it is loading the startup realtime application, then does nothing. Im wondering if the dll error before is related to it.

 

Another note, I had this program running fine and deploying fine a few months ago with Labview 8.5 and Realtime 8.5 on a PXI 8106 controller.  These errors started popping up when I upgraded to RT 8.6.1 and labview 8.6.  I have tried formatting the controller and reinstalling everything but I get the same error.

 

 

0 kudos
Mensaje 1 de 7
4.107 Vistas
ws2_32.dll -

Description

File that contains the Windows Sockets API used by most Internet and network applications to handle network connections.

 

I can't help you with RT (I don't believe it's a RT but rather a systems issue).  This might help get things started.

0 kudos
Mensaje 2 de 7
4.094 Vistas
Did you see this ?
- Partha ( CLD until Oct 2027 🙂 )
0 kudos
Mensaje 3 de 7
4.080 Vistas
Thanks for the leads, I traced it back to an API for SCRAMNet GT (shared memory) i was using in my code.
0 kudos
Mensaje 4 de 7
4.060 Vistas
So, do you mean that your problem was solved?
- Partha ( CLD until Oct 2027 🙂 )
0 kudos
Mensaje 5 de 7
4.032 Vistas

No, my problem isn't solved but at least I traced it back to the cause.  Can anyone point me to a procedure for manually deploying a Real time application using FTP?  Im tyring to find out what files need to go where on the target.

 

 

-Mike

0 kudos
Mensaje 6 de 7
4.019 Vistas
Mike-

Take a look at the KnowledgeBase 3UJACBE9: FTP Transfer of Files between Host and Real-Time Targets in MAX.  As far as exactly what you will need on your PXI-8110 for your project, that can’t be defined on generalities.  These controllers are used for so many different applications, modules, toolkits, and different combinations of hardware, it would be impossible for National Instruments to say this is the perfect setup for everyone. 

ADVAPI32.dll is a System32 dll as described in this forum.  I would suggest taking a look at that thread for more of an explanation. 
Regards,

Mike S
NI AE
0 kudos
Mensaje 7 de 7
4.009 Vistas