Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

LabVIEW -- Combining LabVIEW and Mathcad

Integrate LabVIEW and Mathcad for taking measurements that validate your designs and mathematical models.

Applications
Design mathematical models for a wide variety of real-world applications, calculate them, and report them in Mathcad. LabVIEW gives you the power to add real-world measurements to complete, iteratively test, or validate these Mathcad models. Likewise, LabVIEW can access model and design information stored in Mathcad sheets to better take measurements.

Mathcad and LabVIEW Interoperability Options
Mathcad and LabVIEW can each read and write binary or ASCII text files. Mathcad sheets can embed file I/O objects that can read and correctly format files. In addition, LabVIEW is shipped with a small library of file I/O VIs for a variety of formats.

For true interactivity, the best option is to use LabVIEW to connect to Mathcad as an ActiveX client. This gives you the ability to open and close Mathcad sheets, change formulas, plug in new values from measurements, read values to use in LabVIEW, and finally, re-calculate and save.

Call a LabVIEW measurement application built into a DLL from Mathcad. Using this method, make complicated measurements without leaving the Mathcad environment during a test. However, changes to the measurement application require re-compiling the DLL. In addition, it is currently not possible to call the LabVIEW environment directly from Mathcad, which does not support calling ActiveX automation servers.

Learn more about how LabVIEW works with Mathcad and other design tools.

Other Resources