Library not fonud | LabJack
 

Library not fonud

2 posts / 0 new
Last post
trungnv
trungnv's picture
Library not fonud

Dear all,

I used sample code from labjack website to control FIO but it has error:

[Error ljHandle] = ljud_OpenLabJack( LJ_dtU3, LJ_ctUSB, '1', 1 ) 

Error using calllib

Library was not found.

Please help me.

LabJack Support
labjack support's picture
Our MATLAB examples use our

Our MATLAB examples use our driver. First make sure you have our Windows software installed.

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

Second, if you are running a 64-bit version of Windows and our older examples (it looks like you are using the older examples), you will need to edit the path to our header file in the LJUD_Functions\ljud_LoadDriver.m file. Change:

header='C:\progra~1\LabJack\drivers\labjackud.h';

To:

header='C:\Program Files (x86)\LabJack\Drivers\labjackud.h';