background image

Appendix B

Calibration Sample Program

SCXI-1102/B/C User Manual

B-4

©

 National Instruments Corporation

SCXI_Cal_Constants(SCXI_Chassis_ID, moduleSlot, moduleChan, 

TWOPOINT, NIDAQMEM, dummyRangeCode, gain, 

dummyDAQboard, dummyDAQchan, dummyDAQgain, 1, 

vinput1, bin_output1, vinput2, bin_output2, 

&bin_offset, &gainerr);

/* Calculate offset and gain

   error. */

offset = bin_offset / scale;

/* Convert from DAQ board 

   format. */

printf("Calculated offset %f V, gain error %f%% ", offset,

        gainerr);

printf("and stored in NI-DAQ memory.\n\n");

}

}

}

Содержание SCXI-1102

Страница 1: ... 1102 B C User Manual 32 Channel Thermocouple Amplifier Modules SCXI 1102 B C User Manual August 1997 Edition Part Number 320975B 01 Copyright 1995 1997 National Instruments Corporation All rights reserved ...

Страница 2: ...5 76 26 00 Finland 09 725 725 11 France 01 48 14 24 24 Germany 089 741 31 30 Hong Kong 2645 3186 Israel 03 5734815 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Mexico 5 520 2635 Netherlands 0348 433466 Norway 32 84 84 00 Singapore 2265886 Spain 91 640 0085 Sweden 08 730 49 70 Switzerland 056 200 51 51 Taiwan 02 377 1200 United Kingdom 01635 523545 National Instruments Corporate Headquarter...

Страница 3: ... OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITY THEREOF This limitation of the liability of National Instruments will apply regardless of the form of action whether in contract or tort including negligence Any action against National Instruments must be brought within one year after the cause of action accrues National Instruments shall not be liable for any delay in per...

Страница 4: ...ng Choices 1 3 National Instruments Application Software 1 3 NI DAQ Driver Software 1 4 Register Level Programming 1 5 Optional Equipment 1 5 Custom Cables 1 6 Unpacking 1 6 Chapter 2 Configuration and Installation Module Configuration 2 1 Digital Configuration 2 3 Analog Configuration 2 4 Current Loop Receivers 2 4 Hardware Installation 2 6 Chapter 3 Signal Connections Front Connector 3 1 Front C...

Страница 5: ...ications 3 10 Chapter 4 Theory of Operation Functional Overview 4 1 Rear Signal Connector SCXIbus Connector and SCXIbus Interface 4 2 Digital Control Circuitry 4 2 Analog Circuitry 4 3 Analog Input Channels 4 3 Analog Bus Switch 4 4 Chapter 5 Calibration Overview 5 1 Calibration Procedure 5 1 Calibration Equipment Requirements 5 1 Gain and Offset Calibration 5 2 Appendix A Specifications Appendix ...

Страница 6: ...ent and Trimmed Resistor 2 5 Figure 3 1 SCXI 1102 B C Module Front Connector Pin Assignments 3 2 Figure 3 2 Ground Referenced Signal Connection 3 5 Figure 3 3 Floating Signal Connection Referenced to Chassis Ground 3 6 Figure 3 4 SCXI 1102 B C Module Rear Signal Connector Pin Assignments 3 7 Figure 4 1 SCXI 1102 B C Module Block Diagram 4 1 Tables Table 2 1 Jumper Settings for Digital Signal Conne...

Страница 7: ...uples volt and millivolt sources and 4 20 mA sources or 0 20 mA process current sources The SCXI 1102 B C modules have 32 differential analog input channels and one cold junction sensor channel Organization of This Manual The SCXI 1102 B C User Manual is organized as follows Chapter 1 Introduction describes the SCXI 1102 B C modules lists what you need to get started with your SCXI 1102 B C module...

Страница 8: ...g abbreviations acronyms metric prefixes mnemonics symbols and terms The Index contains an alphabetical list of key terms and topics in this manual including the page where you can find each one Conventions Used in This Manual The following conventions are used in this manual The symbol indicates that the text following it applies only to specific SCXI 1102 modules Angle brackets containing number...

