LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating Data Acquisition using DaqCard 6036E in Matlab with Labview

Hi, I am having some trouble trying to integrate Matlab with Labview. I am using the Matlab Data Acquisition Toolbox to interface with the daq card, but we have Labview code that runs our experiment. What I need is for the Labview code to tell Matlab when to start acquiring data, and ideally Matlab will keep acquiring data until Labview tells it to stop.

 

I tried to implement this with two separate Matlab script nodes in Labview, one that creates the analoginput object and starts the data acquisition, and another

one that is located in a separate frame that stops the data acquisition and runs signal processing on it. This does not work at all because I'm guessing the Matlab environment does not persist between script nodes, as the second script node throws an error saying the analoginput object does not exist.

Does anyone know a way I can implement this setup? Thanks.

 

 

0 Kudos
Message 1 of 1
(2,189 Views)