Technical Background

<< Click to Display Table of Contents >>

Navigation:  NmxDLL Reference Guide > Nmx DLL Overview >

Technical Background

The NMX DLL uses the Windows API functions for IP based communication, thread management and timing.
Inside the NMX DLL separate threads are running, which control the communication and the notification. The NMX DLL functions provide data to these threads and vice versa.

Some of the threads use normal thread priority while others use highest thread priority.

Please note: Even though the NMX DLL is multi-threaded, its function calls are not thread safe against each other. This means that all DLL functions must be called from within the same thread!

 

Communication to the measurement system is based on UDP/IPV4. The DLL automatically retransmits a data packet, if it has been lost. A direct ethernet connection between the measurement system and the PC is advised. Complex network structures, e.g. routing, tunneling, VPN, etc. are not supported due to timing efficiency. If you use these, you do it on your own risk.

 

The NMX DLL has been designed in C++ (VS2017) and uses the "stdcall" calling convention. A C based header file is provided.

Example applications for various programming environments are provided. It is good practice to start with one of these.