TReK .NET Framework  5.3.3
Telemetry/Command API
TReK .NET Framework

The .NET APIs provide backward compatibility with Release 3.

  • Command .NET API - Provides a .NET wrapper to the functions in the ANSI-C Command API.
  • Telemetry .NET API - Provides a .NET wrapper to the function int he ANSI-C Telemetry API.

Supported Compilers
TReK code was created with the following compiler versions.

Operating System Compiler Version
Windows 10 Visual Studio 2012
Windows 10 Visual Studio 2015
Windows 10 Visual Studio 2017

Environment Variables
The TReK installation will create environment variables that can be useful for your project files. The table below list each environment variable and notes if it is provided on each operating system and what the value is set to for the operating system.

Variable Windows 10
TREK_INCLUDE Provides a path for all header files needed to integrate the TReK APIs
TREK_LIB Path to the .lib files for integration into C/C++ programs. This is always the 64-bit version of the libraries
TREK_LIB32 Path to the 32-bit version of .lib files for integration into C/C++ programs.
TREK_LIB64 Path to the 64-bit version of .lib files for integration into C/C++ programs.
TREK_DLL32 Path to the 32-bit version of .dll files for integration into C/C++ programs.
TREK_DLL64 Path to the 64-bit version of .dll files for integration into C/C++ programs.

Library Dependencies
TReK libraries have additional dependencies that are provided as part of the installation. You will need to make sure you have those libraries available for your executable. You can use the environment variables above to find the path for the libraries.

Each of the API help main pages will list the additional libraries that are needed for running.

Error Codes
The error codes described for each library function or method do not include lower level library errors. If you get an error code you cannot find in the documentation for the function, use the search feature of help to find the error code (e.g., 32043).

Examples
Examples are provided for each API and can be found in the example directory in the TReK install.
The examples contain both source and header files. Each example also includes both a Visual Studio solution and Linux makefile for compiling under your preferred operating system.