Finite Measurement (NI-DAQmx)

The Finite Measurement (NI-DAQmx) sample project acquires a buffered array of samples based on user input. This sample project is designed as a state machine that can perform the following actions:

System Requirements

Requirements

LabVIEW Base Package and NI-DAQmx driver software.

Project Diagram

This sample project uses the NI-DAQmx API to configure and acquire a measurement with hardware I/O.

Use Cases

The Finite Measurement (NI-DAQmx) sample project acquires samples based on user input. It allows you to only perform one action at a time. The user interface does not respond to other commands until the current action has finished executing.

Running this Sample Project

  1. In the Project Explorer window, open and run Main.vi.
  2. Click Acquire. The program begins acquiring data.
  3. Click the other front panel buttons to explore the sample project.

Customizing this Sample Project

Additional Resources

Refer to the LabVIEW Help, available by selecting Help»LabVIEW Help for information about LabVIEW concepts or objects used in this sample project. You can also use the Context Help window to learn basic information about LabVIEW objects as you move the cursor over each object. To display the Context Help window in LabVIEW, select Help»Show Context Help.

This sample project is based on the Simple State Machine template. Refer to the Simple State Machine template and its documentation, available from the Create Project dialog box, for information about how this template works.


Important Information

Copyright

© 2013 National Instruments. All rights reserved.

Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical, including photocopying, recording, storing in an information retrieval system, or translating, in whole or in part, without the prior written consent of National Instruments Corporation.

National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other intellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.

End-User License Agreements and Third-Party Legal Notices

You can find end-user license agreements (EULAs) and third-party legal notices in the following locations:

Trademarks

LabVIEW, National Instruments, NI, ni.com, the National Instruments corporate logo, and the Eagle logo are trademarks of National Instruments Corporation. Refer to the Trademark Information at ni.com/trademarks for other National Instruments trademarks.

Other product and company names mentioned herein are trademarks or trade names of their respective companies.

Patents

For patents covering the National Instruments products/technology, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your media, or the National Instruments Patent Notice at ni.com/patents.