07-24-2023 08:01 AM
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.
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.
Follow the tutorial to create a project file, open the relevant VI, and set the path of file import.
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.
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.
Thank you very much for your advice and guidance.
07-24-2023 08:10 AM
@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.