Dev-C (C, C++, Windows UD)
Basic example for Dev-C++ 4.9.9.2 (with Mingw port of GCC, bloodshed.net) and the LabJackUD driver. Demonstrates dynamic linking which should work with many Windows C compilers including Borland.
File attachment:
DAQ Devices
- UD Series (U3, U6, UE9)
- U3
- U6
- UE9
- Software Options
- Installers and Drivers
- Applications
- Programming (UD)
- Windows Example Code
- DAQFactory Examples (Windows UD)
- DASYLab
- Delphi (Windows UD)
- Dev-C (C, C++, Windows UD)
- DotNet (.NET)
- FlowStone
- Igor Pro Windows
- Java (Windows UD)
- LabVIEW
- LabWindows/CVI (Windows UD)
- MATLAB Examples (Windows UD)
- PureBasic (Windows UD)
- VC6 (Windows UD)
- VEE (Windows UD)
- Visual Basic (VB6, VBA, Windows UD)
- LabJackPython
- LabVIEW Mac OS X Linux
- Windows Example Code
- DAQFactory
- CloudDot
- U12
- T Series
All Support Guides
Search
Shopping Cart
Testimonials
-
Sheesh, guys. I placed this order late afternoon the day before a holiday weekend, and the best you could do is ship it an hour later? [...] My LabJack did just what it was supposed to, and at a very attractive price.
—Olin, Oxford Systems, Inc.

Comments
#1
The dynamic linking uses labjackud.dll (see code above) but labjackud.dll is
no part of DevC_LJUD.zip and LabJackUDSetupV315.exe .
I use a Borland C Compiler under Windows 7 (LabJackUDSetupV315.exe works fine)
but where can i found labjackud.dll Version 3.15 for dynamic linking ?
....
//Start of LoadLabJackUD function.
//This is the function used to dynamically load the DLL.
void LoadLabJackUD (void)
{
//Now try and load the DLL.
if (hDLLInstance = LoadLibrary("labjackud.dll"))
{
//If successfully loaded, get the address of the functions.
m_pListAll = (tListAll)::GetProcAddress(hDLLInstance,"ListAll");
....
#2
We are using labjack dll file with c#.Labjack u3 can not pick up negative value ,but DAQ Factory can. If possible , could you add c# sample source code.
#3
Low-voltage or high-voltage channel? A single-ended low-voltage channel typically does not go negative. See Section 2.6 for more information. Try making a call to eAIN and see if it acts as expected.
#4
The LabJackUD.dll for version 3.15 should be automatically placed in C:\windows\system32 after runing the LabJackUDSetupV315.exe installer. That should work for dynamic linking.