Страница 9: ...ss otherwise noted modules Slot 0 Refers to the power supply and control circuitry in the SCXI chassis Abbreviations acronyms metric prefixes mnemonics symbols and terms are listed in the Glossary National Instruments Documentation The SCXI 1102 B C User Manual is one piece of the documentation set for your data acquisition system You could have any of several types of manuals depending on the har...

Страница 10: ...als If you are using accessory products read the terminal block and cable assembly installation guides They explain how to physically connect the relevant pieces of the system Consult these guides when you are making your connections SCXI Chassis Manual Read this manual for maintenance information on the chassis and installation instructions Customer Communication National Instruments wants to rec...

Страница 11: ...SCXI 1102 inputs to a single output which drives a single DAQ device channel SCXI 1102B This module is for the signal conditioning of thermocouples medium bandwidth volt and millivolt sources 4 to 20 mA current sources and 0 to 20 mA process current sources The SCXI 1102B has 32 different analog input channels and one cold junction sensor channel On each channel the SCXI 1102B has a three pole low...

Страница 12: ...nnel reads You can multiplex several SCXI 1102 B C modules and other SCXI modules into a single channel on the DAQ device greatly increasing the number of analog input signals that you can digitize Detailed specifications of the SCXI 1102 B C modules are listed in Appendix A Specifications What You Need to Get Started To set up and use your SCXI 1102 B C module you will need the following items On...

Страница 13: ...series of VIs for using LabVIEW with National Instruments DAQ hardware is included with LabVIEW The LabVIEW Data Acquisition VI Library is functionally equivalent to NI DAQ software LabWindows CVI features interactive graphics state of the art user interface and uses the ANSI standard C programming language The LabWindows CVI Data Acquisition Library a series of functions for using LabWindows CVI ...

Страница 14: ...f calibration messaging and acquiring data to extended memory NI DAQ also internally addresses many of the complex issues between the computer and the plug in device such as programming interrupts and DMA controllers NI DAQ maintains a consistent software interface among its different versions so that you can change platforms with minimal modifications to your code Figure 1 1 illustrates the relat...

Страница 15: ...Instruments application software to program your National Instruments DAQ hardware Using the application software is easier than and as flexible as register level programming and can save weeks of development time Optional Equipment National Instruments offers a variety of products to use with your SCXI 1102 B C module as follows Terminal blocks and 96 pin cables that allow you to attach input sig...

Страница 16: ...the module from the package and inspect the module for loose components or any other sign of damage Notify National Instruments if the module appears damaged in any way Do not install a damaged module into your SCXI chassis Never touch the exposed pins of connectors Signal Connector SCXI 1102 B C Connector Mating Connector Cable Rear AMP Inc 1 103310 0 50 pin male ribbon cable header Electronic Pr...

Страница 17: ...to install current loop receivers and how to install your SCXI 1102 B C module into the SCXI chassis Module Configuration The SCXI 1102 B C contains one jumper shown in Figure 2 1 Jumper W1 connects a pullup resistor to the SERDATOUT signal on the rear signal connector The remainder of the module configuration gain output signal referencing and so on is software programmable ...

Страница 18: ...tion SCXI 1102 B C User Manual 2 2 National Instruments Corporation Figure 2 1 SCXI 1102 B C Module Parts Locator Diagram 1102 shown 1 RCL24 RCL31 2 RCL14 RCL23 3 RCL8 RCL13 4 Assembly Number 5 RCL0 RCL7 6 Serial Number 7 W1 2 3 6 5 4 1 7 ...

Страница 19: ... pullup resistor to the SERDATOUT line This pullup resistor pulls the SERDATOUT line high when its open collector driver goes to a high impedance state The SERDATOUT line on the SCXI 1102 B C module reads the Module ID Register the Status Register and the EEPROM When using a single chassis system set the jumper in the pullup position on the SCXI module cabled to the DAQ device When using multiple ...

Страница 20: ...3 Snap out the top cover of the shield by placing a screwdriver in the groove at the bottom of the module and pushing down on the screwdriver 4 Change the W1 jumper setting 5 Reinstall the top cover and grounding screw Figure 2 2 Removing the SCXI Module Cover Analog Configuration Current Loop Receivers The SCXI 1102 B C modules have pads for transforming individual channels to current to voltage ...

