Hello!,
Related to the message "How To Use Exported Function CallInstrument of LabView.exe? <
http://forums.ni.com/ni/board/message?board.id=170&message.id=118159>", can anybody show me a minimal C source example of how to generate the correct definition of the control/indicators parameters?. In other words, I need the definition of the typedef array for the datatype and the pointer to the unflat data of the controls/indicators to be passed to the CallInstrument function.
At the moment, I have just only used this función without any controls/indicadors parameters.
MgErr __cdecl CallInstrument( Path path, Bool32 modal, int32 nInputs, int32 nOutputs, ... );
...
MgErr MyCallInstrument( char szPath[] ) {
Path path = NULL;
MgErr err;
//
FTextToPath( szPath, strlen(szPath), &path );
return CallInstrument( path, TRUE, 0, 0 );
}
System: WinXP, LV7.1.1
Thanks !!!
Jesus Valero
Plataforma Solar de Almeria <
http://www.psa.es>.