Example Code

DAQmx Acquire with Custom Scale

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.


  • Data Acquisition (DAQ)


  • LabVIEW


  • NI DAQmx

Code and Documents



This example shows how to add a custom scale to a LabVIEW VI.



When adding a custom scale to a LabVIEW VI from MAX there are a few common problems. If you getthe following error,this is the way to fix it.

Error -200447 occurred at an unidentified location

Possible reason(s): Measurements: Units for the channel must be set to From Custom Scale when a custom scale is used with a channel. Notice the input on the create channel VI.




  • LabVIEW 2012 or compatible
  • NI-DAQmx 9.5.5 or compatible


  • NI Multifunction DAQ Device


Steps to Implement or Execute Code

  1. Configure the parameter for the right channel and device
  2. Connect your hardware appropriately
  3. Run the VI


 **This document has been updated to meet the current required format for the NI Code Exchange.**





Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Active Participant
Active Participant

the daqmx create channel actually has a terminal named 'units' from there you create a constant that says 'from custom scale' and you dont need to use the property node at all. this EPD does this: http://zone.ni.com/devzone/cda/epd/p/id/6062

Stephen B