Страница 21: ...revents damage to your SCXI module from electrostatic discharge 2 Remove the grounding screw of the top cover 3 Snap out the top cover of the shield by placing a screwdriver in the groove at the bottom of the module and pushing down 4 Remove the rear panel by unscrewing the two remaining screws 5 Slide the module out of its enclosure 6 Bend and trim the resistor lead as shown in Figure 2 3 Be sure...

Страница 22: ... good contact If a cable assembly has already been installed in the rear of the chassis the module and cable assembly must be firmly engaged however do not force the module into place 4 Screw the front mounting panel of the SCXI 1102 B C module to the top and bottom threaded strips of your SCXI chassis 5 If this module is to be connected to an MIO 16 DAQ device attach the connector at the metal en...

Страница 23: ...hapter also includes specifications and connection instructions for the signals on the SCXI 1102 B C module connectors Caution Static electricity is a major cause of component failure To prevent damage to the electrical components in the module observe antistatic techniques whenever removing a module from the chassis or whenever working on a module Front Connector Figure 3 1 shows the pin assignme...

Страница 24: ...22 23 24 25 26 27 28 29 30 31 32 A CH31 CH30 CH29 CH28 CH27 CH26 CH25 CH24 CH23 CH22 CH21 CH20 CH19 CH18 CH17 CH16 CH15 CH14 CH13 CH12 CH11 CH10 CH9 CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 B CH31 CH30 CH29 CH28 CH27 CH26 CH25 CH24 CH23 CH22 CH21 CH20 CH19 CH18 CH17 CH16 CH15 CH14 CH13 CH12 CH11 CH10 CH9 CH8...

Страница 25: ... input channel is 10 V G where G is the gain selected on the SCXI 1102 B C module input channel This differential input range is the maximum measurable voltage difference between the positive and negative channel inputs The common mode input signal range of an SCXI 1102 B C module input channel is 11 V This common mode Pin Signal Name Description A1 5 V 5 VDC Source Used to power the temperature s...

Страница 26: ... resulting from such voltage application Note Exceeding the differential or common mode input channel ranges results in a distorted signal measurement Ground Referencing Your Signals Your input signals can be either ground referenced as shown in Figure 3 2 or floating as shown in Figure 3 3 Before you connect your thermocouple or any other signal determine whether it is floating or ground referenc...

Страница 27: ...Chapter 3 Signal Connections National Instruments Corporation 3 5 SCXI 1102 B C User Manual Figure 3 2 Ground Referenced Signal Connection Vs V Front Signal Connector SCXI 1102 B C cm CH0 CH0 CH1 CH1 ...

Страница 28: ...are connected within the SCXI 1102 B C module so the position of the MTEMP DTEMP jumper on the SCXI 1300 or SCXI 1303 does not matter The input is overvoltage protected to 15 VDC with power on and off Caution Exceeding the overvoltage protection on the CJSENSOR input can damage the SCXI 1102 B C module the SCXIbus and the DAQ device National Instruments is NOT liable for any damages or injuries re...

Страница 29: ...XI 1351 one slot cable extender with the SCXI 1102 B C module read this section Figure 3 4 shows the SCXI 1102 B C module rear signal connector pin assignments Figure 3 4 SCXI 1102 B C Module Rear Signal Connector Pin Assignments NC NC NC RSVD NC NC SERCLK NC NC DGND SLOT0SEL DAQD A SERDATIN NC NC OUTREF NC NC NC NC NC NC NC MCH0 AOGND NC RSVD NC NC NC SCANCLK NC NC NC NC NC NC SERDATOUT DGND NC N...

Страница 30: ... Output With software you can configure this pin to connect to the analog reference 24 33 DGND Digital Ground These pins supply the reference for DAQ device digital signals and are tied to the module digital ground 25 SERDATIN Input Serial Data In The DAQ device uses this signal to program modules in all slots 26 SERDATOUT Output Serial Data Out A cabled module uses this signal to return data from...

Страница 31: ...ssary Caution The SCXI 1102 B C module analog outputs are not overvoltage protected Applying external voltages to these outputs can damage the SCXI 1102 B C module National Instruments is NOT liable for any damages resulting from such signal connections Note The SCXI 1102 B C module analog outputs are short circuit protected Digital I O Signal Connections Pins 24 through 27 29 33 36 37 43 and 46 c...

