Campbell-scientific CR9000X Measurement and Control System Manuel d'utilisateur Page 1

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Instruments de mesure Campbell-scientific CR9000X Measurement and Control System. Campbell Scientific CR9000X Measurement and Control System User Manual [en] [es] [it] Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 442
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - Control System

CR9000X Measurement andControl SystemRevision: 4/12Copyright © 1995-2012Campbell Scientific, Inc.

Page 2

Quick Start QS1. Setting Up QS1.1 Installing RTDAQ A CD with one licensed copy of RTDAQ is provided with every CR9000X. Locate and install RTDAQ on

Page 3 - Warranty

Section 3. CR9000X Measurement Details speed is more important than the reduced accuracy, the temperature of a single CR9050 module can be used for t

Page 4 - Assistance

Section 3. CR9000X Measurement Details TABLE 3.1.4-1. Limits of Error for Thermocouple Wire (Reference Junction at 0oC) Limits of Error Thermoco

Page 5 - CR9000X Table of Contents

Section 3. CR9000X Measurement Details junctions is required for a thermocouple to output 2.285 mV, the voltage at which 0.07% of the reading is equa

Page 6

Section 3. CR9000X Measurement Details Noise on Voltage Measurement The input noise on the ±50 mV range for a measurement with no integration is 4 µV

Page 7

Section 3. CR9000X Measurement Details temperature range should be made by obtaining the actual temperatures referenced to a junction within the refe

Page 8

Section 3. CR9000X Measurement Details 3-17 TABLE 3.1.4-5. Example of Errors in Thermocouple Temperature Source Error: oC : % of Total Error Sing

Page 9 - Quick Start

Section 3. CR9000X Measurement Details CR9000HLA' AB' BJunction BoxTC FIGURE 3.1.4-2. Diagram of junction box An external reference juncti

Page 10 - QS1. Setting Up

Section 3. CR9000X Measurement Details Electrical Bridge Circuits & Equations BrHalf X = result w/mult = 1, offset = 0 XVVRRRxssf==+1 BRHalf Equ

Page 11 - Click on to set up

Section 3. CR9000X Measurement Details 3.1.6 Measurements Requiring AC Excitation Some resistive sensors require AC excitation. These include elect

Page 12

Section 3. CR9000X Measurement Details In Figure 3.1.7-1, Vx is the excitation voltage, Rf is a fixed resistor, Rs is the sensor resistance, and RG i

Page 13

Quick Start QS1.4 Powering the Logger A universal power adapter that can convert 120/240 AC to the required DC voltage is supplied with the CR900

Page 14

Section 3. CR9000X Measurement Details • The CR9058E has a slower maximum scan rate than the CR9050, but this is somewhat balanced by the fact that

Page 15

Section 3. CR9000X Measurement Details for the given Sinc filter and scan interval. The integration and Sinc filter order that a given CR9058E is us

Page 16

Section 3. CR9000X Measurement Details • The CR9058E does not directly support Bridge measurements, but Bridge type measurements can be performed th

Page 17

Section 3. CR9000X Measurement Details The integration and Sinc filter order that a given CR9058E is using can be seen through RTDaq's terminal

Page 18 - QS1.6.1 IP Port Setup Tips

Section 3. CR9000X Measurement Details This results in the following maximum integration times for the given Filter orders (Filter order 1 has no lim

Page 19

Section 3. CR9000X Measurement Details CHART 3.2.2-2 FREQUENCY RESPONSE OF SYNC FILTER ORDERS 1 THROUGH 50.910.920.930.940.950.960.970.980.991.001.01

Page 20

Section 3. CR9000X Measurement Details Chart 3.2.3-1 Log Plot of Filter Response Based on Scan Interval In addition, due to using smaller integrati

Page 21

Section 3. CR9000X Measurement Details Due to the minimized signal attenuation at lower frequencies, and the improved filtering of the higher order

Page 22

Section 3. CR9000X Measurement Details OS returned Filter Order and Integration: The integration and Sinc filter order that a given CR9058E is using

Page 23

Section 3. CR9000X Measurement Details All CR9052 channels in a single CR9000X chassis are sampled simultaneously (channel to channel sampling simult

Page 24

Quick Start The wizard will prompt you sequentially through the settings required for your RS232 communication set-up. In this window, scroll down thr

Page 25

Section 3. CR9000X Measurement Details The digital implementation of the CR9052 FIR filters maintains a group delay that is independent of frequency

Page 26 - QS3. RealTime Monitoring

Section 3. CR9000X Measurement Details Chart 3.3-3 Frequency Response 00.20.40.60.811.0E-04 1.0E-03 1.0E-02 1.0E-01 1.0E+00 1.0E+01 1.0E+02 1.0E+03 1

Page 27 - QS4. Data Collection

Section 3. CR9000X Measurement Details CHART 3.3-4 COMPARISION OF SPECTRAL RESOLUTION FOR VARIOUS WINDOWING FUNCTIONS0.00.10.20.30.40.50.60.70.

Page 28 - QS5. View Data

Section 3. CR9000X Measurement Details percent of full-scale) throughout the -40° to 70° C operating temperature range. The combined capabilities of

Page 29 - Processor

Section 3. CR9000X Measurement Details For example, if you are scanning a 2.5 Hz input once a second, in some intervals there will be 2 counts and in

Page 30 - Peripheral Compatibility

Section 3. CR9000X Measurement Details shift or delay into the stored data. For instance, if a POption of 2000 (2 second average) were used on a veh

Page 31 - Instruction Set

Section 3. CR9000X Measurement Details E = # of Rising edges per Scan or 1, whichever is greater. (For a 1000 Hz input signal E would be 500 given a

Page 32

Section 3. CR9000X Measurement Details circuit, a larger input voltage transition is required for higher frequencies. The transition required for the

Page 33 - Overview

Section 3. CR9000X Measurement Details 3-40

Page 34 - MADE IN USA

Section 4. CRBasic – Native Language Programming The CR9000X is programmed in a language that has some similarities to a structured basic. There are

Page 35

Quick Start Select the computer COM Port that you will be using to communicate with the logger. Only COM ports which are recognized and made availabl

Page 36 - CR9032 CPU Module

Section 4. CRBasic – Native Language Programming proper structure, measurement routines, and variables. The program can then be edited further using

Page 37

Section 4. CRBasic – Native Language Programming 4.1.3.1 Inserting Comments into Program Comments are non-functioning text placed within the body of

Page 38 - LOGAN, UTAH

Section 4. CRBasic – Native Language Programming data at another rate), as well as the rate that you wish to store the different measurement paramete

Page 39 - OV1.2 Measurement Modules

Section 4. CRBasic – Native Language Programming 7) Know your DATA STORAGE. Read Section 4.2.8. Define the Data Tables and the data that will be st

Page 40

Section 4. CRBasic – Native Language Programming 10) Put together what you know, and you have a working program: ‘Define Constants Const TCMult =

Page 41

Section 4. CRBasic – Native Language Programming Keywords and predefined constants are reserved for internal CR9000X use. If a user programmed vari

Page 42 - CR9052EC

Section 4. CRBasic – Native Language Programming The structure of a CRBasic program requires that variables and subroutines be defined before they ca

Page 43

Section 4. CRBasic – Native Language Programming EXAMPLE PROGRAM 4.2.3-1 CRBasic Program Structure‘Declarations ‘Define Constants Const RevDiff 1 Co

Page 44 - CR9052IEPE

Section 4. CRBasic – Native Language Programming EXAMPLE PROGRAM 4.2.3-2. CRBasic Program Structure ' Program name: EXAMPLE.C9X 'DECLA

Page 45 - 9055 50V ANALOG INPUT

Section 4. CRBasic – Native Language Programming 4.2.4 Declarations Pre-defined constants, Public variables, Dim variables, Aliases, Units, Data Tab

Page 46 - CR9058E Isolation Module

Quick Start This next window has a Synopsis of your selected options. Verify that it has the requisite settings and click on "Next". You

Page 47 - CR9060 Excitation Module

Section 4. CRBasic – Native Language Programming 4.2.4.3 Dimensions Occasionally, a multi-dimensioned array is required for an application. Dimensi

Page 48

Section 4. CRBasic – Native Language Programming TABLE 4.2.4-1. Data Types Code Data Format Where Used Word Size Range Resolution FP2 CSI Floati

Page 49

Section 4. CRBasic – Native Language Programming EXAMPLE 4.2.4-3. Programming with Bool8 and a bit-shift operator. Public Alarm(32) Public Flags As

Page 50 - CR9071EC

Section 4. CRBasic – Native Language Programming FP2 Used for data storage only. While IEEE 4 byte floating point is used for variables and internal

Page 51

Section 4. CRBasic – Native Language Programming Specific uses include: • Placing a timestamp in a second position in a record. • Accessing a times

Page 52 - OV2.1 Memory

Section 4. CRBasic – Native Language Programming EXAMPLE 4.2.4-6 CRBASIC Code: Using NSEC data type on a 2 element array. 'Because the variab

Page 53 - OV2.3 Data Tables

Section 4. CRBasic – Native Language Programming STRING “AS STRING * size” specifies the variable as a string of ASCII characters, NULL terminated,

Page 54

Section 4. CRBasic – Native Language Programming 4.2.5 Constants A constant can be declared at the beginning of a program to assign an alphanumeric

Page 55 - OV4. Support Software

