02-01-2009 07:23 AM
Hello;
I am trying to communicate with my third party device.It is a laser sensor(Keyence LK-G 3001V type 152) I need to get distance information.The manufacturer provided me a DLL file and a header file which I am attaching in my post.The question is I am still unclear how to communicate i did read all information about calling DLL but still having problem to communicate.are those commands are sufficent to take distance information?
for instance i would like to use this command LKIF_GetCalcData(OUT LKIF_FLOATVALUE *CalcData1,OUT LKIF_FLOATVALUE *CalcData2);
I use Call Library Function node and set the parameters and their type and so on ..what is the input? I m getting no output?
Please forgive me if i am making silly questions but I have no idea
Any kind of help ,idea will be appreciated.
Thanks in advance
NAzli
02-01-2009 10:58 AM
Are you asking how to call a DLL in general, or how to use this specific DLL?
If it's the former, then you should take a look at the documentation that ships with LabVIEW as well as the example code that ships with LabVIEW that show you how to call DLLs. You can also take a look at How Do I Call a Dynamic Link Library (DLL) from LabVIEW?
If it's the latter, have you taken a look at the example that is provided in the zip file? It's in VB, but it's failry easy to follow.
02-01-2009 09:53 PM
Update: duplicate post to another duplicate post.
Please don't create multiple threads. You just annoy the people trying to help you.