Hi,
I don't have particular information about how to make calls from Java to LV DLL, but I'll describe
you how to make a wrapper DLL.
So, beside the LV DLL, you'll need another DLL that works as an interface to the LV DLL. In this
DLL, you'll have to write a function that matches every function in your LV DLL. I'll give some code
sample in C.
void /*some calling conventions and JNI specific stuff*/ loadLVLib()
{
// load the LV library in to memory. The calls are different for each platform (and compiler),
// but in VC++ for example, this is done with the LoadLibrary() function.
// This will give you handle to the library
}
void /*Again some calling convections and JNI stuff is required*/ doDAQOperation()
{
// use the handle to make a call to LV function. You can do this with GetProcAddress()
// in VC++, there's also other means to do this.
}
void /*JNI etc stuff*/ releaseLVLib()
{
// in VC++, one would use FreeLibrary() function in here.
}
I think this should give you an idea of the wrapper. If you have more questions about this,
post them and I'll try to give you an answer.