PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Emergency help, real-time simulation of AMESim and PXI 8881 real-time targets.

Hi everyone, I am using AMESim with PXI 8881 real-time target for real-time simulation.

 

Related configuration: AMESim2020.1; PXI 8881 linux RT system, software installed in real-time system are 2021 version.

 

Snipaste_2023-07-24_16-51-10.png

 

Currently, I am using AMESim's case file for testing. The documents are as follows, including the relevant annexes.

 

I followed the steps in the AMESim help document to generate a dll file for real-time simulation, and used WebDAV to place the dll file in the linux ni-rt/startup directory.As shown in the figure below.

 

Snipaste_2023-07-24_16-51-32.png

 

Follow the tutorial to create a project file, open the relevant VI, and set the path of file import.

 

InkedSnipaste_2023-07-24_16-22-52_LI.jpg

 

Finally, an error is reported at runtime, and the error message is as follows: The node part of the library function node reports an error.

 

InkedSnipaste_2023-07-24_15-35-41_LI.jpg

 

I don't understand what the reason is, I suspect that it is a path error, but after trying to modify it, it is still the same error.

 

After carefully reading the help documentation of AMESim, I found that the AMESim case is relatively old, and the real-time system in the case is based on Phar Lap ETS. I am using Linux RT and now suspect that the generated real-time files are not suitable for Linux RT.

 

AMESim's help documentation is attached and can be viewed directly in the real-time simulation section of the documentation.

 

The following figure shows the real-time target machine in the case.

InkedSnipaste_2023-07-24_20-54-48_LI.jpg

 

Thank you very much for your advice and guidance.

 

 

 

 

Download All
0 Kudos
Message 1 of 2
(703 Views)

@chychy123 wrote:

 

After carefully reading the help documentation of AMESim, I found that the AMESim case is relatively old, and the real-time system in the case is based on Phar Lap ETS. I am using Linux RT and now suspect that the generated real-time files are not suitable for Linux RT.

 

 


Your suspicion is correct. Linux does not support libraries in the form of DLL. The libraries need to be recompiled as a Shared Library SO. You should reach out to Amesim for the updated documentation.

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 2 of 2
(698 Views)