Running Labview in Matlab
Running Labview in Matlab
Figure 1. LabVIEW Keithley 2000 Digital Multimeter Driver Example With LabVIEW 7 Express, NI introduced the Instrument I/O Assistant. Based on Express technology, the Instrument I/O Assistant allows users to interactively create instrument control applications. Using the intuitive wizard, illustrated in Figure 2, users can call a sequence of query commands, visually parse returned data, and automatically generate corresponding LabVIEW code for VISA and GPIB communication.
Figure 2. The LabVIEW 7 Instrument I/O Assistant for Interactive Instrument Control
Figure 3. The New DAQ Assistant for Interactive Data Acquisition Development
Figure 4. MIT Wizard MEX functions created from LabVIEW VIs can include much more than the industry-leading I/O capabilities discussed here. Through LabVIEW, users can create interactive user interfaces for their applications that are easily customizable and configurable. These user interfaces are then packaged along with the MEX function and will appear when the function is called in MATLAB. This is particularly useful for continuous data acquisition applications where user input is necessary to dynamically adjust input parameters or stop the acquisition routine.
Conclusion
LabVIEW offers users an intuitive, graphical approach to programmatically acquire, analyze, and visualize data. Certain applications require an interactive approach to data analysis in order to create custom analysis algorithms tailored to unique data sets or applications. While applications such as Xmath and MATLAB are optimized for analysis development, importing real-world data into these environments for verification of these algorithms can be troublesome. With the LabVIEW Math Interface Toolkit, users leverage powerful LabVIEW applications to bring realworld data into MATLAB for verification of analysis routines. Once these routines have been finalized, the LabVIEW MATLAB script node allows LabVIEW developers to cut and paste custom analysis scripts into the LabVIEW block diagram, building on their original data acquisition routines, and incorporating the web publishing, report generation, and database connectivity capabilities of LabVIEW to complete their measurement application. For more information on LabVIEW, visit ni.com/labview. For additional information on the LabVIEW Math Interface Toolkit, visit the MIT homepage.