Connect LabJack T7 Pro to MATLAB

I'm trying to connect LabJACK T7 Pro to MATLAB.
If I seach it by this 'info = daq.getDevices' in the command window it says '(No data acquisition devices available)'.
I install the DATA aquisition toolbox and also the the National instrument Toolbox but still I don't have connection. I verify using the KIPLING software and it is connected Via USB.
Thanks

 Accepted Answer

chrisw23
chrisw23 on 23 Feb 2023
i recommed to use the .net api
use NET.addassembly(...
start with LJM.OpenS

4 Comments

Thanks @chrisw23 I managed to connect but i'm not sure if the data being stream can be save.
chrisw23
chrisw23 on 24 Feb 2023
Edited: chrisw23 on 24 Feb 2023
use methodsview(LJM) to figure out how the method interfaces are to be used
use details(LJM) to get all available Props/Methods/Events
asm = NET.addassembly(...
asm.Classes shows which classes may be instanciated
Hi there, I'm kind of new to MATLAB--can you clarify what you mean by "start with LJM.OpenS?"
Thanks,
Michael
Hi Michael,
this is just the first step (function call) to open up the communication after instanciating the driver.
The Matlab functionality behind is just the interface to .Net

Sign in to comment.

More Answers (0)

Products

Release

R2022b

Asked:

on 22 Feb 2023

Commented:

on 28 Feb 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!