I'm trying to interface with LabView 8.2 a Zeiss Axiovert 200M Microscope. I'm particulary interested in the Focus control (motorized Z-axis).
Zeiss has supplied to me the MTB2.6 SDK which containt DLLs and ".h" files needed to import a library under LabView. But the ".h" file containt this type of declaration :
- extern "C" int PASCAL Set_Load_Work (UINT uPos); (for example)
and the file is structured like that:
#ifdef _cplusplus
extern "C" { ..........................................
.........define(s), typedef(s) and fonctions........
..........................................................
#ifdef
_cplusplus
}
and LabView doesn't understand "PASCAL", _cpluplus, extern "C", UINT and other typedef. So i tryed by deleting or modifying the unrecognized items and only 3 (the 3 only fonctions which not only don't take any parameter but also return a simple error status) of the 39 generated fonctions are working, all other lead LabView to a beautiful crash. Topics about controlling this microscope has already been posted on this forum, and someone named "petitprince" may have some aswers but i don't know how to contact him particulary from this forum.
Anyway, i really need help from anyone, please,
Guillaume.