Device Monitoring Studio - Monitor, log and analyze data coming through PC ports and connections

Preprocessor Overview

Preprocessor is a special compiler that is run each time the application compiles the protocol definition file. It executes before compilation of the source file and prepares a source file for compilation.

Device Monitoring Studio provides a fully C99-compliant preprocessor which supports the following directives:

Performs a physical inclusion of the contents of another source file into the current file.
#pragma once
Prevents a file from being included multiple times.
#define, #undef
Allows defining preprocessing constants and macros.
#if, #ifdef, #ifndef, #else, #elif, #endif, defined() operator.
Provides support for conditional compilation.
Unconditionally stops source file compilation.