Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i pass a daqmx task from labview to matlab using the math interface toolkit?

I want to use DAQMX functions from Matlab using the Math Interface Toolkit (MIT). How can I have a labview function output (return) the DAQMX task to matlab via the MIT?

I want to do this so I can start a DAQMX task in Labview from a matlab function and return control to matlab without losing the task.
0 Kudos
Message 1 of 3
(3,092 Views)
I'm sorry to say that I don't have an answer for you as I am just starting to use Matlab, but I would recommend reposting your question on the LabVIEW board, as many of us don't scan these other boards daily.


Putnam Monroe
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 3
(3,082 Views)
Hi Mark,

Since the DAQmx Task is not a native data type that can be passed directly to MATLAB from LAbVIEW, try flattening the DAQmx Task to a string before passing to MATLAB. However, I doubt that you can access the task from within MATLAB, but feel free to give it a try.

Good luck!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 3 of 3
(3,074 Views)