Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically load a class from a packed library

Hi,

I'm working on a Plugin Architecture project with Packed Libraries, this works fine when I'm trying it on the host computer. But when I'm trying to make it work on the sbRIO Real-Time system I'm only getting error 6 from the Get Exported File Path.vi. Does not dynamically loading of classes work on Real-Time systems?

 

I have also tried to load the class dynamically without packing it into a packed library, but that does't work either. All I got was error 1124.

 

I have checked that the file is in the right place with a Check If File Or Folder Exist.vi and it finds the .lvlibp file.

 

Have anyone tried the Plugin Architecture with Packed Libraries in a Real-Time environment?

 

/M

0 Kudos
Message 1 of 2
(5,168 Views)

Hi Mattias,

 

To summarize our mail correspondence, the solution is to deactivate SSE2 Optimization in the build. This is a CPU feature that is available under Windows OS and will not work under RT.

 

Kind regards

Pontus Markstrom


0 Kudos
Message 2 of 2
(5,090 Views)