Solution
Before creating the
.lvmodel, the LabVIEW VI must have the array populated with values and these set as the default values.
- Open the LabVIEW VI that will generate the .lvmodel
- Run the VI to ensure the array is initialized with values
- Once values are populated, select and right-click on the array, from the shortcut menu select Data operations»Make Current Value Default like the below figure
- Save the VI
- Generate the .lvmodel, ensure you are not overwriting an existing model
- From the toolbar select Tools»NI Veristand» Generate Model
- Open NI Veristand and navigate to Operate»System Explorer
- In the system, explorer window navigate to Controller»Simulation Models
- Add the Simulation Model
If you are still seeing the error after ensuring that your arrays have been initialized properly, then there could be an issue with some .NET security restrictions. To resolve this, try uninstalling and reinstalling .NET framework on your machine.