Missing Source Code for .h Files When Compiling Visual Studio Code for VeriStand

Updated Mar 24, 2020

Reported In

Software

  • VeriStand Model Framework

Issue Details

I am trying to compile my code in Visual Studio but the includes, listed below, are giving me an error as I do not have the source code. 
#include "tmwtypes.h"
#include "rtmodel.h"
#include "rt_sim.h"
#include "rt_logging.h"
#include "rt_nonfinite.h""

Solution

If you have deleted any software which NI VeriStand Model Framework provides support for, please reinstall VeriStand Model Framework by following these instructions: How Do I Install the NI VeriStand Model Framework? 

Additional Information

VeriStand Model Framework will install support for the programs which are already installed on your PC. Therefore if a program such a MathWorks was installed on your PC when you installed NI VeriStand Model Framework, it will expect these program files to still be accessible.

The reinstall will ensure you have support installed for the software currently installed on your computer, but no other software.