LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

About Model Interface Toolkit and Simulink

Solved!
Go to solution

Hello,

 

I need to build communication between labview and simulink during the test, so I installed the Model Interface Toolkit 2019. My labview is 2019 sp1. During the installation, the Verstand framework 2019 is installed automatically. My matlab is 2019a. According to the following chart in this link, should I install veristand framework 2019 R3? However, after I installed 2019R3, I cannot find the veristand input and output port in simulink library, because all the items in the folder of veristand disappeared.

gnatjian_0-1634236899175.png

 

Then I reinstalled everything and convert back to versitand framework 2019. Then the NI VeriStand 2019 Model Framework can successfully initialized components in Simulink. I am confused about this. Which package/combination should I install?

 

Even now I build a simple model in simulink, but I still got errors when I generate the code as below.


Error: File: C:\VeriStand\2019\UserInterface\tmw\Shared\tlc_c\NIVeriStandIO.tlc Line: 37 Column: 43
Undefined identifier thePath

gnatjian_1-1634237099487.png

 

Could anyone advise what I should do? Any tutorial code about communication between simulink and labview is appreciated. All I found online about this topic is related with old SIT toolkit.

 

Thanks in advance.

 

 

0 Kudos
Message 1 of 3
(2,273 Views)

Hi , 

 

We have been also facing same issue? Did you get the solution of it? can you help us here?

0 Kudos
Message 2 of 3
(2,113 Views)
Solution
Accepted by topic author gnatjian

Sure, I would like to help. This is the process that I was instructed by Labview support. It does work for me.

Full Setup and Fix Process

  1. Install Matlab/Simulink
  2. Install LabVIEW and then Model Interface Toolkit - use offline installers as necessary for offline machines. These are available on individual download pages underneath the download button for NI products.
  3. Follow the instructions in this article here to allow for building 32-bit models: 
    1. Download Mingw 32-bit compiler
    2. Extract zip folder
    3. Setup environment variable to point to this new bin flder. Ensure that environment variable name is correct
    4. Restart Matlab if open. Otherwise restart computer if issue persists with building models using Simulink
    5. Open LabVIEW and look at the examples
      1. Click Tools>>Find Examples
      2. Search under Toolkits >> Model Interface Toolkit (MIT)
0 Kudos
Message 3 of 3
(2,102 Views)