Страница 32: ...olute max voltage input rating 5 5 V with respect to DGND Digital input specifications referenced to DGND VIH input logic high voltage 2 V min VIL input logic low voltage 0 8 V max II input current leakage 1 µA max Digital output specifications referenced to DGND VOH output logic high voltage 3 7 V min at 4 mA max VOL output logic low voltage 0 4 V max at 4 mA max Table 3 1 SCXIbus to SCXI 1102 B ...

Страница 33: ...al components of the SCXI 1102 B C module Figure 4 1 SCXI 1102 B C Module Block Diagram Front Signal Connector CH 0 Gain 0 CH 0 CH 31 CH 31 Lowpass Filter Digital Control Calibration EEPROM Lowpass Filter Lowpass Filter CJSENSOR MCH0 Gain 31 Gain Register SCXIbus Interface SCXIbus Connector Rear Signal Connector Switch Mux MCH0 AOGND OUTREF 32 to 1 Mux Switch Inst Amp Buffer Switch Mux Input Prote...

Страница 34: ...C module and the rest of the chassis Digital Control Circuitry The digital control circuitry consists of the Address Handler and the following registers Module ID Configuration Status EEPROM Gain and Channel The Address Handler controls which register is being addressed The Module ID Register contains a code unique to each type of SCXI 1102 module SCXI 1102 The Module ID is 30 decimal SCXI 1102B T...

Страница 35: ...automatically reads the Status Register to determine when the module output has settled For the SCXI 1102B and SCXI 1102C modules this time is approximately 100 ms and 1 ms respectively The temperature sensor consists of a thermistor located on the SCXI 1300 or SCXI 1303 terminal block The temperature sensor is for cold junction compensation of the SCXI 1102 B C thermocouples The CJSENSOR channel ...

Страница 36: ... module cabled to the DAQ device The SCXI 1102 B C modules also contain switches to receive a signal placed on the SCXIbus by another SCXI module The output buffer of the cabled module drives a received signal onto the MCH0 line of the rear signal connector so that the DAQ device can read it When a signal passes on the SCXIbus from the scanned SCXI module to the cabled SCXI module the measurement ...

Страница 37: ... the factory with factory determined calibration constants in the EEPROM However it is recommended that you recalibrate a module at least once per year or when you operate the module outside of the 20 to 30 C temperature range In order to calibrate the SCXI 1102 B C modules you will need to apply precision voltages to the channel inputs and or ground the channel inputs Calibration Procedure Calibr...

Страница 38: ...0 and MCH0 on the CB 50 pins 3 and 4 respectively Gain and Offset Calibration To determine the offset and gain calibration factors of the SCXI 1102 B C module for a given gain perform the following steps for a two point calibration For two point calibration it is best to use input voltages that correspond to the signal range of interest For example if you are planning to measure bipolar voltages o...

Страница 39: ...he gain set to GMIO your output voltages for the autozeroing option will be represented in binary units as given by the following formula For other DAQ devices refer to your DAQ device user manual to determine the appropriate formula 6 You now have a new set of pairs referred to as voltage binary pairs input1 bin_output1 and input2 bin_output2 Pass these pairs to the SCXI_Cal_Constants function or...

Страница 40: ... Input Characteristics Number of channels 32 differential Input signal ranges 100 mV gain 100 or 10 V gain 1 Max working voltage signal common mode Each input should remain within 10 V of CGND Input damage level 42 VAC peak or VDC Inputs protected CH 0 31 CJSENSOR Transfer Characteristics Nonlinearity 0 005 FSR Offset error Gain 1 After calibration 300 µV max Before calibration 600 µV Gain 100 Aft...

Страница 41: ... 1 of reading Amplifier Characteristics Input impedance Normal powered on 1 GΩ Powered off 10 kΩ Overload 10 kΩ Input bias current 0 5 nA Input offset current 1 0 nA CMRR Output range 10 V Output impedance 91 Ω Dynamic Characteristics Bandwidth 2 Hz 1102 200 Hz 1102B 10 kHz 1102C Scan interval per channel any gain 0 012 3 µs 0 0061 10 µs 1102 1102B 1102C 50 to 60 Hz either gain 110 dB 90 dB 90 dB ...

