04-24-2023 10:47 AM
I'm currently using Simulink (Matlab 2020A) models in Veristand 2021 SP2 on Linux-RT targets.
At first, we reused models from the Simulink toolchain for Veristand 2020 SP3, that builds a single .SO file, and loading model into vssdf explorer.
Now we have update the toolchain for Veristand 2021 SP2, that builds an .SO along with a .VSMODEL. In this case, the .VSMODEL must be loaded from the system definition view (not the vssdf explorer).
The problem is : although trying a lot of things, we found no way to include the signals that where present with the previous toolchain.
Please tell me where is the magic option, Thx in advance.
Solved! Go to Solution.
04-24-2023 05:32 PM
For .vsmodel's, VeriStand 2023 Q2 is the first version to support importing signals as VeriStand channels, so the behavior you observe currently is expected https://www.ni.com/docs/en-US/bundle/veristand/page/new-features.html. If you are unable to update to VeriStand 2023 Q2, which could be quite understandable, here are my suggestions:
04-25-2023 01:14 AM
Thanks for the quick reply.
The purpose is only for debugging, but because of some issue with MAX we reverted from R3 to R2.
So, the latest solution would be the better in our case, but I wonder if I can install the model support for VS2020, since the hosting PC is running (and has to run) VS2021R2 and knowing I need also the MINGW compiler to build code for another embedded coder target.
05-04-2023 10:43 AM
Apologies for the delay.
Agreed, if you are unable to upgrade, then continuing to leverage Model Framework is likely the best choice for your scenario. We continue to support Model Framework, but there will be a limitation on Simulink version compatiblity https://www.ni.com/en-us/support/documentation/compatibility/22/veristand-labview-modeling-and-legac.... Generally speaking, you can compile models in older versions and use those models in newer versions of VeriStand. The one caveat starts in VeriStand 2021 with windows models, since we changed from a 32-bit Windows engine to 64-bit that release.
Out of curiosity, what was the issue with NI-MAX that forced you to revert? Typically, we recommend customers upgrade to the latest minor release for a given version of VeriStand due to the added features, bug fixes, and continued support.
05-05-2023 12:49 AM
Hello, the person In charge of that point has left the company but I forward the question. I will reply ASAP.
I still have the concern of : can I nstall the model support for VS2020, since the hosting PC is running (and has to run) VS2021R2 and knowing I need also the MINGW compiler to build code for another embedded coder target. I fear to spoil my Veristand or Matlab installation.
05-09-2023 10:53 AM
This depends on what target OS you are compiling for
06-21-2023 01:55 AM