Section 4. CRBasic – Native Language Programming 4.2.7 Parameter Types Many instructions have parameters that allow different types of inputs. Allow

Page 56 - LoggerNet

Section 4. CRBasic – Native Language Programming tables can be created by the program. The data tables may store individual measurements, individual

Page 57 - RTMC Pro

Quick Start If you have set up the communication link correctly, you should see this screen. Click on "Next". The next window is for setti

Page 58 - RTMC Web Server

Section 4. CRBasic – Native Language Programming 4.2.8.1 DataTable/EndTable Values in variables are temporary and will be lost when the program ends

Page 59 - OV5. Specifications

Section 4. CRBasic – Native Language Programming top of the Interval. Example 4.2.8-2 outputs at 10 msec time after the top of the 100 mSec interval,

Page 60

Section 4. CRBasic – Native Language Programming 4.2.8.4 Data Output Processing Instructions The output processing instructions included in a data t

Page 61

Section 4. CRBasic – Native Language Programming 4.2.9.1 Scan Instruction The Scan instruction determines how frequently the measurements within the

Page 62

Section 4. CRBasic – Native Language Programming 4.2.9.2.1 CR9052DC/CR9052IEPE Filter Module SubScan Any SubScan that includes a VoltFilt or a FFTFi

Page 63 - Section 1. Installation

Section 4. CRBasic – Native Language Programming 4.2.9.2.2 CR9058E Isolation Module SubScan or SuperScan This type of SubScan was created for the Is

Page 64 - 1.1.3 Junction Boxes

Section 4. CRBasic – Native Language Programming 4.2.9.2.3 Measurement Loop SubScan This SubScan type is similar to a simple for-next loop, only it

Page 65

Section 4. CRBasic – Native Language Programming In most applications, it is highly recommended to perform background calibration in the SlowSequence

Page 66

