LabVIEW

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
(2,698 Views)
Hi Mark,

(I already posted this answer in your other thread, but let's keep THIS thread alive - it makes more sense here in the LabVIEW forum than in Instrument Control forum.)

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 2 of 3
(2,689 Views)
For further replies, please refer to this other thread in the LabVIEW forum, thanks.
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 3 of 3
(2,688 Views)