NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Convert Binary Data to Scaled Data in DAQmx

VERSION 1

Created on: Jul 1, 2009 2:00 PM by JordanF - Last Modified:  Jul 1, 2009 2:26 PM by JordanF

Introduction

This example shows how to acquire raw data (I16 format) and convert it back to a scaled voltage value using two different methods in DAQmx.  The first method is manually scaling the voltage by using the equation "Voltage Reading = (binary reading/2^bit)*(Vmax-Vmin)".  The second method uses the DAQmx Channel property node: AI Device Scaling Coefficients to convert the binary data to scaled voltage.  I would recommend to check out this article to learn more about scaling binary values: http://digital.ni.com/public.nsf/allkb/0FAD8D1DC10142FB482570DE00334AFB?OpenDocu ment

 

FrontPanelScaled.jpg

 

 

BlockDiagramScaled.jpg

 

Downloads:
Average User Rating
(0 ratings)




There are no comments on this document