11-06-2008 04:18 AM
Hi,
I am making some abstract hardware layers for some instruments and i use to work with Labwindows CVI. But i have found ONE instrument, the Instek pst3201 alimentation which is ONLY created with Labview.
So i downloaded the 8.6 LV demo and builded the llb projet in order to obtain some .dll, .h and .lib files and included it to a CVI project in order to construct an intermediate Dll level.
Everything builds fine, like usually when i use an IVI driver but my problem is that when i try to call this intermediate Dll level with my abstact hardware layer using LoadLibrary, nothing is returned like if the DLL doesn't exist.
So my question is : Do you think that this is a problem from CVI (and i repeat that i have made a lot of others abstract hardware layers using IVi drivers except that this time i haven't got any .fp or .c but a .h and i include the .lib to the project), or a problem from Labview and i should use the LV Application builder if it's different ?
11-07-2008 04:40 AM
Hi,
It's seems that you have no exported function. What function do you have in your header file? did you tryed to create a really simple dll (doing an addition for example ) in LabVIEW only to verify that you are correctly creating the dll?
11-07-2008 04:57 AM
Hi,
In this topic: What is the best way to share variables between labview and c#? you can found the project where DLL was created in LabVIEW and called from CVI (scroll to the last message).
Andrey.