Document Revision 2
November 2012
© Copyright 2012
ULx for NI LabVIEW
QS ULx for NI LabVIEW.docx
Your new Measurement Computing product comes with a fantastic extra —
Management committed to your satisfaction!
Thank you for choosing a Measurement Computing product—and congratulations! You own the finest, and you can now enjoy
the protection of the most comprehensive warranties and unmatched phone tech support. It’s the embodiment of our mission:
To provide data acquisition hardware and software that will save time and save money.
Simple installations minimize the time between setting up your system and actually making measurements. We offer quick and
simple access to outstanding live FREE technical support to help integrate MCC products into a DAQ system.
Limited Lifetime Warranty: Most MCC products are covered by a limited lifetime warranty against defects in materials or
workmanship for the life of the product, to the original purchaser, unless otherwise noted. Any products found to be defective in
material or workmanship will be repaired, replaced with same or similar device, or refunded at MCC’s discretion. For specific
information, please refer to the terms and conditions of sale.
Harsh Environment Program: Any Measurement Computing product that is damaged due to misuse, or any reason, may be
eligible for replacement with the same or similar device for 50% of the current list price. I/O boards face some harsh
environments, some harsher than the boards are designed to withstand. Contact MCC to determine your product’s eligibility for
this program.
30 Day Money-Back Guarantee: Any Measurement Computing Corporation product may be returned within 30 days of
purchase for a full refund of the price paid for the product being returned. If you are not satisfied, or chose the wrong product by
mistake, you do not have to keep it.
These warranties are in lieu of all other warranties, expressed or implied, including any implied warranty of merchantability or
fitness for a particular application. The remedies provided herein are the buyer’s sole and exclusive remedies. Neither
Measurement Computing Corporation, nor its employees shall be liable for any direct or indirect, special, incidental or
consequential damage arising from the use of its products, even if Measurement Computing Corporation has been notified in
advance of the possibility of such damages.
Trademark and Copyright Information
Measurement Computing Corporation, InstaCal, Universal Library, and the Measurement Computing logo are either trademarks
or registered trademarks of Measurement Computing Corporation. Refer to the Copyrights & Trademarks section on
mccdaq.com/legal for more information about Measurement Computing trademarks. Other product and company names
mentioned herein are trademarks or trade names of their respective companies.
© 2012 Measurement Computing Corporation. All rights reserved. No part of this publication may be reproduced, stored in a
retrieval system, or transmitted, in any form by any means, electronic, mechanical, by photocopying, recording, or otherwise
without the prior written permission of Measurement Computing Corporation.
Notice
Measurement Computing Corporation does not authorize any Measurement Computing Corporation product for use
in life support systems and/or devices without prior written consent from Measurement Computing Corporation.
Life support devices/systems are devices or systems that, a) are intended for surgical implantation into the body, or
b) support or sustain life and whose failure to perform can be reasonably expected to result in injury. Measurement
Computing Corporation products are not designed with the components required, and are not subject to the testing
required to ensure a level of reliability suitable for the treatment and diagnosis of people.
Quick Start: MCC ULx for NI LabVIEW Introduction
Introduction
MCC ULx for NI LabVIEW is a library of virtual instruments (VIs) used with Measurement Computing
Corporation (MCC) hardware to develop instrumentation, acquisition, and control applications in National
Instruments LabVIEW 8.5 and later. The ULx syntax is consistent with NI LabVIEW DAQmx VIs.
This Quick Start shows you how to create a LabVIEW application that graphs and logs data acquired from a
MCC device. The procedures in this document assume that you are familiar with creating applications with
LabVIEW 8.5 and later.
Hardware and Software Requirements
Hardware
Measurement Computing USB, PCI, Wireless, or WEB-based hardware
Software
LabVIEW 8.5 or later
MCC InstaCal installation, calibration, and test utility
InstaCal is included with the MCC DAQ software provided with most Measurement Computing hardware.
Operating systems
Widows 8, Widows 7, Windows Vista, Windows XP (32-bit or 64-bit)
Install InstaCal and the ULx for NI LabVIEW software
Install InstaCal and the ULx for NI LabVIEW software from the MCC DAQ CD, or download the software
from the "MCC DAQCD" section of the MCC Software/Drivers Downloads page at
www.mccdaq.com/software.aspx.
ULx VIs are installed by default into C:\Program Files\National Instruments\LabVIEW <version>\vi.lib\ULx,
where <version> is the LabVIEW version that is installed.
Install and configure the hardware with InstaCal
You must configure MCC hardware with InstaCal before LabVIEW can recognize the device. Note that
Measurement and Automation Explorer (MAX) is not used to configure MCC hardware for use in LabVIEW.
To install and configure your hardware, complete the following steps:
1. Exit LabVIEW if it is running.
2. Install the MCC hardware that you want to use in LabVIEW.
3. Run InstaCal.
A Plug and Play Board Detection dialog box displays the device(s) detected on the system. Select the
device to use in LabVIEW and click OK. The device is added to the InstaCal configuration file, and appears
with a board number on the main InstaCal window. Use this number to select the hardware in LabVIEW.
This Quick Start acquires data from the device installed as "Board# 0" in InstaCal.
4. Click the device and select Install»Configure to display the Board Configuration dialog box. Configure
the hardware and click OK to close the dialog box and write device settings to the configuration file.
5. Connect a signal source to the MCC device so that it acquires signals from analog input channel 0.
Refer to the connector pinout in your hardware user's guide for the connector pinout.
LabVIEW reads the InstaCal configuration file. If you need to change any device settings, make sure to close
LabVIEW before configuring the device.
3