Every program that calls Data Import functions must include the definitions for its library data-types and constants. The definitions are contained in the
dataport.h
andDataimportDefs.h
files.To incorporate these definitions, include the file by writing the following statement at the beginning of your program:
#include dir_name/include/dataport.h
#include dir_name/include/DataimportDefs.hSubstitute the value of the environment variable
STM_ROOT
for thedir_name variable
.