My VI is broken after configuring DLL call, why?

My VI is broken after configuring DLL call, why?

This is a question, raised again and again on the forums about third-party DLLs: “…whatever I do I cannot get the library to work in LabVIEW. I get the error “The library for this node cannot be found or cannot be loaded….”. Below short “check list” with some explanations.

LabVIEW Controls Parts IDs

Every LabVIEW’s control part contains a “part ID” field which determines its purpose and functionality in the control. For example, a digital numeric control contains two BigMultiCosmetic parts for the increment and decrement buttons; the part ID is what determines which one is which. The Parts Window in the control editor displays the part ID as the textual name for the part, though the actual number is only visible in Heap Peek.

How to determine which decimal separator is used

While playing around with the Signal Processing Toolkit, I found in NI’s sources a funny method to detect which decimal separator is used in the operating system — simply perform a conversion of the string “1,23” to a double and compare it to the double constant “1.23”.

Fixing the "alt-tab freeze" bug in Windows 11

When I hold Left Alt + Tab, I am still able to select my desired window by tabbing, however when I release Alt, nothing happens. It still stuck at the small window selecting thing, I have to manually click on or hit ENTER to switch to the desired window instead of just releasing key. Looks like left Alt acts as right Alt. And the Solution is to add DWORD Value AltTabSettings and set it to 1 to the Registry:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

How to create *.lib file from *.dll

Two command lines which I often forgot and googling again and again. If you have dynamic link library, but haven’t according *.lib file, then use

dumpbin /EXPORTS yourfile.dll > yourfile.exports
lib /def:yourfile.def /out:yourfile.lib