07-29-2026 07:15 AM - edited 07-29-2026 07:20 AM
I have neither the time nor your software to do the whole thing, but this is a first setup on how it could be done. And yes beware, it's simply a quick and dirty first attempt. No compiler has been tried on this code, so expect typos and minor issues, as well as additional settings in your compiler environment to make it find the include headers for your DLL. Since it uses LoadLibrary() no link libraries other than the standard runtime libraries should be necessary, but your final software when you build your application as an executable of course will need the Telops software to be installed separately in order to work.
08-04-2026 07:25 AM - edited 08-04-2026 07:33 AM
Hi Rolf,
Thank you for the updated, and greatly simplified wrapper. I was able to get it compiled and working to a certain extent. Unfortunately, I am still receiving Library Error -201: Invalid Data Format when attempting to pass an Unsigned Byte Array to ReadRegisterData.
I realize that without the hardware and software, your ability to help troubleshoot a library error is very much limited but if there is any advice you can provide on how to better handle passing data to/from a dll I would very much appreciate it.
08-17-2026 04:46 AM
I would need to see the code you wrote and the according VIs.