Section 4. CRBasic – Native Language Programming To send the PRT temperature of the module in the forth slot to the variable RefTemp (using a 100 m

Page 67

Section 4. CRBasic – Native Language Programming greater than 2250 degrees F (1230 degrees C). For these conditions a range code of 200 mV should be

Page 68 - 1.2.3 Solar Panels

Quick Start In this next window, the Station Name internal of the logger (Status Table) is shown and can be modified if desired. A program can also b

Page 69 - 1.3.2 Nitrogen Purging

Section 4. CRBasic – Native Language Programming Settle Time, in microseconds, to delay between setting up a measurement and taking the measurement

Page 70

Section 4. CRBasic – Native Language Programming If the multiplier and/or offset are specified by a constant, a single element variable (not an array

Page 71

Section 4. CRBasic – Native Language Programming 4.2.11 Expressions An expression is a series of words, operators, or numbers that produce a value o

Page 72

Section 4. CRBasic – Native Language Programming 4.2.11.1 Floating Point Arithmetic Variables and calculations are performed internally in single pr

Page 73 - 2.1.3 PCMCIA PC Card

Section 4. CRBasic – Native Language Programming 4.2.11.3 Expressions with Numeric Data Types FLOATs, LONGs and Booleans are cross-converted to othe

Page 74 - 2.2 Internal Data Format

Section 4. CRBasic – Native Language Programming EXAMPLE 4.2.11-3 . CRBASIC Code: Evaluation of Integers Public X, I AS Long BeginProg I = 126 X

Page 75 - 2.2.1 NAN and ±INF

Section 4. CRBasic – Native Language Programming The following commands and logical operators are used to construct logical expressions. IF AND OR

Page 76

Section 4. CRBasic – Native Language Programming 4.3 Program Access to Data Tables Data stored in a table can be accessed from within the program.

Page 77 - 2.3 Data Collection

Section 4. CRBasic – Native Language Programming In addition to accessing the data actually stored in a table, there are some pseudo fields related t

Page 78 - 2.3.1.2 File Mode

Section 4. CRBasic – Native Language Programming where: M = Month D = D Y = Year C = Century hh = Hour mm = Minute ss.sssss = Seconds (10 microseco

Page 79 - 2.3.1.3 File Format

Quick Start QS1.6 Setting Up IP Communications Once serial communications has been established, the CR9000X's IP can be set. First you have to

Page 80

Section 4. CRBasic – Native Language Programming 4-42

Page 81 - 2.3.5 Converting File Format

Section 5. Program Declarations Constants (and pre-defined constants), Variables, Constants, Aliases, Units, Data Tables, Functions, and Subroutines

Page 82 - 2.4 Data Format on Computer

Section 5. Program Declarations AS The declaration of variables (via the DIM or the PUBLIC statement) allow an optional type descriptor AS that spec

Page 83

Section 5. Program Declarations CONST Declares symbolic constants for use in place of values. Syntax Const constantname = expression [, constantname

Page 84 - LINE 6 Time Stamp

Section 5. Program Declarations The constant table is accessed by using the CR1000KD keyboard display (Configure, Settings menu). A Constant Table me

Page 85

Section 5. Program Declarations Variables declared using the Dim statement cannot be viewed using the datalogger's keyboard display or in a soft

Page 86

Section 5. Program Declarations (e.g., On/Off, Ports). A Boolean variable uses the same 32-bit long integer format as a Long but can set to only one

Page 87

Section 5. Program Declarations FUNCTION, EXITFUNCTION, END FUNCTION Declares the name, variables, and code that form a user defined Function. Syntax

Page 88

Section 5. Program Declarations THE FUNCTION DECLARATION STATEMENT HAS THESE PARTS: Part Description Function Marks the beginning of a Function. F

Page 89 - Details

Section 5. Program Declarations encountering the EndFunction command, the Function will return NAN. Function Example 'In this example, Functio

Page 90 - 3.1.1.2 Delay

Quick Start QS1.6.1 IP Port Setup Tips If you are hooking up one or more CR9000Xs on to a Local Area Network, we recommend that you obtain from your

Page 91 - 3.1.1.3 Integration

Section 5. Program Declarations Variables declared by Public within a subroutine or function are local to that subroutine or function. The same varia

Page 92

Section 5. Program Declarations As a special case, a string can be declared as String * 1. This allows the efficient storage of a single character. T

Page 93 - ±5 V Input Limits of the

Section 5. Program Declarations SUB, EXIT SUB, END SUB Declares the name, variables, and code that form a Subroutine. Syntax Sub SubName [(VariableL

Page 94

Section 5. Program Declarations SubName The SubName argument provides the name for the procedure. The field length is limited to 16 characters. Subr

Page 95

Section 5. Program Declarations Subroutine Example 'CR9000X ''Declare Variables used in Program: Public RefT, TC(4),I DataTable (Temps

Page 96 - 3.1.3 Signal Settling Time

Section 6. Data Table Declarations and Output Processing Instructions 6.1 Data Table Declaration DataTable(Name, TrigVar, Size) output trigger modi

Page 97

Section 6. Data Table Declarations and Output Processing Instructions 6.2 Trigger Modifiers DataInterval (TintoInt, Interval, Units, Lapses) The Dat

Page 98 - Settling Time

Section 6. Data Table Declarations and Output Processing Instructions required would be 6400 bytes (Lapse x 16 Bytes/Sub-header = 6400 bytes). If th

Page 99 - 3.1.4.1 Error Analysis

Section 6. Data Table Declarations and Output Processing Instructions OpenInterval When the DataInterval instruction is included in a data table, the

Page 100 - Time(hrs)

Section 6. Data Table Declarations and Output Processing Instructions Const RevDiff 1 'Reverse input to cancel offsets Const Del 0 'Use d

Page 101 - if a differential

Quick Start QS1.6.1.1 Subnet Mask and IP Settings The SubNet Mask is a decimal equivalent of a 4-byte binary address. For any bit set high in the com

Page 102

Section 6. Data Table Declarations and Output Processing Instructions The following examples show how triggered output, that is capturing pre-trigger

Page 103

Section 6. Data Table Declarations and Output Processing Instructions Chart 6.2-3 Triggered Data Example 3 Triggered Data Example 3: Chart 6.2-3 depi

Page 104

Section 6. Data Table Declarations and Output Processing Instructions DataEvent Example: The start trigger for the event is when TCTemp(1) > 30 de

Page 105 - can be minimized by making

Section 6. Data Table Declarations and Output Processing Instructions WorstCase (TableName, NumCases, MaxMin, Change, RankVar) The WorstCase instruct

Page 106

Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter WORSTCASE PARAMETERS TableName name The name of

Page 107

Section 6. Data Table Declarations and Output Processing Instructions 6.3 Export Data Instructions CardFlush Used to force buffered data in the CR9

Page 108

Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter CARDOUT PARAMETERS StopRing Constant A code to

Page 109 - entirely true

Section 6. Data Table Declarations and Output Processing Instructions 6.4 Output Processing Instructions Average (Reps, Source, DataType, DisableVar

Page 110

Section 6. Data Table Declarations and Output Processing Instructions FFT (Source, DataType, N, Tau, Units, Option) The FFT function performs a Fast

Page 111

Section 6. Data Table Declarations and Output Processing Instructions T = N*tau: the length, in seconds, of the time series. Processing field: “FFT

Page 113 - IntegTime

Quick Start QS2. Program Generator Basics QS2.1 Program Generator Summary Window Access RTDAQ's Program Generator for the CR9000X using the gr

Page 114 - Sync Order 5

Section 6. Data Table Declarations and Output Processing Instructions FFT Example Const Size_FFT 16 Const PI 3.141592 Const CycleperT 2 Const Ampli

Page 115 - CHART 3.2.2-2

Section 6. Data Table Declarations and Output Processing Instructions FieldNames “list of fieldnames” The FieldNames instructions may be used to over

Page 116

Section 6. Data Table Declarations and Output Processing Instructions The description is appended to the variable's Processing field (e.g. Avg,

Page 117

Section 6. Data Table Declarations and Output Processing Instructions that the value of BinSelect was within Bin 4's range 30 percent of the tim

Page 118

Section 6. Data Table Declarations and Output Processing Instructions Histogram4D ( BinSelect, DataType, DisableVar, Bins1, Bins2, Bins3, Bins4, Form

Page 119

Section 6. Data Table Declarations and Output Processing Instructions LevelCrossing (Source, DataType, DisableVar, NumLevels, 2ndDim, CrossingArray,

Page 120 - Tau = 0.5 Seconds

Section 6. Data Table Declarations and Output Processing Instructions The output from a LevelCrossing instruction is a one or two dimensional Level C

Page 121 - Tau = 5.0 Seconds

Section 6. Data Table Declarations and Output Processing Instructions The value of each element (bin) of the histogram can be either the actual numbe

Page 122 - VARIOUS WINDOWING FUNCTIONS

Section 6. Data Table Declarations and Output Processing Instructions 00.511.522.533.50123456Sample NumberSignal LevelCrossing LevelsCrossing Source2

Page 123

Section 6. Data Table Declarations and Output Processing Instructions Maximum (Reps, Source, DataType, DisableVar, Time) This instruction stores the

Page 124

Quick Start QS2.2 Program Generator Configuration Window Colors match the colors of the module names to the right. The modules must be inserted

Page 125 - PERIOD (P)

Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter MEDIAN PARAMETERS Reps Constant Number of varia

Page 126

Section 6. Data Table Declarations and Output Processing Instructions Moment The Moment instruction is used to output the mathematical moment of a va

Page 127 - ±20 V

Section 6. Data Table Declarations and Output Processing Instructions Output Generated: The number of elements in the output array that is stored to

Page 128

Section 6. Data Table Declarations and Output Processing Instructions Given this, the count would be output to bin: C(1,1) when 0 ≤ Amp < 200

Page 129 - Programming

Section 6. Data Table Declarations and Output Processing Instructions The next stress cycle to get counted would be the -300 to 100 cycle depicted be

Page 130

Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter RAINFLOW PARAMETERS Source Variable The variab

Page 131

Section 6. Data Table Declarations and Output Processing Instructions Sample (Reps, Source, DataType) This instruction stores the current value(s) at

Page 132 - ‘Define Public Variables

Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter SAMPLEMAXMIN PARAMETERS Reps Constant The numb

Page 133

Section 6. Data Table Declarations and Output Processing Instructions Parameter & Data Type Enter STDDEV PARAMETERS Reps Constant The number of

Page 134 - 4.2 CRBasic Programming

Section 6. Data Table Declarations and Output Processing Instructions WindVector (Repetitions, Speed/East, Direction/North, DataType, DisableVar, Sub

Page 135 - 4.2.3 Programming Structure

Quick Start QS2.3 Program Generator Scan Window Enter 100 for the number of Scans to Buffer. This sets the number of scans that processing can l

Page 136

Section 6. Data Table Declarations and Output Processing Instructions OutputOpt Value Outputs (for each rep) Constant 0 1. Mean horizontal wind

Page 137 - CallTable Temp

Section 6. Data Table Declarations and Output Processing Instructions Calculations: The calculations performed under the hood by the WindVector instr

Page 138

Section 6. Data Table Declarations and Output Processing Instructions and Ux and Uy are as defined above. Resultant mean horizontal wind speed, : U=

Page 139 - 4.2.4 Declarations

Section 6. Data Table Declarations and Output Processing Instructions For deviations less than 40 degrees, the error in this approximation is less th

Page 140 - 4.2.4.4 Data Types

Section 6. Data Table Declarations and Output Processing Instructions 6-40

Page 141

7-1 Section 7. Measurement Instructions 7.1 Voltage Measurements VoltDiff – Differential Voltage Measurement...

Page 142

Section 7. Measurement Instructions 7-2 SDM-INT8 Interval Timer... 7-27 SDM-SI

Page 143

Section 7. Measurement Instructions 7-3 7.1 Voltage Measurements VoltDiff (Dest, Reps, Range, ASlot, DiffChan, RevDiff, SettlingTime, Integ, Mult, O

Page 144

Section 7. Measurement Instructions 7-4 Place an R at the end of the range code (ex: mV50CR) in order to perform an Input Voltage Limit check before

Page 145

Section 7. Measurement Instructions 7-5 Parameter & Data Type Enter VOLTSE PARAMETERS Dest Var. or Array The Variable in which to store the resu

Page 146

Quick Start QS2.4 Program Generator Output Table Window Click on Enable to set-up a Data Table. Click in the Table Name box and enter a name for yo

Page 147 - 4.2.6 Flags

Section 7. Measurement Instructions 7-6 Parameter Enter TCDIFF PARAMETERS Dest Var. or Array The Variable in which to store the results of the instru

Page 148 - 4.2.8 Data Tables

Section 7. Measurement Instructions 7-7 Although all range codes are shown in the table, due to resolution issues, not all range codes are usable.

Page 149

Section 7. Measurement Instructions 7-8 Parameter Enter TCSE PARAMETERS Dest Var. or Array The Variable in which to store the results of the instru

Page 150 - 4.2.8.1 DataTable/EndTable

Section 7. Measurement Instructions 7-9 7.3 Resistive Bridge Measurements 7.3.1 Electrical Bridge Circuits Electrical bridge circuits are used to d

Page 151

Section 7. Measurement Instructions 7-10 voltage to excite the sensors hooked up to an excitation channel. See examples below. Example 1: Bridge typ

Page 152

Section 7. Measurement Instructions 7-11 BrHalf3W (Dest, Reps, Range, ASlot, SEChan, ExSlot, ExChan, MesPEx, ExmV, RevEx, SettlingTime, Integ, Mult,

Page 153 - 4.2.9.2 SubScan

Section 7. Measurement Instructions 7-12 Parameter Enter BRHALF, BRHALF3W, BRHALF4W PARAMETERS Dest Var. or Array The Variable in which to store the

Page 154

Section 7. Measurement Instructions 7-13 7.3.4 Full Bridges BrFull (Dest, Reps, Range, ASlot, DiffChan, ExSlot, ExChan, MesPEx, ExmV, RevEx, RevDiff

Page 155

Section 7. Measurement Instructions 7-14 Parameter Enter BRIDGEFULL & BRIDGEFULL6W PARAMETERS Dest Var. or Array The Variable in which to stor

Page 156 - 4.2.9.3 SlowSequence

Section 7. Measurement Instructions 7-15 7.4 Self Measurements Battery (Dest, BattOpt) This instruction reads the voltage or current of the battery

Page 157

Quick Start QS2.5 Program Generator Special Configuration Next we will go back into the Configuration window to enable the monitoring of the CR9000X

Page 158

Section 7. Measurement Instructions 7-16 Each element in the array corresponds to a line number in the program. To accommodate all of the instructio

Page 159

Section 7. Measurement Instructions 7-17 Parameter Enter AM25T PARAMETERS TRef Variable The variable whose value is used for the reference temperat

Page 160

Section 7. Measurement Instructions 7-18 CS7500 (Dest, Reps, SDMAddres, CS7500Cmd) Communicates with the LI7500 open path CO2 and H2O sensor. See LI

Page 161

Section 7. Measurement Instructions 7-19 CSAT3 (Dest, Reps, Address, Command) Communicates with the CSAT3 three dimensional sonic anemometer. See CS

Page 162 - 4.2.11 Expressions

Section 7. Measurement Instructions 7-20 This instruction cannot be used in a SubScan . The SDMCAN instruction has the following parameters: Paramet

Page 163

Section 7. Measurement Instructions 7-21 Parameter Enter SDMCAN PARAMETERS DataType Value Description Continued 1 Retrieve data; unsigned integer

Page 164

Section 7. Measurement Instructions 7-22 Parameter Enter SDMCAN PARAMETERS DataType Continued 29 Read SDM-CAN status; result is placed into the arr

Page 165

Section 7. Measurement Instructions 7-23 Parameter Enter SDMCAN PARAMETERS DataType Continued 32 Set SDM-CAN's internal switches. The code is

Page 166 - 4.2.11.5 String Expressions

Section 7. Measurement Instructions 7-24 Parameter Enter SDMCAN PARAMETERS NumBits The NumBits parameter is used to specify the number of bits that

Page 167

Section 7. Measurement Instructions 7-25 SDMCAN Example 2 The following example uses the request/receive capability of the SDMCan to request a data f

Page 168

Quick Start QS2.6 Program Generator: Save and Download Now we are ready to download the program into the CR9000X. Click on Save and Send. Select a

Page 169

Section 7. Measurement Instructions 7-26 SDMCD16AC (Source, Reps, SDMAddress) The SDMCD16AC instruction is used to control an SDM-CD16AC, SDM-CD16, o

Page 170

Section 7. Measurement Instructions 7-27 The SDMCVO4 instruction has the following parameters: Parameter & Data Type Enter SDMCVO4 PARAMETERS Sou

Page 171 - Alias VariableA = VariableB

Section 7. Measurement Instructions 7-28 Remarks This Instruction allows the use of the SDM-INT8, 8 Channel Interval Timer, with the CR9000X. The SD

Page 172

Section 7. Measurement Instructions 7-29 Parameter & Data Type Enter SDMINT8 PARAMETERS For example, 4301 in the second function parameter mea

Page 173

Section 7. Measurement Instructions 7-30 SDMIO16 (Dest, Status, Address, Command, ModePorts 16-13, ModePorts 12-9, ModePorts 8-5, ModePorts 4-1, Mult

Page 174

Section 7. Measurement Instructions 7-31 SDMSIO4 (Dest, Reps, Address, Mode, Command, FirstOp, SecOp, ValuesPerRep, Mult, Offset) This Instruction c

Page 175

Section 7. Measurement Instructions 7-32 Parameter & Data Type Enter SDMSW8A PARAMETERS Dest Variable or Array The variable in which to store th

Page 176

Section 7. Measurement Instructions 7-33 SDMTrigger When SDMTrigger is executed, the CR9000X sends a "measure now" group trigger to all con

Page 177 - EndFunction

Section 7. Measurement Instructions 7-34 TDR100 (Dest, SDMAddress, Option, Mux/ProbeSelect, WaveAvg, Vp, Points, CableLength, WindowLength, ProbeLeng

Page 178

Section 7. Measurement Instructions 7-35 Parameter & Data Type Enter TDR100 PARAMETERS WaveAvg The WaveAvg parameter is used to define the numb

Page 179

Quick Start QS3. RealTime Monitoring The Table Monitor window can be accessed from RTDAQ's "Monitor Data" tab. From the Icons availabl

Page 180

Section 7. Measurement Instructions 7-36 7.6 Pulse/Timing/State Measurements PulseCount (Dest, Reps, PSlot, PChan, PConfig, POption, Mult, Offset) T

Page 181 - StationName

Section 7. Measurement Instructions 7-37 Parameter & Data Type Enter PULSECOUNT PARAMETERS Dest Variable or Array The Variable in which to store

Page 182 - SUB, EXIT SUB, END SUB

Section 7. Measurement Instructions 7-38 See Section 3.4 Pulse Count Measurements for more info on PulseCount. If the running averaging is in use,

Page 183

Section 7. Measurement Instructions 7-39 PulseCountReset Example 2 Public PulseHz, Flag(8) 'Declare Variables DataTable (Table1,Flag(3) = False

Page 184 - Subroutine Example

Section 7. Measurement Instructions 7-40 Parameter & Data Type Enter READIO PARAMETERS Dest Variable or Array The Variable in which to store the

Page 185 - 6.1 Data Table Declaration

Section 7. Measurement Instructions 7-41 comparing should either be periodic, or have periods less than the Program Scan rate. If neither of these c

Page 186 - 6.2 Trigger Modifiers

Section 7. Measurement Instructions 7-42 Parameter & Data Type Enter TIMERIO PARAMETERS Function Two parameters, 8 digits each, one digit to pro

Page 187 - DATAINTERVAL PARAMETERS

Section 7. Measurement Instructions 7-43 See the SDM-SIO4 topic in Section 7.5 5 Peripheral Devices. Syntax SerialInput ( Dest, MaxValues, Terminatio

Page 188 - OpenInterval

Section 7. Measurement Instructions 7-44 The filter module collects alias-free, 50-kHz samples from each of its six analog-to-digital converters; app

Page 189

Section 7. Measurement Instructions 7-45 Parameter Enter VOLTFILT PARAMETERS Dest Variable,Array The Variable to store the results of the instructi

Page 190

Quick Start QS4. Data Collection The Collect window can be accessed from RTDAQ's Collect Data tab. There are options for setting-up the collec

Page 191 - DATAEVENT PARAMETERS

Section 7. Measurement Instructions 7-46 The following example program measures 6 channels on the CR9052DC using the VoltFilt instruction. ' CR

Page 192 - FillStop

Section 7. Measurement Instructions 7-47 The following program uses the SubScan to combine 2.5 kHz filtermodule measurements with 10 Hz measurements

Page 193

Section 7. Measurement Instructions 7-48 Filter Module Memory Buffer Each CR9052 Filter Module includes an 8 million sample (32-Mbyte) memory buffer

Page 194 - WORSTCASE PARAMETERS

Section 7. Measurement Instructions 7-49 FFTFilt (Dest, Reps, Range, Fslot, Channel, FiltOption, Excitation, Mult, FSampRate, FFTLen, TSWindow, Spect

Page 195 - CardOut (StopRing, Size)

Section 7. Measurement Instructions 7-50 Parameter & Data Type Enter FFTFILT PARAMETERS FiltOption Constant The sample ratio for the measurement

Page 196 - DSP4 PARAMETERS

Section 7. Measurement Instructions 7-51 Parameter & Data Type Enter FFTFILT PARAMETERS FFTLen Constant The length of (number of points in) the

Page 197

Section 7. Measurement Instructions 7-52 Parameter & Data Type Enter FFTFILT PARAMETERS FRef Constant Reference Frequency for Logarithmic rebinn

Page 198 - FFT PARAMETERS

Section 7. Measurement Instructions 7-53 The CR9052 computes the Hamming window function from: ⎟⎠⎞⎜⎝⎛−−12cos46.054.0Nkπ for ()10−≤≤Nk. The CR9052 co

Page 199

Section 7. Measurement Instructions 7-54 Amplitude The amplitude and phase option returns the amplitude as described above, plus the phase in radia

Page 200

Section 7. Measurement Instructions 7-55 determine the number of values returned by FFTFilt. The units of the RMS amplitude spectrum are mV RMS. de

Page 201

Quick Start QS5. View Data The ViewPro utlitity can also be accessed from RTDAQ's main toolbar: Tools\ViewPro. ViewPro includes a full set of

Page 202

Section 7. Measurement Instructions 7-56 The difference between the center frequencies of adjacent spectral bins is NfSR, and bandwidth of each bin i

Page 203 - HISTOGRAM PARAMETERS

Section 7. Measurement Instructions 7-57 Frequency Range Maximum Frequency The maximum non-attenuated frequency in the FFT is a function of the Sam

Page 204 - UpLim3, LowLim4, UpLim4)

Section 7. Measurement Instructions 7-58 FFT. To be sure the spectrum output by the FFT includes the lowest frequency of interest, lowf , set N (F

Page 205 - LEVELCROSSING PARAMETERS

Section 7. Measurement Instructions 7-59 Linear Spectral Rebinning Linear spectral rebinning combines the spectral components from a fixed number o

Page 206

Section 7. Measurement Instructions 7-60 IHigh to: ⎟⎟⎠⎞⎜⎜⎝⎛⎟⎟⎠⎞⎜⎜⎝⎛−+×211roundbinSRhighbinSffNS. The total number of spectral components returned by

Page 207 - · . . . . . . . ·

Section 7. Measurement Instructions 7-61 The minimum i is: ()⎟⎟⎟⎟⎟⎟⎠⎞⎜⎜⎜⎜⎜⎜⎝⎛−⎟⎟⎠⎞⎜⎜⎝⎛212loglogceiling1010refSRbinfNfS where ()xceiling is the smal

Page 208

Section 7. Measurement Instructions 7-62 FFTSample (Source, DataType) FFTSample is an output instruction used to sample a variable array written by a

Page 209 - MAXIMUM PARAMETERS

Section 8. Processing and Math Instructions Operators ^ Raise to Power >> Bit shift operator / Divide << Bit shift operator - Subtra

Page 210 - MINIMUM PARAMETERS

Section 8. Processing and Math Instructions Remarks >> shifts the bit pattern to the right. << shifts the bit pattern to the left. The A

Page 211 - UpperLimit, MinAmp, Form)

Section 8. Processing and Math Instructions ABS(Source) Returns the absolute value of a number. Syntax ABS(source) Remarks The argument source can be

Page 212 - # of Mean Ranges

Quick Start QS6. Comparison of CR9032 and CR9031 Processor Memory QS-21

Page 213 - CYCLIC STRESS

Section 8. Processing and Math Instructions ACOS Function Example The example uses ACOS to calculate π. By definition, a full circle is 2π radians.

Page 214

Section 8. Processing and Math Instructions Both have the same effect, X will be set to –1 if Temp(1) is greater than 50 and Temp(3) is less than 20.

Page 215 - SampleFieldCal

Section 8. Processing and Math Instructions ATN is the inverse trigonometric function of TAN, which takes an angle as its argument and returns the r

Page 216 - SAMPLE PARAMETERS

Section 8. Processing and Math Instructions This instruction uses high precision math. A normal single precision float has 24 bits of mantissa. With

Page 217 - SAMPLEMAXMIN PARAMETERS

Section 8. Processing and Math Instructions Example 1: Scan period = 1 mSec, N value = 4 (Number of points to average), Running Average Du

Page 218 - TOTALIZE PARAMETERS

Section 8. Processing and Math Instructions C:\Program Files\Campbell Scientif ic\PC9V5B2\DataFile\ACCEL07.DATAccel 2 Acce l 2 RA11/22/200515:45:41.0

Page 219 - WINDVECTOR PARAMETERS

Section 8. Processing and Math Instructions AvgSpa (Dest, Swath, Source) The AvgSpa function computes the spatial average of a swath of elements on a

Page 220 - Measured raw data:

Section 8. Processing and Math Instructions Remarks Source can be any valid numeric expression measured in radians. The COS function takes an angle a

Page 221 - Calculations:

Section 8. Processing and Math Instructions CovSpa calculates the covariance(s) between the data in the CoreArray and one or more data sets in the Da

Page 222

Section 8. Processing and Math Instructions BeginProg Scan(250,mSec,0,1) 'Main Scan, 1 scan VoltSE(Sig1(),256,0,5,-1,0,20,1,0.0) 'Mea

Page 223 - ΘuUS US=− =−21 811

Warranty The CR9000X Measurement and Control System is warranted for thirty-six (36) months subject to this limited warranty: “PRODUCTS MANUFACTURED B

Page 224

Quick Start Communication Ports Peripheral Compatibility QS-22

Page 225 - 7.5 Peripheral Devices

Section 8. Processing and Math Instructions Error in the Estimation of Dew Point Tetens’ equation is an approximation of the true variation of satura

Page 226 - 7.7 Serial Sensors

Section 8. Processing and Math Instructions FIGURE 8-2. Effect of RH errors on calculated dew point (±5 RH unit error at three air temperatures) EQ

Page 227

Section 8. Processing and Math Instructions FFTSpa (Dest, N, Source, Tau, Units, Option) The FFTSpa performs a Fast Fourier Transform on a time serie

Page 228 - CR9058E*:

Section 8. Processing and Math Instructions Normalization details: Complex FFT result i, i = 1 .. N/2: ai*cos(wi*t) + bi*sin(wi*t). wi = 2π(i-1)/T.

Page 229 - VOLTSE PARAMETERS

Section 8. Processing and Math Instructions The sum of all of the ac components of the power spectrum gives the variance of the original time series.

Page 230 - TCDIFF PARAMETERS

Section 8. Processing and Math Instructions Remarks The Floor function rounds a Number down to an integer value. To round a value up to an integer,

Page 231 - Thermocouple

Section 8. Processing and Math Instructions Public HexString As String, DecString, Expression DataTable (HexTable,True,-1) Sample (1,Expression,FP2)

Page 232 - TCSE PARAMETERS

Section 8. Processing and Math Instructions Parameter & Data Type Enter IFTIME PARAMETERS TintoInt constant The time into interval sets an offse

Page 233 - 7.3.2 Bridge Excitation

Section 8. Processing and Math Instructions Parameter & Data Type Enter IIF PARAMETERS Expression The Variable or expression to test. Expression

Page 234 - 7.3.3 Half Bridges

Section 8. Processing and Math Instructions If bit in expression1 is And bit in expression2 is The result is 0 0 1 0 1 1 1 0 0 1 1 1 INT(Source

Page 235

Quick Start PC-Card LED Indicator Status Instruction Set The CR9031 and CR9032 have similar instruction sets, and many existing CR9000 programs will

Page 236

Section 8. Processing and Math Instructions Log Function Example 'Calculates the value of e, then uses 'the Log function to calculate &apos

Page 237 - 7.3.4 Full Bridges

Section 8. Processing and Math Instructions MinSpa(Dest, Swath, Source) The MinSpa function finds the minimum value from a specified swath of element

Page 238

Section 8. Processing and Math Instructions NOT The NOT function is used to perform a bit-wise negation on a number. Syntax result = NOT (number) The

Page 239

Section 8. Processing and Math Instructions If number1 is: Number2 is: The result is: -1 Any Number -1 -1 NAN (not a number) NAN 0 Any Number Num

Page 240

Section 8. Processing and Math Instructions Peak Valley Example Public PeakV(2), Change(3),Deg Public Dim XY(2) Const Pi=4*ATN(1) ‘Define Pi for con

Page 241 - AM25T PARAMETERS

Section 8. Processing and Math Instructions Parameter & Data Type Enter PRT PARAMETERS Dest Var. or Array The variable in which to store the temp

Page 242 - CS7500 PARAMETERS

Section 8. Processing and Math Instructions To achieve the highest accuracy it is usually best to calibrate individual sensors over the range of use

Page 243 - SDMA04 PARAMETERS

Section 8. Processing and Math Instructions RectPolar (Dest, Source) Converts from rectangular to polar coordinates. The vector length will be return

Page 244 - SDMCAN PARAMETERS

Section 8. Processing and Math Instructions Parameter & Data Type Enter RMSSPA PARAMETERS Dest Variable The variable in which to store the RMS va

Page 245

Section 8. Processing and Math Instructions The same random-number sequence is generated each time the instruction is encountered because each succes

Page 246

Quick Start Modified or Removed Instructions Existing CR9000 programs that include one or more of the following instructions will need to be revised i

Page 247

Section 8. Processing and Math Instructions SIN(Source) SIN returns the sine of an angle. Syntax SIN(source) Remarks The argument angle can be any v

Page 248

Section 8. Processing and Math Instructions Remarks The results from SortSpa can be stored in the same variable or a different variable. If the resul

Page 249

Section 8. Processing and Math Instructions Parameter & Data Type Enter STDDEVSPA PARAMETERS Dest Variable or Array The variable in which to stor

Page 250 - SDMCD16AC PARAMETERS

Section 8. Processing and Math Instructions Parameter Enter STRAINCALC PARAMETERS Dest Variable to store strain in. Reps Number of strains to calcula

Page 251 - SDMINT8 INTERVAL TIMER

Section 8. Processing and Math Instructions BrConfig: The BrConfig parameter can be entered as a negative number in order to change the polarity of t

Page 252 - SDMINT8 PARAMETERS

Section 8. Processing and Math Instructions If the excitation voltage polarity is reversed, or the output polarity is reversed, or if the output data

Page 253

Section 8. Processing and Math Instructions StrainCalc Example This example uses StrainCalc to find the microstrain value of a bridge output and has

Page 254 - SDMIO16 PARAMETERS

Section 8. Processing and Math Instructions Tan(Source) TAN returns the tangent of an angle. Syntax TAN(source) Remarks The argument source can be an

Page 255 - Offset)

Section 8. Processing and Math Instructions VaporPressure (Dest, Temp, RH) The VaporPressure instruction calculates the ambient vapor pressure (Vp) f

Page 256 - SDMSPEED PARAMETER

Section 8. Processing and Math Instructions XOR The XOR function is used to perform a binary logical exclusion on two numbers. Syntax result = numbe

Page 257 - SDMX50 (SDMAddress, Channel)

Overview The CR9000X is a modular, multi-processor system that provides precision measurement capabilities in a rugged,stand-alone, battery-operated p

Page 258 - Mult, Offset)

Section 8. Processing and Math Instructions 8-44

Page 259

Section 9. Datalogger Control 9.1 Program Structure/Control BeginProg, EndProg, Exit BeginProg and EndProg are used to mark the beginning and end o

Page 260 - ± 20 V

Section 9. Program Control Instructions value of the variable that was passed in. If a constant is passed to one of the subroutine declared “variabl

Page 261 - PulseCountReset

Section 9. Program Control Instructions Delay (Option, Delay, Units) Used to delay the program. Syntax Delay(Option, Delay, Units) Remarks The Delay

Page 262 - PulseCountReset Example 1

Section 9. Program Control Instructions Syntax 2 Do [statementblock] [Exit Do] [statementblock] Loop [{While or Until} condition] Remarks While o

Page 263 - ReadIO (Dest, PSlot, Mask)

Section 9. Program Control Instructions The next example show the use of Wend. While X > Y 'Old fashioned way of looping. ... Wend

Page 264 - Function 8–1, AllDoneFlag)

Section 9. Program Control Instructions FileMark(TableName) Parameter & Data Type Enter FILEMARK PARAMETERS TableName name The name of the data t

Page 265 - TIMERIO PARAMETERS

Section 9. Program Control Instructions If the same data file was converted with the FileMarks processed, three data files would be created as follow

Page 266

Section 9. Program Control Instructions For ... Next Statement Repeats a group of instructions a specified number of times. Syntax For counter = star

Page 267 - SerialInput Example

Section 9. Program Control Instructions Changing the value of counter while inside a loop can make the program more difficult to read and debug. TIP

Page 268

Overview OV1. Physical Description OV1.1 Basic System The basic CR9000X system includes a CR9011 Power supply module, a CR9032 CPU module, and a CR9

Page 269 - VOLTFILT PARAMETERS

Section 9. Program Control Instructions If ... Then ... Else Statement Allows conditional execution, based on the evaluation of an expression. Ther

Page 270 - SUBSCAN PARAMETERS

Section 9. Program Control Instructions Syntax 2 Description Syntax 2 has these parts: Part Description If Keyword that begins the block If...Then d

Page 271

Section 9. Program Control Instructions For Example If a > 1 AND a <= 100 Then ... ElseIf a = 200 Then ... End If Select Case may be more us

Page 272 - Filter Module Memory Buffer

Section 9. Program Control Instructions The Device on which the file is stored must be specified and the entire string must be enclosed in quotation

Page 273 - FFTFILT PARAMETERS

Section 9. Program Control Instructions program whose run time attribute is being changed would compile and start. If the selected program has compil

Page 274 - Array, Expression

Section 9. Program Control Instructions Scan The Scan instruction is used to establish the program scan rate, scan count, and size of the scan buffer

Page 275

Section 9. Program Control Instructions Parameter & Data Type Enter SCAN PARAMETERS CON'T Option Determines how data will be buffered durin

Page 276

Section 9. Program Control Instructions Select Case Statement Executes one of several statement blocks depending on the value of an expression. Synta

Page 277

Section 9. Program Control Instructions The argument expression list has these parts: Part Description expression Any numeric expression. To Keywor

Page 278

Section 9. Program Control Instructions SetStatus ("FieldName", Value) The SetStatus instruction is used to change the value for a setting

Page 279

Overview is no power available, the logger has been shut down through software control or that the internal fuse is blown. Charge There are two conne

Page 280

Section 9. Program Control Instructions SlotConfigure (Slot4CardID, Slot5CardID, Slot6CardID, Slot7CardID, Slot8CardID, Slot9CardID, Slot10CardID, S

Page 281 - =×= 11

Section 9. Program Control Instructions (settling time + A/D conversion) from the scan in the slow sequence. In the case where the primary scan inte

Page 282

Section 9. Program Control Instructions interval should be increased. If removing the SlowSequence scan alleviates the skipped scan problem, add the

Page 283

Section 9. Program Control Instructions FILTER MODULE SUBSCAN: This SubScan type was designed for the Filter module and runs at a faster rate than t

Page 284

Section 9. Program Control Instructions Only one Super Subscan can exist in each main Scan structure. NOTE MEASUREMENT LOOP SUBSCAN: This SubScan i

Page 285

Section 9. Program Control Instructions The following example program, SubScans.C9X, has one of each of these SubScans. WaitDigTrig Used to trigger a

Page 286 - FFTSAMPLE PARAMETERS

Section 9. Program Control Instructions be evaluated as false, and than true again, before the Scan will be triggered once more. It should be noted

Page 287 - Instructions

Section 9. Program Control Instructions 9.2 Datalogger Status/Control BiasComp Measures bias current and adjusts the bias current DACS accordingly.

Page 288 - >> 4

Section 9. Program Control Instructions CalFile(Source/Dest, NumVals, "Device:filename", Option) The CalFile instruction provides a way to

Page 289 - ACOS (Source)

Section 9. Program Control Instructions ClockSet (Source). Sets the CR9000X clock from the values in an array. The most likely use for this is where

Page 290 - AND Operator

Overview CR9032 CPU Module CR9032 CPURS-232 CS I/O ETHERNET CARD PC-CARDMADE IN USASTATUSTop of Card Faces DownCONTROLSDM+12 G C1 C2 C3 FIGURE OV1-2.

Page 291 - ATN(Source)

Section 9. Program Control Instructions Data Statement Examples This example uses Data to hold the data values and Read to transfer the values to var

Page 292 - ATN2(Source)

Section 9. Program Control Instructions FieldCal (Function, MeasVar, Reps, MultVar, OffsetVar, Mode, KnownVar, Index, Avg) Used for setting up a zero

Page 293

Section 9. Program Control Instructions ZERO CALIBRATION STEPS (Function = 0) 1. If the Reps and Index parameters are constants, go to Step 2. If

Page 294

Section 9. Program Control Instructions Parameter Data Type Enter FIELDCAL PARAMETERS Used to specify the type of calibration that will be performed.

Page 295 - AVGRUN PARAMETERS

Section 9. Program Control Instructions Removing the Mystery from a 2 point Calibration: Y=MX+B Many data acquisition systems available today make a

Page 296 - COS(Source)

Section 9. Program Control Instructions FieldCal Example '\\\\\\\\\\\\\\\\\\\\ DECLARE VARIABLES ////////////////////////////// Public ZeroM

Page 297 - CosH (Source)

Section 9. Program Control Instructions FieldCalStrain (Function, MeasVar, Reps, GF_Adj, Zero_mVperVolt, Mode, KnownRs, Index, NumAvg, GF_Raw, uStrai

Page 298

Section 9. Program Control Instructions ZERO CALIBRATION STEPS (Function = 10) 1. If the Reps and Index parameters are constants, go to Step 2. I

Page 299 - DEWPOINT PARAMETERS

Section 9. Program Control Instructions FIGURE 9-1A. Active gage shunt FIGURE 9-1B. Resistor shunt When using Campbell Scientific's Te

Page 300

Section 9. Program Control Instructions Combing the two equations above results in the equations used for calculating the simulated strain that is in

Page 301 - EXP(number)

Overview * Different pin function compared to a standard DCE device. These pins will accommodate a connection to modem or other DCE devices via a n

Page 302 - FFTSPA PARAMETERS

Section 9. Program Control Instructions Zero_mV/V Variable (array) Zero calibration: The Variable or Variable array which will be populated with the

Page 303

Section 9. Program Control Instructions '\\\\\\\\\\\\\\\\\\\\ DECLARE VARIABLES ///////////////////////////// SlotConfigure(9050,9060) Const

Page 304 - Floor (Source)

Section 9. Program Control Instructions Get Record(Dest, TableName, RecsBack) Retrieves one record from a data table. Syntax GetRecord ( Dest, TableN

Page 305 - HexToDec (Expression)

Section 9. Program Control Instructions Public PTemp, TCTemp, ITimes(20) AS LONG InstructionTimes (ITimes()) DataTable (TempTbl,1,-1) DataInterval

Page 306

Section 9. Program Control Instructions Move(Dest, DestReps, Source, SourceReps) Moves the values from a range of elements of a variable array to a d

Page 307 - IFTIME PARAMETERS

Section 9. Program Control Instructions NewFieldNames (OldNames, NewNames) When using the NewFieldNames instruction, a variable array is given a gene

Page 308 - IIF PARAMETERS

Section 9. Program Control Instructions Power Off Used to turn the CR9000X off until a designated time. Syntax PowerOff(StartTime, Interval, Units) R

Page 309 - LOG(Source) or LN(Source)

Section 9. Program Control Instructions The following example is a good one to use to become familiar with the PowerOff instruction. The CR9000X &qu

Page 310 - MAXSPA PARAMETERS

Section 9. Program Control Instructions Copying files to CPU flash. When setting a file's run attribute, if the device parameter in the command

Page 311 - MINSPA PARAMETERS

Section 9. Program Control Instructions Parameter Enter POWERUP.INI FILE PARAMETERS Command Code 1 2 5 6 9 Action to be taken Run Now and on Ru

Page 312 - OR Operator

Overview (Press card button prior to flipping the power switch). If the logger is powered off using software control (PowerOff instruction), the data

Page 313 - PEAKVALLEY PARAMETERS

Section 9. Program Control Instructions RealTime Example This example uses RealTime to place all time segments in the Destination array. If the rema

Page 314

Section 9. Program Control Instructions based on a record number. (Refer to the example program.) The variable in which the number of seconds is stor

Page 315 - PRT PARAMETERS

Section 9. Program Control Instructions WriteIO (PSlot, Mask, Source) Used to set the status of the digital control ports on the CR9060, CR9070, or C

Page 316 - Randomize(Source)

Section 9. Program Control Instructions 9.3 File Control FileClose Closes a FileHandle created by FileOpen. Syntax Result = FileClose(FileHandle) Re

Page 317 - RMSSpa(Dest, Swath, Source)

Section 9. Program Control Instructions Remarks The FileList function returns a list of file names from the specified device into the Destination arr

Page 318 - RND Function

Section 9. Program Control Instructions FileOpen Used to open an ASCII text file or a binary file for writing or reading Syntax FileHandle = FileOpen

Page 319 - SGN Function

Section 9. Program Control Instructions FileRead Reads a file referenced by a FileHandle and stores the results in a variable or variable array. Synt

Page 320 - SortSpa(Dest, Swath, Source)

Section 9. Program Control Instructions FileRename Changes the name of a file stored on the datalogger or a card. Syntax Result = FileRename("De

Page 321 - SQR(Source)

Section 9. Program Control Instructions FileWrite Writes ASCII or binary data to a file referenced in the program by a FileHandle. Syntax BytesWritte

Page 322 - SatVP (Dest, Temp)

Section 9. Program Control Instructions Parameter Enter TABLEFILE PARAMETERS Device:FileName Constant String in quotes The FileName parameter is use

Page 323 - STRAINCALC PARAMETERS

Overview OV1.2 Measurement Modules CR9050(E) Analog Input Module 9050 ANALOG INPUT W RTDSEDIF11H2L23H4L35H6L47H8L59H10L611H12L713H14L815H16L917H18L1

Page 324 - 1/2 BRIDGE STRAIN

Section 9. Program Control Instructions 9-60

Page 325 - Full Bridge Strain

Section 10. Custom Keyboard Display Menus CRBasic has the capability of creating a custom keyboard display menu for a the CR1000KD Keyboard Display.

Page 326

Section 10. Custom Keyboard Display Menus The MenuItem instruction creates an item that displays the value of a variable and allows the value to be e

Page 327 - TANH (Source)

Section 10. Custom Keyboard Display Menus DisplayMenu/EndMenu Syntax: DisplayMenu ("MenuName", AddtoSystem) menu definition (DisplayValue

Page 328 - VAPORPRESSURE PARAMETERS

Section 10. Custom Keyboard Display Menus MenuItem ("MenuItemName",Source) The MenuItem instruction is used to display the value of a varia

Page 329 - Derived Math Functions

Section 10. Custom Keyboard Display Menus SubMenu/EndSubMenu Syntax: SubMenu ("MenuName") menu definition (DisplayValue, MenuItem, and S

Page 330

Section 10. Custom Keyboard Display Menus 10-6

Page 331

Section 11. String Functions 11.1 Expressions with Strings 11.1.1 Constant Strings Fixed (constant) strings can be used in expressions using quotat

Page 332 - Default Program

Section 11. String Functions Example: Tag an ID onto the end of a list of names: Dim ID AS long Public Names(10) AS STRING * 8 For ID = 1 to 10

Page 333

Section 11. String Functions CHR(c) The CHR string function returns an ANSI character. 'c' ranges in values from 0..255. The character re

Page 334 - Exit Do]

Assistance Products may not be returned without prior authorization. The following contact information is for US and international customers residing

Page 335 - FILEMANAGE PARAMETERS

Overview Full Scale Maximum Range Resolution Throughput ± 5000 mV 158 uV 100 KHz ± 1000 mV 32 uV 100 KHz ± 200 mV 6.3 uV

Page 336 - FILEMARK PARAMETERS

Section 11. String Functions FormatFloat (Float, FormatString) Converts a floating point value into a string. Syntax String = FormatFloat (Float,

Page 337

Section 11. String Functions Parameter & Data Type Enter INSTR PARAMETERS Start Integer Integer that specifies where in the SearchString to start

Page 338 - Exit For]

Section 11. String Functions LowerCase (SourceString) Returns a lower case string of SourceString Syntax Variable = LowerCase( SourceString ) Remark

Page 339

Section 11. String Functions Replace (SearchString, SubString, ReplaceString) The Replace function is used to search a string for a substring, and re

Page 340

Section 11. String Functions SplitStr (ResultString, SearchString, FilterString, NumSplit, SplitOption) The SplitStr instruction is used to return a

Page 341

Section 11. String Functions StrComp (String1, String2) The StrComp function is used to compare two strings by subtracting the characters in one stri

Page 342 - Include

Section 11. String Functions 11-10

Page 343 - RunDLDFile

Appendix A. Keywords and Predefined Constants Several words are reserved for use by CRBASIC. These words are not case sensitive and cannot be used

Page 344

Appendix A. Keywords and Predefined Constants DataEvent output processing DataLong declaration DataInterval output processing DataTable output

Page 345 - SCAN PARAMETERS

Appendix A. Keywords and Predefined Constants Mid function min =3, predefined constant Minimum output processing MinSpa processing MOD operator

Page 346 - SCAN PARAMETERS CON'T

Overview CR9051E Fault Protected 5 V Analog Input Module FIGURE OV1-6. CR9051E with CR9050EC The number of channels are the same as for the CR9050(E

Page 347

Appendix A. Keywords and Predefined Constants A-4 SlotConfigure Pre-compiler SlotModules CSI testing SlowSequence program control SortSpatial fu

Page 348

Appendix B. Filter Module Available Scan Rates The following is a list of available Scan rates and their associated frequencies for the Filter module

Page 349 - SETSTATUS PARAMETERS

Appendix B. Filter Module Available Scan Rates Period(uS) Rate(Hz) Period(uS) Rate(Hz) Period(uS) Rate(Hz) Period(uS) Rate(Hz)138040 7.2443 37440

Page 350 - SlowSequence(TimeSlice)

Appendix B. Filter Module Available Scan Rates Period(uS) Rate(Hz) Period(uS) Rate(Hz) Period(uS) Rate(Hz) Period(uS) Rate(Hz)95000 10.5263 26680 3

Page 351

Appendix B. Filter Module Available Scan Rates Period(uS) Rate(Hz) Period(uS) Rate(Hz) Period(uS) Rate(Hz) Period(uS) Rate(Hz)68640 14.5688 19240 5

Page 352 - SubScan/NextSubScan

Appendix C. PC/CF Card Information PC or CompactFlash (CF) cards provide a relatively inexpensive, off-the-shelf means of retrieving data from many o

Page 353

Appendix C. PC/CF Card Information recommend you always use extended temperature tested, Industrial Grade PC/CF cards with a datalogger. TABLE C-3.

Page 354

Appendix D. Status Table The CR9000X status table contains current system operating status information that can be accessed from the running CR9000X

Page 355 - WaitDigTrig

Appendix D. CR9000X Status Table Field Name Variable Type Description ProgErrors Integer The number of compile or runtime errors associated with

Page 356 - WAITDIGTRIG PARAMETERS

Appendix D. CR9000X Status Table Field Name Variable Type Description BuffDepth Integer Shows the processing buffer depth (# of scans that proces

Page 357 - Calibrate

Overview CR9052DC Anti-Alias Filter Module with DC Excitation CR9052DC MADE IN USACR9052ECFILTER MODULE CONNECTOR DC EXCITATION MADE IN USA FIGURE

Page 358 - CALFILE PARAMETERS

Appendix D. CR9000X Status Table Field Name Variable Type Description CalAmpOffset(#) Integer Array Displays the Offset calibration factor for the

Page 359

Appendix E. Glossary E.1 Terms AC see VAC. A/D analog-to-digital conversion. The process that translates analog voltage levels to digital values. a

Page 360 - EXCITE PARAMETERS

Appendix E. Glossary Boolean data type typically used for flags and to represent conditions or hardware that have only two states (true of false) suc

Page 361 - Index, Avg)

Appendix E. Glossary DevConfig Device Configuration Utility, available with LN, PC400, or from the CSI website. DHCP Dynamic Host Configuration Prot

Page 362 - Mode value

Appendix E. Glossary final storage that portion of memory allocated for storing Output Arrays. Final Storage may be viewed as a ring memory, with th

Page 363 - FIELDCAL PARAMETERS

Appendix E. Glossary input/output instructions used to initiate measurements and store the results in Input Storage or to set or read Control/Logic P

Page 364

Appendix E. Glossary Node part of the description of a datalogger network when using LoggerNetTM. Each node represents a device that the communicatio

Page 365

Appendix E. Glossary period average a measurement technique utilizing a high-frequency digital clock to measure time differences between signal trans

Page 366 - Zeroing

Appendix E. Glossary RMS root mean square or quadratic mean. A measure of the magnitude of wave or other varying quantities around zero. RS-232 Reco

Page 367 - for Function 43

Appendix E. Glossary single-ended denotes a sensor or measurement terminal where in the analog voltage signal is carried on a single lead, which is m

Page 368 - = micro-strain

Overview the bridge. See figure OV1-8 for an example of how to wire up a full Wheatstone bridge using the VEX output and VRTN return channels. VEEEXX

Page 369 - FIELDCALSTRAIN PARAMETERS

Appendix E. Glossary UPS uninterruptible power supply. A UPS can be constructed for most datalogger applications using AC line power, an AC/AC or A

Page 370

Appendix E. Glossary E.2 Concepts E.2.1 Accuracy, Precision, and Resolution Three terms often confused are accuracy, precision, and resolution. Ac

Page 371

Appendix E. Glossary E-12

Page 372 - InstructionTimes(Dest)

CR9000X Index 5 5 V, OV-5 A A/D, E-1 ABS, Absolute Value Instruction, 8-3 AC, E-1 AC Excitation, 3-20 Accuracy, E-1, E-11 ACOS, Arc Cosine Instruction

Page 373 - LoadFieldCal

CR9000X Index Const Instruction, 5-3 Constant Declaration, 5-3 Constant Table, 5-3 Constant, E-2 Constants, 4-19 Conversion, 4-37 ConstTable Instructi

Page 374 - NewFieldCal

CR9000X Index DLD Signature, D-1 DNS, E-3 Do Loop, 9-3 DSP4 Instruction, 6-12 DTE, E-2, E-3, E-6 E Earth Ground, E-3 Else, 9-10 ElseIf, 9-10 Enclosure

Page 375 - PORTSET PARAMETERS

CR9000X Index Handshake, Handshaking, E-4 Hanning Window Function, 3-33, 7-52 Hello Exchange, E-4 Hertz, E-4 Hex Function, 8-19 Hex to Decimal convers

Page 376 - POWEROFF PARAMETERS

CR9000X Index Measurement Parameters Integ, 3-3 Range, 3-2 Range, Diff, 3-6 Range, SE, 3-5 RevDiff, 3-2 RevExcite, 3-2 SettlingTime, 3-2, 3-8 TRef, 3-

Page 377 - Command,File,Device

CR9000X Index Power, Using Vehicle, 1-5 Powering up Logger, QS-3 PowerOff Instruction, 9-46 Powerup.ini file, 9-47 Precision, E-7, E-11 Print Device,

Page 378

CR9000X Index SampleMaxMin Output Instruction, 6-32 SatVP Instruction, 8-36 Scan execution interval, E-8 frequency, E-8 Scan Instruction, 4-25, 9-15 S

Page 379 - RealTime(Dest)

Overview CR9052IEPE Anti-Alias Filter Module CR9052IEPEMADE IN USAOPENCH 1SHORTOPENCH 2SHORTOPENCH 3SHORTOPENCH 4SHORTOPENCH 5SHORTOPENCH 6SHORT FIGU

Page 380 - SecsSince1990

CR9000X Index Index-8 SubScan Instruction w/ CR9052 Module, 7-46 SubScan Instruction, 9-22 Support Software, OV-23, E-9 Switching Relays w/ Control Po

Page 382 - WRITEIO PARAMETERS

Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbel

Page 383 - 9.3 File Control

Overview CR9055(E) 50-Volt Analog Input Module 9055 50V ANALOG INPUTSEDIF11H2L23H4L35H6L47H8L59H10L611H12L713H14L815H16L917H18L1019H20L1121H22L1223

Page 384 - Enter FILEMANAGE PARAMETERS

Overview CR9058E Isolation Module CR9058E 60V ISOLATED ANALOG INPUT MODULE W/RTD MADE IN USACR9058EC60V ISOLATED ANALOG INPUT CONNECTOR FOR CR9058E M

Page 385 - Enter FILEOPEN PARAMETERS

Overview CR9060 Excitation Module 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 3 6 824579060 EXCITATION C.A.O. SWITCHED EXCITATION DIGITAL CONTROL OUTPUTM

Page 386 - FILEREADLINE PARAMETERS

Overview CR9070 Counter - Timer / Digital I/O Module — Obsolete 9070 COUNTER & DIGITAL I O1 2DIGITAL I/O45 78 9 10 12 13 15 16 1 2 3 4 5 6 7 8 9

Page 387 - FileTime

Overview Pulse Counting The CR9070 has 12 Pulse input channels with 16 bit counters. These channels count on the rising edge of the input signal and

Page 388 - TableFile

CR9000X Table of Contents PDF viewers: These page numbers refer to the printed version of this document. Use the PDF reader bookmarks tab for links

Page 389 - Enter TABLEFILE PARAMETERS

Overview CR9071E Counter and Digital I/O Module CR9071E COUNTER MADE IN USACR9071ECCOUNTER & DIGITAL I/O MADE IN USA FIGURE OV1-13. CR9071E The C

Page 390

Overview Pulse Counting The CR9071E has 12 Pulse input channels with 32 bit counters. These channels count on the falling edge of the input signal an

Page 391

Overview OV1.3 Communication Interfaces The CR9000X's CPU module (CR9032) has built-in RS-232 and Ethernet ports, thus eliminating the need for

Page 392

Overview OV2.2 Measurements, Processing, Data Storage The CR9000X divides a program into two tasks. The measurement task manipulates the measurement

Page 393 - DisplayMenu/EndMenu

Overview OV3. Commonly Used Peripherals DEPICTION DEVICE DESCRIPTION FUNCTIONSDM-AO4Four Channel Analog OutIndependent CAOs updated by the logger.M

Page 394 - Variable

Overview OV4. Support Software PC / Windows® compatible software products are available from Campbell Scientific to facilitate CR1000 programming, ma

Page 395 - SubMenu/EndSubMenu

Overview LoggerNetTM Suite The LoggerNetTM suite utilizes a client-server architecture that facilitates a wide range of applications and enables tailo

Page 396

Overview TABLE OV4-2. LoggerNetTM Clients (these require, but do not include, the LoggerNetTM Server) Baler Handles data for third-party applicatio

Page 397 - 11.1.2 Add Strings

Overview RTMCRT RTMCRT allows you to view and print multi-tab displays of real-time data. The displays are created in RTMC or RTMC Pro. RTMC Web Serve

Page 398 - Processing Instructions

Overview OV5. Specifications OV-27

Page 399

CR9000X Table of Contents 1.3 Humidity Effects and Control... 1-7 1.3.1 Desiccant...

Page 400 - FORMATFLOAT PARAMETERS

Overview CR9052DC & CR9052IEPE Specifications OV-28

Page 401 - Len (SourceString)

Overview CR9052DC & CR9052IEPE Specifications (continued) OV-29

Page 403 - RTrim (SourceString)

Section 1. Installation 1.1 Enclosure The CR9000X is equipped with either the –L option laboratory case or the –F option fiberglass case. There is

Page 404 - SPLITSTR PARAMETERS

Section 1. Installation Strip 0.5” FIGURE 1.1-1. CR9000X input terminals FIGURE 1.1-2. Bulkhead connectors installed in CR9000X cover 1.1.3 Junc

Page 405 - UpperCase (SourceString)

Section 1. Installation 1.2 System Power Requirements and Options The standard CR9000X is equipped with two sealed lead acid battery packs and charg

Page 406

Section 1. Installation TABLE 1.2-1. CR9000X Battery and Charging Circuitry Specifications CR9000X WITH STANDARD BATTERIES (4): Battery life, no sup

Page 407 - Constants

Section 1. Installation All external charging devices must be disconnected from the CR9000X in order to measure the true voltage level of the interna

Page 408

Section 1. Installation CR9000X batteries. The input is diode protected so the CR9000X batteries will not leak power to the vehicle if the vehicle&a

Page 409 - calibration

Section 1. Installation 1.2.5 Safety Precautions There are inherent hazards associated with the use of sealed lead acid batteries. Under normal ope

Page 410

CR9000X Table of Contents 4.1.3 CRBasic Program Editor... 4-2 4.1.4 Programming CRBASIC&ap

Page 411 - Scan Rates

Section 1. Installation Equipment required for this method of humidity control generally can be obtained from any local welding supply shop and inclu

Page 412

Section 1. Installation Sensors that have a floating output or are not referenced to ground through a separate connection may need to have one side o

Page 413

Section 1. Installation 1-10

Page 414

Section 2. Data Storage and Retrieval The CR9000X can store individual measurements or it may use its extensive processing capabilities to calculate

Page 415

Section 2. Data Storage and Retrieval located in the CPU DRAM and the CardOut instruction's size parameter sets the actual memory allocated for

Page 416

Section 2. Data Storage and Retrieval 2.2.1 NAN and ±INF NAN (not-a-number) and ±INF (infinite) are data words indicating an anomaly has occurred in

Page 417 - Appendix D. Status Table

Section 2. Data Storage and Retrieval 2.2.1.2 Floating Point Math, NAN, and ±INF Table 2.2-1 lists math expressions, their CRBASIC form, and IEEE fl

Page 418

Section 2. Data Storage and Retrieval 2.3 Data Collection Data can be transferred into a computer using either RTDAQ or LoggerNet via a communicatio

Page 419

Section 2. Data Storage and Retrieval 2.3.1.1 Collect Mode The Collect Mode allows the user to select what data records to collect. The most common

Page 420

Section 2. Data Storage and Retrieval contained in the specified filename. If no file with the specified filename exists, a new file will be created

Page 421 - Appendix E. Glossary

CR9000X Table of Contents iv 11. String Functions ... 11-1 11.1 Expressions with Strings...

Page 422

Section 2. Data Storage and Retrieval FIGURE 2.3-2. Logger Files dialog box To retrieve a Data File from the PC Card, first highlight "CRD&quo

Page 423

Section 2. Data Storage and Retrieval other disk. In most cases, however, it will be necessary to convert the file format before using the data. It

Page 424

Section 2. Data Storage and Retrieval 2.4 Data Format on Computer The format of the converted file stored on computer can be either ASCII or Binary

Page 425

Section 2. Data Storage and Retrieval "CPU Serial Number" The serial number of the logger that the data was collected from. This is the se

Page 426

Section 2. Data Storage and Retrieval LINE 5 Field Data Type This header line is only in TOB1 and TOB3 binary formats and identifies the data type f

Page 427

Section 2. Data Storage and Retrieval 2.4.2 TOA5 ASCII File Format TOA5 data files are stored in a comma separated format. Header information for e

Page 428

Section 2. Data Storage and Retrieval 2.4.3 TOB1 Binary File Format The TOB1 binary file format is typically only used when it is essential to minim

Page 429

Section 2. Data Storage and Retrieval LINE 1: "File Format","Station Name","Logger Model","CPU Serial No.",&

Page 430

Section 2. Data Storage and Retrieval 2-16

Page 431 - E.2 Concepts

Section 3. CR9000X Measurement Details 3.1 Measurements using the CR9041 A/D The CR9050(E), CR9051E, and the CR9055(E) modules all use the A/D modu

Page 432

Quick Start QS-1

Page 433 - CR9000X Index

Section 3. CR9000X Measurement Details not the case in the CR10, 21X and CR7 dataloggers where there is always a setup time for each instruction.) Th

Page 434

Section 3. CR9000X Measurement Details sets the excitation, delays, measures, reverses the excitation, delays, measures, reverses the excitatio

Page 435

Section 3. CR9000X Measurement Details The CR9000X incorporates a programmable gain input instrumentation amplifier, as illustrated in FIGURE 3.1.2-1

Page 436 - Definition, 4-15

Section 3. CR9000X Measurement Details Input Limits The Input Limit specifies the voltage range, relative to CR9000X ground, which both H and L inp

Page 437

Section 3. CR9000X Measurement Details resolution, select the smallest range that will cover the voltage output by the sensor. For example, the reso

Page 438

Section 3. CR9000X Measurement Details The C option has the added benefit of being able to detect an open input (e.g., broken thermocouple). The H i

Page 439

Section 3. CR9000X Measurement Details Sustained voltages in excess of ±20 V on the CR9050 Module inputs or ±150 V on the CR9055 Module inputs will d

Page 440

Section 3. CR9000X Measurement Details Settling time for a particular sensor and cable can be measured with the CR9000x. Programming a series of mea

Page 441

Section 3. CR9000X Measurement Details Each trace in Figure 3.1-1, Settling Time for Pressure Transducer, contains all 20 PT() values for a given rec

Page 442

Section 3. CR9000X Measurement Details would output at the reference junction temperature if its reference junction were at 0 oC, and adds this volta

Commentaires sur ces manuels

Pas de commentaire