Страница 42: ... Stability Recommended warm up time 20 min Offset temperature coefficient Gain 1 20 µV C Gain 100 1 µV C Gain temperature coefficient 10 ppm C Physical Dimensions 115 by 273 mm 4 54 by 10 75 in I O connector 50 pin male ribbon cable rear connector 96 pin male DIN C front connector 1102 1102B 1102C Gain 1 50 µVrms 50 µVrms 70 µVrms Gain 100 5 µVrms 5 µVrms 10 µVrms 1102 1102B 1102C To 0 1 1 s 10 ms...

Страница 43: ...anual A 4 National Instruments Corporation Environment Operating temperature 0 to 50 C Storage temperature 55 to 150 C Relative humidity 5 to 90 noncondensing Power Requirements 5 V supply 15 mA max 15 V supply regulated from 24 V supply 150 mA max ...

Страница 44: ...s read by a DMM must be entered by hand Before running this programed must run the NI DAQ Configuration Utility to set up the DAQ board that will communicate with the SCXI 1102 This program is written for the four slot SCXI 1000 chassis The program prompts for all required configuration information about the SCXI chassis include ansi_c h include dataacq h define SCXI1102 30 the SCXI 1102 module ID...

Страница 45: ...sis containing the SCXI 1102 fflush stdin ret scanf d SCXI_Chassis_ID while ret commPath SCXI_Chassis_ID do printf Enter the device number of the DAQ board communicating n printf with the chassis default d SCXI_Chassis_ID fflush stdin fgets entry 3 stdin if strlen entry 1 commPath atof entry while commPath dummyDAQboard connectionMap moduleSlot 1 commPath Since the DAQ board is not used to acquire...

Страница 46: ...moduleChan gain Select the channel and gain printf Apply input voltage for point 1 channel d gain 0f n moduleChan gain do printf Enter SCXI 1102 input voltage fflush stdin ret scanf lf vinput1 User enters vinput1 while ret do printf Enter SCXI 1102 output voltage fflush stdin ret scanf lf voutput1 User enters voutput1 while ret printf Apply input voltage for point 2 channel d gain 0f n moduleChan ...

Страница 47: ...duleSlot moduleChan TWOPOINT NIDAQMEM dummyRangeCode gain dummyDAQboard dummyDAQchan dummyDAQgain 1 vinput1 bin_output1 vinput2 bin_output2 bin_offset gainerr Calculate offset and gain error offset bin_offset scale Convert from DAQ board format printf Calculated offset f V gain error f offset gainerr printf and stored in NI DAQ memory n n ...

Страница 48: ...stems does not answer your questions we offer fax and telephone support through our technical support centers which are staffed by applications engineers Electronic Services National Instruments has BBS and FTP sites dedicated for 24 hour support with a collection of files and documents to answer most common customer questions From these sites you can also download the latest instrument drivers up...

Страница 49: ...ed your software to obtain support Telephone Fax Australia 03 9879 5166 02 9874 4455 Austria 0662 45 79 90 0 0662 45 79 90 19 Belgium 02 757 00 20 02 757 03 11 Canada Ontario 905 785 0085 905 785 0086 Canada Quebec 514 694 8521 514 694 4399 Denmark 45 76 26 00 45 76 26 02 Finland 09 725 725 11 09 725 725 55 France 01 48 14 24 24 01 48 14 24 14 Germany 089 741 31 30 089 714 60 35 Hong Kong 2645 318...

Страница 50: ...________________________________________________ _______________________________________________________________________________ National Instruments hardware product model __________ Revision ______________________ Configuration ___________________________________________________________________ National Instruments software product ____________________________Version ____________ Configuration _...

Страница 51: ...________ Base I O address of other boards _____________________________________________________ DMA channels of other boards ______________________________________________________ Interrupt level of other boards _______________________________________________________ Other Products Computer make and model _________________________________________________________ Microprocessor ____________________...

Страница 52: ...___________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ ____________________________...

