Sample Program For Calibration - DAQ VXI-SC-1000 User Manual

32-channel multiplexer amplifier module
Table of Contents

Advertisement

Chapter 5
Calibration

Sample Program for Calibration

#include <stdio.h>
#include <math.h>
#include <dataacq.h>
#define MIO_FULL_SCALE
#define N_VXI_SC_SLOTS
#define NIDAQMEM
#define ALL
int
enterInt (char *prompt)
{
short
ret;
int
value;
VXI-SC-1102 User Manual
When you make a measurement using LabVIEW, ComponentWorks, or
VirtualBench, the driver automatically uses the calibration constants to
correct the measured voltages.
When you use application development environments other than
LabVIEW, ComponentWorks, or VirtualBench, you have the option to
apply the calibration constants to measured voltages through the NI-DAQ
API.
The following sample C program will help you calibrate the
VXI-SC-1102. The calibration constants are stored only in NI-DAQ
memory. The (input, output) voltage pairs read by a DMM must be
entered by hand. Before this program is run, the NI-DAQ Configuration
Utility must be run to configure the VXI-SC chassis and to configure
the DAQ board which will be used to communicate with the
VXI-SC-1102.
The program is written to work for a DAQ board, such as the
VXI-MIO-64E-1, with a 5 V full-scale input.
5.0
24
0
-1
/* valid for VXI-MIO-64E-1 */
5-36
© National Instruments Corporation

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vxi-sc-1102

Table of Contents