Labjackud.dll missing for LabVIEW

6 posts / 0 new
Last post
Swati Poduval
Swati Poduval's picture
Labjackud.dll missing for LabVIEW

Hello,

I have been using LabVIEW for acquiring data from LabJack U3 and U6 and it works fine. I have another PC where I have the same version of LabVIEW but it says labjackud.dll is missing. I have tried copying files from the working PC to the new one, I have also downloaded the drivers from the LabJack website, but still it shows the same problem.

I am unable to locate the .dll file on the working computer as well.

What am I missing?

Thanks in advance

LabJack Support
LabJack Support's picture
The best way to get the UD

The best way to get the UD DLL is by running the installer:

https://labjack.com/support/software/installers

If LJControlPanel works, that means the DLL is installed and working.

amitt
amitt's picture
Hi,

Hi,

We also have the exact same issue,

the problem is that our new U3 functions were added to a huge labview based application that is installed on over 100 stations in our manufacturing floor, so running the installer on over  100 stations and stopping production is not an option.

How can we build a new labview exe that can include the labjackud.dll file and will not show it as "missing"?

Our labview application is 32bit, but may be installed on a 64bit machine.

Thanks for the help,

Amitt

LabJack Support
LabJack Support's picture
So you have a new LabVIEW

So you have a new LabVIEW program you want to install on a 100 computers?  And your saying that normally you would just copy a new exe to each computer, but that is not working this time because the new program has dependencies including LabJackUD.dll?

When you need to install multiple file (exe, dll, etc) you usually make an installer that does everything you need.  LabVIEW should have an option to make an installer and you can tell it to include the UD DLL, but the fact is you also need to do USB installation for the U3.  The way most people handle this is they make an installer that installs their stuff, and then have that installer launch our barebones installer:

https://labjack.com/support/software/installers/ud/archive/ud-setup-basic

 

amitt
amitt's picture
Hi,

Hi,

The current application is running on these 100 station for a few years now, every time that the application is restarted it will check if the latest exe version is running, and if not, it will swap only the exe automatically , there's no need to stop production and run the installer since the environment is already installed.

However, we are integrating a new U3, and would need just some basic DIO functions, however, even when including the labjackud.DLL in the project, it still shows as missing.

It happens if we run the labview  installer as well, not just running a new exe without running the labview installer

How should we add the labjackud.DLL and USB driver to the installer without running the labjack installer?

 

We worked with U12 for many years and didnt encounter this issue.

 

Thanks,

Amitt

LabJack Support
LabJack Support's picture
In terms of a DLL, the U12

In terms of a DLL, the U12 was the same as all our other devices.  You have to have the DLL file on your system where the LabVIEW program is going to look for it.  This is usually the approriate windows system directory, but it usually also works if put in the same folder as the exe.

In terms of USB installation, the U12 is different.  It is an HID device, like a mouse or keyboard, and the basic USB drivers are a normal part of Windows.  So our U12 installer just copies a DLL into the Windows system folder, it does not do any USB installation.  For all other devices, however, our installer has to install USB drivers.  If you don't want to launch our barebones installer, we can provide instructions for how to have your own installer do the USB installation.