Страница 53: ...anual Glossary Numbers Symbols 5 V 5 volt signal degrees Ω ohms percent plus or minus A A amperes AC alternating current ACH analog input channel signal Prefix Meanings Value p pico 10 12 n nano 10 9 µ micro 10 6 m milli 10 3 k kilo 103 M mega 106 G giga 1012 ...

Страница 54: ...omputer Typically a bus is the expansion vehicle to which I O or other devices are connected Examples of PC buses are the AT bus NuBus Micro Channel and EISA bus C C Celsius CE card enable signal CGND chassis ground signal channel pin or wire lead to which you apply or from which you read the analog or digital signal Analog signals can be single ended or differential For digital signals you group ...

Страница 55: ... or pad that can contain multiple channels and conversion devices Plug in boards PC cards and devices such as the DAQPad 1200 which connects to your computer parallel port are all examples of DAQ devices SCXI modules are distinct from devices with the exception of the SCXI 1200 which is a hybrid DGND digital ground signal DIFF differential configuration differential input an analog input consistin...

Страница 56: ... or outgoing data until that data can be retrieved or output For example an analog input FIFO stores the results of A D conversions until the data can be retrieved into system memory a process that requires the servicing of interrupts and often the programming of the DMA controller This process can take several milliseconds in some cases During this time data accumulates in the FIFO for future ret...

Страница 57: ...transfer of data to from a computer system involving communications channels operator interface devices and or data acquisition and control interfaces ISA Industry Standard Architecture L LED light emitting diode LSB least significant bit M MB megabytes of memory MSB most significant bit N NC not connected signal NRSE nonreferenced single ended mode all measurements are made with respect to a comm...

Страница 58: ...e the square root of the average value of the square of the instantaneous signal amplitude a measure of signal amplitude RSVD reserved bit RTSI bus real time system integration bus the National Instruments timing bus that connects DAQ devices directly by means of connectors on top of the boards for precise synchronization of functions S S samples s seconds SCANCLK scan clock signal SCXI Signal Con...

Страница 59: ...nsistor logic V V volts VCC positive supply voltage from the PCMCIA bus usually 5V VDC volts direct current VI virtual instrument 1 a combination of hardware and or software elements typically used with a PC that has the functionality of a classic stand alone instrument 2 a LabVIEW software module VI which consists of a front panel user interface and a block diagram program VIH volts input high VI...

Страница 60: ...g output signal connections 3 9 AOGND signal table 3 8 B bent and trimmed resistor figure 2 5 bulletin board support C 1 C cables custom 1 6 calibration 5 1 to 5 3 equipment requirements 5 1 to 5 2 gain and offset calibration 5 2 to 5 3 overview 5 1 sample program B 1 to B 4 CGND signal table 3 3 CH31 through CH0 signals table 3 3 CH31 through CH0 signals table 3 3 CJSENSOR signal table 3 3 cold j...

Страница 61: ...s 3 6 ground referencing of signals 3 4 to 3 6 floating signal connection referenced to chassis ground figure 3 6 ground referenced signal connection figure 3 5 pin assignments figure 3 2 signal descriptions table 3 3 FTP support C 1 G gain and offset calibration 5 2 to 5 3 ground referencing of signals 3 4 to 3 6 floating signal connections referenced to chassis ground figure 3 6 ground reference...

Страница 62: ...ing 1 5 unpacking 1 6 SCXIbus connector 4 2 SCXIbus interface 4 2 SCXIbus to SCXI 1102 B C to DAQ board pin equivalencies table 3 10 SERCLK signal description table 3 9 SCXIbus to SCXI 1102 B C to DAQ board pin equivalencies table 3 10 SERDATIN signal description table 3 8 SCXIbus to SCXI 1102 B C to DAQ board pin equivalencies table 3 10 SERDATOUT signal description table 3 8 SCXIbus to SCXI 1102...

Страница 63: ...s A 1 physical A 3 power requirements A 4 stability A 3 transfer characteristics A 1 to A 2 stability specifications A 3 system requirements 1 2 T technical support C 1 to C 2 telephone and fax support C 2 temperature sensor 4 3 theory of operation 4 1 to 4 4 analog circuitry 4 3 to 4 4 analog bus switch 4 4 analog input channels 4 3 block diagram of SCXI 1102 B C 4 1 digital control circuitry 4 2...

Отзывы: