DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

GPI dll for C code functions

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.

 

0 Kudos
Message 1 of 2
(5,708 Views)

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

0 Kudos
Message 2 of 2
(5,691 Views)