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. his example shows how to call a targeted Windows' application (i.e. Calculator) using the System Exec VI.
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.
- LabVIEW 2012 or compatible
- NI-DAQmx 9.5.5 or compatible
- NI Multifunction DAQ Device
Steps to Implement or Execute Code
- Set physical channel.
- Set parameters.
- Run the VI
Additional Information or References
Check out this article to learn more about scaling binary values: http://digital.ni.com/public.nsf/allkb/0FAD8D1DC10142FB482570DE00334AFB?OpenDocument.
**This document has been updated to meet the current required format for the NI Code Exchange.**