melexis / mlx90640-library

MLX90640 library functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EVB-PSF-MLX90640 include files andcode examples

Lateralleap opened this issue · comments

Hi,

Does anyone know where to find include files and code examples for the EVB-PSF-MLX90640 evaluation board?

The Melexis website has a link for some PC demo software and a PDF that describes the software library. However I cannot find any include files let alone code examples. Installing the PC sftware installs some DLLs but no include files

Thanks

Hello,

Here is example is for VBA excel:
https://www.melexis.com/en/documents/tools/tools-evb90640-psf-implementation-example-zip
Please rename .zip to .xlsm and open in excel. Unfortunately this is only supported in 32 bit excel, as the PSF is a 32 bit dll.

https://www.melexis.com/en/documents/tools/tools-mlx90640-psf-software-library-pdf

See page 2:

in C++ it can be imported by #import directive

No header files needed.

#include <iostream>

#include <Windows.h>
#import <MLXMPT.dll> raw_interfaces_only, named_guids
using namespace MLXMPTCommon;

#import "PSF090640EVMLX.dll" raw_interfaces_only, named_guids
using namespace PSF090640EVMLXModule;

However I have no full example available.
You can have a look at the VBA code...
Just do as in the Excel example (Module1.CreateDevice method), instantiate PSF Device object...
Remember 32 bit.

Hopefully this points you in the correct direction.

Bye,
Karel.