VeriStand

取消
显示结果 
搜索替代 
您的意思是: 

AMESIM model with VeriSand

Hello,

 

I currently have a project to design an HIL bench based on VeriStand. I expect to have some real-time targets running on VeriStand (LabVIEW-RT / Linux64) synchronized and in a reflective memory ring.

 

The point is to run AMESIM® models along with the Simulink® ones in this system.

 

The preferred solution would be VeriStand to be able to load the models from the AMESIM® FMU.

A second option would be to load those models in Simulink® (maybe as black boxes) and build a “.so” from RTW that can be uses by VeriStand.

At least, if previous are not possible, run those models on a real-time (or even pseudo real-time) device connected to the reflective memory ring. In this later case, what is the required device and software support?

 

Any advice will be appreciated.

HAGD

0 项奖励
1 条消息(共 11 条)
6,149 次查看

Hello thumble, 

I think this article can help you to find your answers about supported models and configuring them. 

 

Regards

0 项奖励
2 条消息(共 11 条)
6,002 次查看

If you want to explore the FMU route, you can find more detail on VeriStand's native FMI/FMU support here:
https://www.ni.com/docs/en-US/bundle/veristand/page/fmi-early-access.html

and VeriStand's FMI limitations here:

https://www.ni.com/docs/en-US/bundle/veristand/page/fmi-limitations.html

 

best of luck, post here to let us know how its going!

-Darin

Darin Gillis
NI - Chief Product Owner - VeriStand
0 项奖励
3 条消息(共 11 条)
5,992 次查看

Hello, have you solved this problem now? If so, could you please provide me with the software to be installed and a brief overview of the process? I would greatly appreciate it.

0 项奖励
4 条消息(共 11 条)
5,542 次查看

In short: you have to use amesim installed on linux. There you follow the instructions from the built-in help:
1 choose interfaces - functional mock-up interface
2 fixed step
3 interfaces - export FMU
4 cosimulation 2.0, GNU GCC 64 bit

 

one more important note: veristand 2021 R3 and later has a known bug: it gives you a loading error when you load the model via the system configurator. You have to choose to add the file from the interface.

0 项奖励
5 条消息(共 11 条)
5,538 次查看

Hello, I would like to create an interface from AMESim software to VeriStand, and then compile it for the connected CRIO9047 controller in VeriStand. However, I'm getting an incompatible error. When I went back to AMESim, I found that the VeriStand interface can only be compiled using a 32-bit compiler, which is causing the incompatibility between the two. Do you have any suggestions or solutions for this issue? Thank you very much!

0 项奖励
6 条消息(共 11 条)
5,486 次查看

Amesim installed on PC with Linux?

0 项奖励
7 条消息(共 11 条)
5,471 次查看

I am using VeriStand on my computer to connect to a CRIO9047 controller, which runs on a Linux operating system. I want to load a DLL file compiled with Amesim into the 9047 controller using VeriStand. However, I'm getting an incompatible error during the loading process, and I suspect it's because the compiler can only work with 32-bit dependencies. Do you have any solutions for this issue?

0 项奖励
8 条消息(共 11 条)
5,469 次查看

If you have Windows installed on your computer where you compile the models, you cannot compile FMU for Compactrio (linux). Install Linux on your computer, install amesim for linux, and compile the FMU as I wrote above.

0 项奖励
9 条消息(共 11 条)
5,431 次查看

Hi thumble,

Have you solved this problem? Now I have the same problem. Could you tell me the solution? Thank you very much.

0 项奖励
10 条消息(共 11 条)
4,823 次查看