11-07-2013 09:06 AM
Hi,
I'm trying to make a call C code functions inside DIAdem, I've been investigating and so far the best option seems to be the GPI .dll registration. Later on I installed all the GPI ToolKit 11.0, but most of the features in the example are not working in DIAdem 2012 SP1, also I tried to work with the GPI wizard but then i found out later that only can be executed in Visual C++ 6, (software that I can't access).
So I was wondering if exists a relative easy way to make the call of the functions inside DIAdem. Or even recieved some help with GPI tool, since I barely understand it and most probably I'm missing something.
Thank you in advance.
11-08-2013 11:42 AM
Hi Naoa,
I believe I've heard that there will be a GPI api compatible with DIAdem 2012 SP1, but I do not know when-- hopefully Walter Rick will comment on that. Another option would be to add a COM wrapper around your C code and call it straight from a DIAdem VBScript. Another option would be to use the LVRuntime object in a DIAdem VBScript to call a LabVIEW VI that wraps the C code.
Are you wanting to make use of a static library of C functions or a DLL written in C?
Brad Turpin
DIAdem Prodeuct Support Engineer
National Instruments