LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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
Message 1 of 7
(3,796 Views)
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
Message 2 of 7
(3,783 Views)
Did you see this ?
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 3 of 7
(3,769 Views)
Thanks for the leads, I traced it back to an API for SCRAMNet GT (shared memory) i was using in my code.
0 Kudos
Message 4 of 7
(3,749 Views)
So, do you mean that your problem was solved?
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 5 of 7
(3,721 Views)

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
Message 6 of 7
(3,708 Views)
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
Message 7 of 7
(3,698 Views)