LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can a labview acquisition/output be triggered by matlab?

i hope to find a way that matlab can control the start of a simultaneous analog input and output. triggering seemed like the most logical, but i have not been able to find a way to carry this out.
0 Kudos
Message 1 of 2
(2,499 Views)
> i hope to find a way that matlab can control the start of a
> simultaneous analog input and output. triggering seemed like the most
> logical, but i have not been able to find a way to carry this out.

One way to do this is to use the ActiveX automation interface of
LV. Write a LV VI that performs the Data Acquisition, and write a
small script to call the VI. The automation interface allows you
to open a connection to a VI in advance, and call the Run method
to execute the VI. Prior to Calling Run, you can write to controls
to pass in parameters, and following the completion, you can read
back the parameters.

Another approach, a bit easier if using LV6, is to build a DLL from
the VI and simply call the DLL.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,499 Views)