07-06-2025 05:01 PM
I have this dll that I need to use in LabVIEW.
I have a screen shot of my take on adding a STRING parameter definition as follows:
int32_t SQLConnect(const char* SQLConnStrg)
-- The screen shot of DLL node config panel shows how I tried to add that parameter
-- The block diagram shows how I wired the string
The problem is that when run LabVIEW JUST HANGS?
Can I get help on what I am doing wrong?
07-07-2025 05:26 AM
There is nothing in the things you show that would seem wrong. You could check the Constant checkbox in the parameter configuration to allow LabVIEW to potentially do better optimizations but that should not have any adverse effect if you leave it away.
So:
- Are you sure the calling convention is correct? We can't say as it does not show in your function declaration
- Are you sure the DLL has no other dependencies, that need to be installed on your computer in addition to the DLL itself?