LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

downloading DLL to RT target

Solved!
Go to solution

Did you do what the error message says?

You need to install the DSC module on the RT target using MAX.

The FTP approach is only for custom dlls, not for NI modules.

 

0 Kudos
Message 11 of 17
(1,461 Views)

yes i know, I installed DSC in my pc where the project .ivproj is it (os: windows 10)

but I can't install this module in NI-max on PXI. the module is not in NI-max (software).

so I decide to copy the dll file of DSC module  by FTP.

2.PNG

0 Kudos
Message 12 of 17
(1,459 Views)

NI DSC is a lot more than just a single DLL. Copying one DLL will at best not work, at worst make your system instable as some of those DLLs tend to hook deeply into the OS.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 13 of 17
(1,444 Views)

Hi,

 

The features that LabVIEW DSC module enables are not compatible with real-time OSs because are built upon DCOM functions (Windows). The following document talks about the Security functionality but the same applies to Alarming and Data Logging.

 

Using DSC Module Shared Variable Security on Real-Time Targets: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019VuHSAU

 

You could use regular Network Shared Variables on the RT controller and bind each of those variables to an identical variable that is deployed on a Windows machine and these other variables would have the DSC functionalities.

 

Regards!

0 Kudos
Message 14 of 17
(1,431 Views)

Hi

Thank you DonhJoe for your response. Now is there any alternative solution for Shared Variables based on Event-Driven on PXI, not Windows?

 

Regards!

0 Kudos
Message 15 of 17
(1,416 Views)

Hi Bperlman,

I am facing a similar issue with PXI-8821. Can you tell me, to which directory have you copied the .dll file in the PXI controller. Please share the exact path to which you have copied the file.

 

Thanks and Regards

Subash Sainath Gururaj
0 Kudos
Message 16 of 17
(912 Views)

You need to be more specific: the 8821 is sold in three different versions, one with NI Pharlap ETS, one with NI Linux RT and one with Windows 7 Embedded.

 

For the Pharlap ETS variant it is questionable that your DLL will actually work on it. Pharlap ETS provides a Win32 API that is compatible with Windows NT4/2000 at best. If your DLL wasn't compiled with specific Visual C versions, it simply won't load on your Pharlap ETS controlled PXI system. The Linux RT variant can't use DLLs at all and the Windows 7 variant may or may not be able to load it. If it is a recent DLL compiled with a recent Visual C compiler, there is a big chance that it won't load on the Windows 7 system.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 17 of 17
(889 Views)