‎04-24-2018
07:30 AM
- last edited on
‎05-28-2025
03:55 PM
by
Content Cleaner
I'm trying to get my Keyence LS9501 laser measurement unit working in Labview.
Keyence only offers a .dll file for 32Bit and 64Bit, see
so I manipulated the header file according to
https://www.ni.com/docs/en-US/bundle/labview/page/calling-external-apis.html
and imported the dll by tools/import/shared library, working fine for the 32Bit version, the 64Bit version offers no function to convert, strange...
So I went on with the 32Bit version, although running on 64Bit Windows 10. I can open the Ethernet connection and get measurement values, but what is most important for me are the set and get settings function, which don't work.
I get error code 1097, Call Library Function Node in LS9_IF.lvlib:LS9IF Get Setting.vi->LS9501.vi and get no value for the settings I want to read in.
The VI created by the wrapper indicates the red informations as a string instead of bytes, also the control for writing the settings is a string instead of bytes.
In the header file of the dll, the control / indicator is defined as BYTE* , can i modify this in any way so the VI will accept byte or at least will indicate the output right, because all I get in the indicator is "".
‎04-25-2018 03:34 AM
Hi @B_Hackert,
I know that it is not a direct answer to your question, but after a very brief research I found information about Communications Library from Keyence.
Did you see this forum discussion?
‎04-25-2018 07:32 AM
‎04-25-2018 08:26 AM
Shame on me, thanks @rolfk!