PC208W DATALOGGER SUPPORT SOFTWARE INSTRUCTION MANUAL REVISION: 4/99 COPYRIGHT (c) 1996-1999 CAMPBELL SCIENTIFIC, INC.
LIMITED WARRANTY CAMPBELL SCIENTIFIC, INC. warrants that the magnetic diskette on which the accompanying computer software is recorded and the documentation provided with it are free from physical defects in materials and workmanship under normal use. CAMPBELL SCIENTIFIC, INC. warrants that the computer software itself will perform substantially in accordance with the specifications set forth in the Operator’s Manual published by CAMPBELL SCIENTIFIC, INC. CAMPBELL SCIENTIFIC, INC.
LICENSE FOR USE This software is protected by both the United States copyright law and international copyright treaty provisions. You may copy it onto a computer to be used and you may make archival copies of the software for the sole purpose of backing-up CAMPBELL SCIENTIFIC, INC. software and protecting your investment from loss. All copyright notices and labeling must be left intact.
WHAT'S NEW! If you are upgrading from PC208W 2.3 or earlier, you'll notice a few changes in PC208W 3.0. SETUP Improved Modem Communication - Setting up remote communications is easier with PC208W's new modem configurations. PC208W uses hardware flow control, verbose result codes (looking for “CONNECT” back from the modem rather than a number), and error correction which is consistent with the newer, faster modems. Just pick your modem from a list, and you should be ready to communicate.
“command line”) and in Section 1.5 of this manual. REPORT Start Offsets - A negative value can now be entered as an offset on the Input File tab. This directs Split to begin reading X bytes from the end of the file (positive values begin reading from the beginning of the file). This makes using the time sync functions to process the tail end of a data file much faster when that data file is very large.
PC208W DATALOGGER SUPPORT SOFTWARE TABLE OF CONTENTS PAGE PC208W 3.0 INTRODUCTION I.1 PLEASE READ THIS ................................................................................................................ 1 I.2 OVERVIEW ............................................................................................................................... 1 I.3 OTHER SOFTWARE OF INTEREST ....................................................................................... 2 I.4 INSTALLATION .....
TABLE OF CONTENTS PAGE 2.5 2.5.1 2.5.2 EXPRESSIONS...................................................................................................................... 2-5 Rules for Creating Expressions ....................................................................................... 2-5 Examples ......................................................................................................................... 2-6 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 EDITING EDLOG PROGRAMS ........................
TABLE OF CONTENTS PAGE 5. STG MODULE: SMS - STORAGE MODULE SOFTWARE 5.1 INTRODUCTION.................................................................................................................... 5-1 5.2 5.2.1 5.2.2 GETTING STARTED.............................................................................................................. 5-1 The Setup Screen ............................................................................................................
TABLE OF CONTENTS PAGE APPENDICES A. FREQUENTLY ASKED QUESTIONS A.1 SETUP, CONNECT, AND STATUS.......................................................................................A-1 A.2 EDLOG.EXE...........................................................................................................................A-2 B. MODEMS B.1 PHONE MODEMS..................................................................................................................B-1 B.
PC208W 3.0 INTRODUCTION I.1 PLEASE READ THIS Welcome to PC208W 3.0, Campbell Scientific’s Windows compatible support software for the CR10X, CR10, CR500, 21X, CR7, and CR23X dataloggers. Please take time to read the Introduction and Frequently Asked Questions (Appendix A) sections of this manualwe’ve tried hard to keep them short and direct. We have designed the PC208W windows and help screens to make learning the software as intuitive as possible, and have intentionally kept this manual short.
PC208W 3.0 INTRODUCTION I.3 OTHER SOFTWARE OF INTEREST There are other programs available from Campbell Scientific that you may find useful. These packages are free and are available from our Internet site (www.campbellsci.com) or on disk (call 435-753-2342 and ask for an Applications Engineer): • • SHORT CUT: An alternative to EDLOG for creating simple programs.
PC208W 3.0 INTRODUCTION Insert the first PC208W disk in drive A: or B:. In Windows 95 or NT, select RUN from the Start button. In Windows 3.1, Select FILE and then RUN from the Program Manager Menu. Enter A:SETUP or B:SETUP and select the OK button. Follow the instructions given on the screen. PC208W lets you choose a working directory name and installs most of the software into a subdirectory named BIN. In the example below, PC208W was installed to the C:\PC208W directory. 1.4.
PC208W 3.0 INTRODUCTION (Refer to Section 2.9 for more information on Edlog file types.) For users upgrading from DOS PC208 You will have to recreate the setup information and batch routines. Edlog .CSI and .DLD files and Split .PAR files will work without modification. However, if your previous version of Edlog used .DOC files, they will need to be converted using DOC2CSI (see Section 6).
PC208W 3.0 INTRODUCTION I.7 GETTING HELP We’ve tried hard to make PC208W 3.0 as intuitive as possible and follow common Windows conventions. There are several sources of help for you including: • • • • • This manualwe’ve kept it short, please read it. Hint lines which appear at the bottom of each screen. Context-sensitive Help in each program available when you press . General help from the Help pull down menu. The datalogger manuals.
SECTION 1. SETTING UP THE NETWORK AND COMMUNICATING WITH THE DATALOGGER 1.1 GETTING STARTED With the software installed, you are probably anxious to start using the datalogger. If at all possible, prior to deploying the equipment in the field, make sure you can establish a telecommunication link with your datalogger even if you have to create a temporary setup in your office.
SECTION 1. SETTING UP THE NETWORK AND COMMUNICATING WITH THE DATALOGGER scheduled data collection from their dataloggers, and put PC208W in the Windows Startup group. That way, it loads when they turn on their PC in the morning, and it proceeds to collect data or do other Tasks as scheduled throughout the day. The first item shown on the Device Map above is COM1it is considered a parent component. The CR500 under it is a child.
SECTION 1. SETTING UP THE NETWORK AND COMMUNICATING WITH THE DATALOGGER connected as a child component or on the same level. If the device you are moving to a new location has child components, these will be moved along with their parent device. • If you delete a component with child components attached, the child components also will be deleted.
SECTION 1. SETTING UP THE NETWORK AND COMMUNICATING WITH THE DATALOGGER Phone Modem Connection to Three CR10Xs: Phone to RF (or MD9) Connection to Three CR10Xs: 1-4 Generic Modem Connection to Three CR10Xs: NOTE: Generic modems are used for connections or modems otherwise not supported by PC208W (such as spreadspectrum radio links or SC95 short haul modems). Generic modems require that the users specify the dialing and response strings needed to dial the modem.
SECTION 1. SETTING UP THE NETWORK AND COMMUNICATING WITH THE DATALOGGER Modem Connection to CR10X with Storage Device: NOTE: In reality, you can connect storage modules or PC card drives to most dataloggers. However, PC208W only allows valid connections in the Device Map where data can be retrieved from a storage module through a datalogger over telecommunications. PC208W allows SM192 and SM716 storage modules to be connected to CR10(X), CR500, or CR23X dataloggers.
SECTION 1. SETTING UP THE NETWORK AND COMMUNICATING WITH THE DATALOGGER NOTE: By default, only Final Storage area 1 is set up for CR10s, CR10Xs, and CR23Xs. For data to be stored in Final Storage area 2, memory must be allocated in the datalogger, and the program must write data to this area. File format PC208W supports three formats for the collected data: • • • ASCII, Comma Separated - This is the best choice for most applications.
SECTION 1. SETTING UP THE NETWORK AND COMMUNICATING WITH THE DATALOGGER 1.3.1 HANDY THINGS THAT MAY NOT BE OBVIOUS • Press and hold the key before starting to drag a label, and the label will be inserted when you drop it. If is not held, the label will replace the current label if one exists. • You can drag a label from the ADD Inloc List and drop it on the numeric display instead of using the Paste button.
SECTION 1. SETTING UP THE NETWORK AND COMMUNICATING WITH THE DATALOGGER • If you enter the Remote Keyboard Mode, be sure to press the ‘ *0 ’ keys sequence to get a LOG1 message from the datalogger before you leave the TERMINAL screen so the datalogger is left in a known state. traffic between the PC and datalogger. Buttons are also provided to conveniently collect data, stop data collection, turn on scheduled calls or reset retries. 1.4.1 DEVICE MAP AND STATION MAP 1.3.
SECTION 1. SETTING UP THE NETWORK AND COMMUNICATING WITH THE DATALOGGER Collected Indicates the last area collected, how many Final Storage locations were collected, and how many Final Storage locations should have been collected. (The CR10, CR10X, and CR23X are the only supported dataloggers with a Final Storage area 2.) For example, Area1 7/7 indicates that seven Final Storage locations were collected from Area 1 on the last call.
SECTION 1. SETTING UP THE NETWORK AND COMMUNICATING WITH THE DATALOGGER Parameter Description /A-filename The /A command is used to specify an alternate file name for data collected from the active station's Final Storage Area 1. Filename is the user-specified alternate file name. Syntax: /S-station /A-filename /C /A2-filename The /A2 command is used to specify an alternate file name for data collected from the active station's Final Storage Area 2. Filename is the user-specified alternate file name.
SECTION 1. SETTING UP THE NETWORK AND COMMUNICATING WITH THE DATALOGGER After Call Do item associated with it, the After Call Do is not executed. The /T command is used to execute a task from the command line. However, it can also be used to collect data from a datalogger. When the /T command is executed, PC208W connects to the datalogger, collects data, and then terminates the connection.
SECTION 2. PROGRAM: EDLOG 2.1 INTRODUCTION Choosing PROGRAM from the main PC208W toolbar invokes the program EDLOG. EDLOG is a tool for creating, editing, and documenting programs for the CR7, CR10, CR10T, CR10X, 21X, and CR23X dataloggers. EDLOG annotates the numeric instructions and parameters that are normally entered into the datalogger using the datalogger keyboard/display. Instructions and parameters can be picked from lists or entered manually, and are easily edited, moved, or deleted.
SECTION 2. PROGRAM: EDLOG File Edit Search Compile Display Options Window Help Contents Allows a topic to be selected from a list. How to Use Help About Tile Cascade Displays windows on an equal portion of the screen. Only the title bars of the inactive windows are shown.
SECTION 2. PROGRAM: EDLOG Datalogger type entered as comment Protected Text Enter Instructions and Comments FIGURE 2.2-1. Program Development Template 2.2 GETTING STARTED 2.2.1 CREATING A NEW EDLOG PROGRAM The steps for creating a new datalogger program are: 1. Start EDLOG from PC208W by clicking on the toolbar icon labeled PROGRAM. 2. Select FILE | NEW. 3. When prompted, select the datalogger type. 4. Develop and edit your datalogger program (Sections 2.3 and 2.4). 5.
SECTION 2. PROGRAM: EDLOG be inserted or comments and equations can be freely typed in. Like the execution interval, instructions consist of protected text and fields where parameters are entered. With data entry warnings enabled (default), EDLOG prevents leaving a field with an incorrect value. 2.3 COMMENTS Comments are entered to describe the program for the programmer or future users. Comments are ignored by the compiler; they can be entered anywhere in the EDLOG program.
SECTION 2. PROGRAM: EDLOG 2.4.2 DATA ENTRY WARNING When the Data Entry Warning is active, a warning is displayed immediately after an invalid input has been entered for an instruction's parameter. The warning lists the valid inputs. A valid input must be entered before advancing to the next parameter. By default, the Data Entry Warning is enabled. To disable the Data Entry Warning, select OPTION | EDITOR.
SECTION 2. PROGRAM: EDLOG 2.5.2 Examples 2.6 EDITING EDLOG PROGRAMS Below are examples of valid expressions: Zee es Root avg length TempF = = = = = = Vee+Ex tee^(-2) SQRT(ABS(data)) (data1+data2+data3+data4+data5)/5 SQRT((adj^2)+(opp^2)) (TempC*1.
SECTION 2. PROGRAM: EDLOG 2.6.1 EDITING COMMENTS, INSTRUCTIONS, AND EXPRESSIONS To edit Comments, Expressions, and Instruction parameters, move the cursor to the appropriate text and retype it. To delete an instruction when the cursor is somewhere within the instruction, select EDIT | DELETE INSTRUCTION or press Del. An instruction or block of instructions can also be highlighted and deleted with the delete key. 2.6.
SECTION 2. PROGRAM: EDLOG 2.7.2 REPS Many input/output and output processing instructions have a repetitions parameter. Repetitions (REPS) allow one programming instruction to measure several identical sensors or to process data from several Input Locations. When REPS are greater than 1, the Input Locations are assigned consecutive numbers (e.g., with REPS of 2 and LOC of 5, the Input Locations are 5 and 6). Each rep label is the initial label with a “_” and the next consecutive number.
SECTION 2. PROGRAM: EDLOG Location number Label Number of Instructions in the program that read the location Program Use: R Read W Written to M Manually marked Reps or Manual Block Start First of Rep. End Last of Rep. Number of Instructions in the program that write to the location FIGURE 2.7-1. INPUT LOCATION EDITOR Screen 2.7.4 INPUT LOCATION ANOMALIES In most instances, EDLOG will automatically assign Input Locations for locations which are generated by the datalogger program.
SECTION 2. PROGRAM: EDLOG 2.8 INDENTION Indention is typically used with If Then/Else sequences and loops to provide a visual key to the program execution. Indention is to assist the person looking at the program; it has no meaning to the datalogger. If the programmer chooses to use indention, it can be done automatically or manually. The settings for indention are found under OPTIONS | EDITOR. Turn on Automatic Indention by checking the box next to it.
SECTION 3. REPORT: SPLIT 3.1 OVERVIEW SPLIT is a tool to aid the use and analysis of data collected with Campbell Scientific dataloggers. Its name comes from its function of splitting specific data from a larger data file. The most common application, as shown in Section 3.2, Getting Started, is to separate data collected on a particular interval from a data file containing data output at several different intervals.
SECTION 3. REPORT: SPLIT FIGURE 3.2-3. Input File Template Start SPLIT from the PC208W toolbar by clicking on the Report icon. Figure 3.2-3 shows the blank SPLIT template. Information entered into this template can be saved as a parameter file (*.PAR) and reused for other data. Select File is used to find WS1.fsl. When one of the Output Arrays is highlighted, the Field Names of the data in that array are displayed (Figure 3.2-4).
SECTION 3. REPORT: SPLIT FIGURE 3.2-5. Pasting Values into SPLIT In this example we want the hourly data (note the Output Interval at the bottom of the Data File Label window) so we click on array 10. To paste all the values in this array into the Select box, we put the SPLIT cursor in the Select box by clicking the mouse in that box, select all the field names (click on the first one and holding the mouse button down, drag to the end), then click on Paste (Figure 3.2.5).
SECTION 3. REPORT: SPLIT FIGURE 3.2-6. Pasting Labels Into SPLIT FIGURE 3.2-7. Edited Headings Maximum column heading width is one less than the number entered in the column width field. Any FSL labels which are too long for SPLIT column headings will be shown in red. They should be edited before running SPLIT. To edit one of the labels, press the key or use a mouse to copy, cut, and paste. A Report Heading can also be entered (Figure 3.3-7) using the same editing technique.
SECTION 3. REPORT: SPLIT FIGURE 3.2-8. SPLIT Run Showing Hourly Data 3.3 SPLIT PARAMETER FILE ENTRIES 3.3.1 INPUT FILES The name of the Input File is entered in the space to the right of the Browse button. The default directory is defined by the properties of the shortcut that started PC208W. If the input file is not in the default directory, use the Browse button to find the input file.
SECTION 3. REPORT: SPLIT TABLE 3.3-1. Printable ASCII, Comma Separated and Field Formatted Input File Format Types COMMA SEPARATED 115,189,1200,89.6,55.3,25.36,270 115,189,1300,91.3,61.5,27.25,255.4 115,189,1400,92.7,67.7,15.15,220.1 115,189,1500,94.1,69,20.35,260.6 FIELD FORMATTED 115 115 115 115 189 189 189 189 1200 1300 1400 1500 89.6 91.3 92.7 94.1 55.3 61.5 67.7 69 25.36 27.25 15.15 20.35 270 255.4 220.1 260.
SECTION 3. REPORT: SPLIT CAUTION: When using the Last Count option, if the Start and Stop Conditions (Sections 3.3.2, 3.3.3) are specified, they must exist in the newly appended data or SPLIT will never begin execution. By selecting the Specific option and entering a number, SPLIT will "seek" that position in the file. This option saves time by starting part way through a large data file. The number specifies the number of characters into the file to seek before processing data.
SECTION 3. REPORT: SPLIT The syntax can be expressed as: ei[vali] where ei = the position number of the element within the array vali = the value of that element. Logical “and” and “or” statements can be used when specifying the Start Condition. A logical “and” statement means that all conditions must be true for the statement to be true. Up to three conditions can be connected with “and” statements. If too many “and” statements are used, an error message will be displayed when you run SPLIT.
SECTION 3. REPORT: SPLIT other input files until their starting times are reached. Included in the time synchronize function is the ability to start relative to the current PC TIME (computer time). This feature allows a .PAR file to be run on different data without changing the Start Conditions, provided the Input Data File is collected at a fixed frequency and SPLIT is run at a fixed frequency.
SECTION 3. REPORT: SPLIT The unconditional array data (the stop condition) would be output to a unique array when the engine is turned off. By processing the data with Split using the C option, the data collected during each test could be merged on to one line, with blanks inserted if a set of data didn't exist (e.g., if the engine temperature never exceeded the defined limit).
SECTION 3. REPORT: SPLIT TABLE 3.3-3. Processed Data File Using Option C 100 100 100 12.1 12.5 13.1 10 9.89 10.1 32.6 30.1 33.1 101 92.7 67.7 101 94.1 69 102 102 56.1 56.2 48.7 50 98 100.5 220.1 210.6 TABLE 3.3-4. Processed Data File 100 100 100 12.1 12.5 13.1 10 9.89 10.1 32.6 30.1 33.1 101 92.7 67.7 101 94.1 69 When Split is run, the resulting data file will look similar to Table 3.3-3. Each line of data represents one test.
SECTION 3. REPORT: SPLIT 3.3.4 COPY After the Start Condition is satisfied, and before the Stop Condition is met, the Copy condition must be satisfied before any data will be processed according to Select line instructions (Section 3.3.1.4). If the Copy condition is left blank, all arrays are processed between the Start and Stop values. Syntax for the Copy condition is similar to the Start and Stop values mentioned above. Logical "and" and "or" statements (see Section 3.3.
SECTION 3. REPORT: SPLIT TABLE 3.3-6.
SECTION 3. REPORT: SPLIT element 5, subtracted from element 4. A numeric value is distinguished from an array element by the inclusion of a decimal point. Variables must be declared before they can be used in the Select line. A variable name must start with an alpha character, can include numbers and must not exceed eight characters. Variable names can start with the same character but they must not start with another complete variable name (e.g.
SECTION 3. REPORT: SPLIT SmplMax(x;y;n) SmplMin(x;y;n) Total(x;n) WAvg(x;n) = Sample (y) on a maximum (x) = Sample (y) on a minimum (x) = Totalize = Unit vector mean wind direction (in degrees) NOTE: x can be an element or a valid expression. n is optional and is the number of arrays to include in the function. Date and Edate can be used for the “n” in the Time Series functions (see Table 3.3-8 Special Functions, this Section) Illegal operations (e.g.
SECTION 3. REPORT: SPLIT Ln(x) Sin(x) returns the natural log of element x. Examples: Ln(6) = 2.5217 Ln(7/6∗5/1) = 2.4337 specified range of data. Time Series results are output in three instances: returns the sine of element x in degrees. Examples: Sin(7) = -.99996 Sin(7-2+5) = .50603 2. at the end of a data file (or within a range specified by Start and Stop Conditions) Spatial functions, included under Mathematical functions, operate on a per Output Array basis.
SECTION 3. REPORT: SPLIT starting time even if a complete array is missing from the input data. When elements are missing, the Time Series calculations are based on the actual number of elements found. for a maximum or minimum, while the second is sampled on the maximum or minimum. The following set of weather data from Mt. Logan Peak in Cache Valley, Utah gives a total of seven elements each hour. This Field Delineated output, with title and column headers, was generated by SPLIT.
SECTION 3. REPORT: SPLIT Avg(x;n) returns the average of element x over a full data set th or every n value. Examples: Avg(3) = 59.898 (average daily temp) Avg(3;4) =57.36 (average 4 hour temp) 56.493 (average 4 hour temp) 60.708 (average 4 hour temp) 61.998 (average 4 hour temp) 66.148 (average 4 hour temp) 56.683 (average 4 hour temp) Blanks(x;n) returns the number of blanks or bad data in element x over a full data set or every nth value. Refer to Table 3.3-9 for definition of blank or bad data.
SECTION 3. REPORT: SPLIT Smpl(x;n) returns a sample of element th x every n value. The Sample function must always have an interval specified. Examples: Smpl(4;8) = 23.98 (RH every 8 hours) 24.31 (RH every 8 hours) 37.13 (RH every 8 hours) Total(x;n) WAvg(x;n) SmplMax(x;(y);n) looks for a maximum value in element x and samples element y when the th maximum is found.
SECTION 3. REPORT: SPLIT The Crlf is placed after the maximum temperature 67.33 so that the maximum RH is on the next line. Date(doy;y) converts the day of year into a calendar date in the form MM DD; where doy = element with the day of year and y = containing year. If the year is not contained in the data set, a year can be specified in the “y” year location (i.e., 1987.). A decimal must be included with the year.
SECTION 3. REPORT: SPLIT .PA Sends a page break to the printer or .RPT file. Examples: 2, 3, Smpl (.PA;12) = 100 58.56 200 57.48 . . . . . . 1100 61.34 1200 60.61 Page 2 -------------------1300 61.01 1400 60.93 . . . . . . 2300 55.48 0 55.22 PC208W, Version 3.0, Instruction Manual The following is a parameter file that operates on the Mt. Logan data with several of the SPLIT features being utilized.
SECTION 3. REPORT: SPLIT This .PAR file produces a wind chill summary of the Mt. Logan Peak data set. The formula for calculating wind chill is given as follows: Te = 33-(h/22.066) where Te = Wind Chill equivalent temperature, degrees C h = ((100V).5 + 10.45-V)(33-t) where -2 -1 h = Kcal m hr wind chill index v = wind speed in meters/second t = temperature in degrees C 3-22 Note that at low wind speeds this formula gives wind chill temperatures that are greater than the ambient temperature.
SECTION 3. REPORT: SPLIT Wind Chill Report from Mt. Logan Peak Temp deg C Wind Speed m/s H Wind Chill deg C Wind Chill deg F 14.756 14.156 13.806 13.639 13.65 12.961 13.306 14.511 15.439 16.161 16.3 15.894 16.117 16.072 16.833 17.639 18.972 19.628 19.217 18.067 15.467 13.439 13.044 12.9 2.6172 3.6967 3.4643 3.3972 4.6533 4.0185 4.2554 2.9448 2.4397 2.066 2.6489 3.0463 3.7325 4.8812 3.7682 3.9694 3.5626 3.0208 3.1648 3.9157 5.2791 6.9821 7.6526 5.3014 438.06 489.58 491.34 493.4 529.57 530.58 528.
SECTION 3. REPORT: SPLIT outputs as elements (e.g., Avg(3..5,7) will output 4 averages). • Square brackets are used to enclose an allowable range for a value (e.g., 3[3.6..12] indicates that the allowable range for element 3 is from 3.6 to 12). Whole numbers within brackets do not require a decimal point. Table 3.3-6 explains how values outside the specified range are treated. • The count in a Time Series function is optional and does not require a decimal point.
SECTION 3. REPORT: SPLIT 3.3.6.1 Description of Output Option Commands File Format There are four File Format options to choose from: No File, Field, Comma, and Printable. If No File is chosen, then no output file is saved to disk. The Field, Comma, and Printable options produce files formatted as Field Formatted, Comma Separated, and Printable ASCII, respectively. An example of each of these file types is given in Table 3.3-1 in the Input Files section.
SECTION 3. REPORT: SPLIT temperatures by reading the tape twice and running both files through SPLIT). CAUTION: For the Match files option to produce a correct Output File, the differences between the two Input Files can only be question marks. Both files must have the same Start Condition or the beginning of both files must be the same. Transpose file - Transposes the rows and columns of the input file. Only one Input File can be transposed at a time and no Select options can be specified.
SECTION 3. REPORT: SPLIT from the command line and closes the application when the specified files have been processed. NOTE: There should be no space before the /R switch. If there is a space, an error will be returned. SPLITR allows the user to select different input and/or output files for an existing parameter file by entering them on the command line after the parameter filename. For example: “SPLITR LOGAN/R TEST.DAT TEST.PRN” Replaces the Input and Output filenames in LOGAN.PAR, with TEST.
SECTION 4. VIEW 4.1 INTRODUCTION Pressing the View button on the main tool bar invokes PC208W’s file viewing program. This program can be used to look at any data file collected by PC208W from dataloggers and storage devices, regardless of the format in which it was saved (comma separated, binary, or printable). Once a file is opened, data can be printed, graphed, or displayed in ASCII, tabular, or hexadecimal format.
SECTION 4. VIEW PRINTING OPTIONS icon to immediately print the Select the current data file. (If you prefer to set the margins of a page or perform a print preview before printing, this can be done through the icon to bring up a File menu.) Press the dialog box to change the font used for the printer and the display. ARRAY SELECTION When a data file is first opened, all arrays in that file will be displayed. Use the Array Selection list to pick a single array to be displayed, graphed, or printed.
SECTION 4. VIEW FSL file association, press the file open icon to the right of the FSL File field and select the desired FSL file. 4.4 RUNNING VIEW AS A STANDALONE PROGRAM Depending upon your computer's hardware specifications and operating system, you may experience low memory errors when trying to open large data files with View. It may be necessary to close other applications when running PC208W and View or to run View independently of PC208W.
SECTION 5. STG MODULE: SMS – STORAGE MODULE SOFTWARE SMS is a Windows-based software package that provides a simple and efficient way of collecting and storing both data and programs in Campbell Scientific’s Card Storage Modules (CSM1 and MCR1), Storage Modules (SM192 and SM716) or a PC (PCMCIA) Card. The software communicates with the Storage Modules through an asynchronous adaptor. The software is provided with an extensive on-line help system.
SECTION 5. STG MODULE: SMS - STORAGE MODULE SOFTWARE CSM1, SM192 or SM176 Storage Modules must be connected to the PC with an SC532 interface, plus a 7026 or SC25PS cable. A basic connection diagram is shown in Figure 5-2 below. The Storage Module manuals give full details of connecting the modules to the computer. NOTE: The MCR1 Memory Card Reader does not require an SC532 interface.
SECTION 5. STG MODULE: SMS - STORAGE MODULE SOFTWARE 5.2.2 ESTABLISHING COMMUNICATIONS For storage modules, the first step is to establish communications between your storage device and the computer. This involves selecting the correct communication port and baud rate for the device being used from the SETUP screen. If you have a computer fitted with a correctly configured card reader you can set it up for use with SMS.
SECTION 5. STG MODULE: SMS - STORAGE MODULE SOFTWARE • A high level of communications activity on another port. • Lack of computer memory, causing the computer to do a considerable amount of hard-disk paging. If the SMS communication routines are paged to disk and take too long to load back into memory, the buffer can overflow.
SECTION 5. STG MODULE: SMS - STORAGE MODULE SOFTWARE The above shows that the target address need not represent the actual address of the Storage Module. The physical address of the Module is shown on the “Advanced” status page. Changing the physical module address will not change the selected target address, and, in fact, changing the physical address will not have any noticeable effect until you disconnect from the Storage Module.
SECTION 5. STG MODULE: SMS - STORAGE MODULE SOFTWARE SM192/SM716 The SM192/716 ADVANCED STATUS screen is similar to the CSM1 screen, but has additional configuration facilities. These are listed below. Module Address This shows the physical address of the Storage Module. Changing the physical address will not change the selected target address. See Target Address for further details.
SECTION 5. STG MODULE: SMS - STORAGE MODULE SOFTWARE you are leaving the module unattended to collect data in cold weather. CAUTION: Failure to check the battery can lead to data loss in the above conditions. 5.4 PROGRAMS Clicking the PROGRAMS tab brings up the PROGRAM CONTROL OPTION screen. The screen is very similar for both the storage devices and the PC Card. It is essentially an interface for extracting programs, saving programs or clearing programs from the storage device.
SECTION 5. STG MODULE: SMS - STORAGE MODULE SOFTWARE 5.4.1 PROGRAM LOCATION There are eight memory locations available. The Program Status box will either: • Display a number indicating the starting position in memory of the program (CSM1/MCR1 and PC Card), • Say “Used” for a program in a specific location (SM192/716), • Say “Free” for an unused location. A program location is selected by clicking on it to highlight its checkbox.
SECTION 5. STG MODULE: SMS - STORAGE MODULE SOFTWARE 5.5.1 FILE FORMAT Before you attempt to “get” (collect) any data you should ensure that you are using the file format required. ASCII with Array IDs This format is ASCII with Array Identifiers, and is the most “readable” when printed. Each data value is preceded by an identifier indicating its position in the array. This format requires the most disk space on the computer, and can be difficult to use in some data analysis packages.
SECTION 5. STG MODULE: SMS - STORAGE MODULE SOFTWARE For example, if you chose a filename of ANDREW.DAT the program would convert it to ANDRE000.DAT so that auto incrementing could take place. As the files are read to the disk, a Progress Indicator showing the filenames is displayed at the bottom right of the display. 5.5.5 GET NEW If you want completely unique names for each file choose the “New name for each file” option, and ensure that auto incrementing is off.
SECTION 5. STG MODULE: SMS - STORAGE MODULE SOFTWARE 5.6.2 ERASE DATA AND PROGRAMS This option will completely “erase” (see above) all data and programs from the card or module. You will have the opportunity to cancel the option before the card/module is erased. 5.6.3 ERASE AND TEST CARD/MODULE This option is similar to the Erase Data and Programs option except that a full integrity test is carried out on the card or module.
SECTION 5. STG MODULE: SMS - STORAGE MODULE SOFTWARE Insert File Mark File Marks are used to separate data in the storage device. A File Mark is automatically placed in the device’s memory when it is connected to a power source (a datalogger or retrieval interface) or when a datalogger compiles a program containing Instruction 96.
SECTION 6. PROGRAM CONVERSION 6.1 DOC2CSI DOC2CSI is an easy-to-use DOS utility that converts datalogger programs created with Edlog Version 5.4 or earlier (*.DOC files) to the *.CSI format files used by more recent versions of Edlog (DOS Version 6.2 or greater and Windows PC208W Version 2.0 or greater). Conversion of these older files allows you to use them with PC208W without performing the time-consuming task of recreating each program. 6.1.
SECTION 6. PROGRAM CONVERSION 6.1.4 NOTES There are some instances where complete program information is not converted from *.DOC files to the *.CSI files. Notes on these instances follow: • Comments to the right of the P97 instruction for the 21X and CR7 are lost. • Comments created with CTRL+N (whole line comments) in the middle of an instruction are lost. • Comments to the right of the table interval are lost. • Duplicate labels are set to no label (i.e.
SECTION 6. PROGRAM CONVERSION FIGURE 6.3-1. Xlate Options Dialog Box The 21X dataloggers could be ordered with special PROMS which set the slow integration rate to 50 Hz (20 ms). Since the CR23X supports both 50 Hz and 60 Hz integration times, you must select the "21X Program written for 50 Hz PROMs" checkbox if the 50 Hz integration method is to be used. (Windows 3.1) or press F2 (Windows 95/NT). This will allow you to edit the filename. Rename the file with a *.CSI extension.
APPENDIX A. FREQUENTLY ASKED QUESTIONS A.1 SETUP, CONNECT, AND STATUS The default modem will not work, and my modem is not in the list of modems. How do I add it? Select a modem similar to yours. Edit the modem name. When this field is changed, a new entry is created in the WMODEM3.INI file in the working directory. Edit the other strings as needed. The changes are saved as the fields are edited. (See Appendix B.
APPENDIX A. FREQUENTLY ASKED QUESTIONS CQR This contains the radiotelemetry quality numbers. (See the RF manual.) The maximum size for the active file (CQR$.LOG) is 100,000 bytes and one old version is kept (CQRO.LOG). IO$COMx In this filename, x represents a COM port number. These files use a hexadecimal display of the actual characters sent and received by the computer. This is normally used by those familiar with the telecommunications commands or dialing of modems.
APPENDIX A. FREQUENTLY ASKED QUESTIONS done unintentionally. If writing twice intentionally, ignore the warning. helpful if the Input Locations get cluttered after numerous program changes. If in doubt, save your work before optimizing. What is an “Improper use of P80” warning? Normally P80 follows the instruction that sets the Output Flag and is used to set the Array ID or specify were data are stored.
APPENDIX A. FREQUENTLY ASKED QUESTIONS EDLOG does not allocate Input Locations for some instructions. There are a some instructions that are exceptions to the way EDLOG allocates Input Locations and tracks Final Storage. These instructions may require the user to manually allocate Input Locations. Instruction 49 Spatial Maximum This instruction finds the maximum value from a “swath” of adjacent Input Locations. It is stored in the location specified in the third parameter.
APPENDIX A. FREQUENTLY ASKED QUESTIONS Input Locations. This should be done with the Block command and the Manual flag in the Input Location Editor. If results are set to be sent to the serial I/O port and no Location is specified for parameter 10, a “ Warning: zero is an invalid inloc address, Line: xx” warning will occur. This warning can be ignored. 1: Instruction 80 Set Active Storage Area The second parameter of Instruction 80 specifies an Array ID or an Input Location.
APPENDIX A. FREQUENTLY ASKED QUESTIONS Instruction 15 Serial I/O with a control port This instruction allows the datalogger to communicate with an RS-232 type sensor. Characters can be received and/or transmitted. EDLOG does not name or allocate Input Locations other than the location specified in parameter 10. 1: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 1 00 0000 00 0000 0000 0000 0000 0000 0000 1.0 0.
APPENDIX B. MODEMS B.1 PHONE MODEMS After adding a new Phone Modem to the Device Map, you can click on the Hardware Tab | Edit Modem Strings to set up specific parameters related to the modem. Information for each modem is stored in the WMODEM3.INI file in the PC208W directory. This file is updated each time a field in the Hardware page is changed. The available fields on this set up page are: modem pick list, modem name, modem reset string, and modem initialization string. Each of these is explained below.
APPENDIX B. MODEMS R“xx”nWait for response. This forces the preceding portion of text to be sent, then waits up to n millisecond for the quoted string xx to be returned. When the last character of the quoted string is received, the command is complete and the command string continues with the next command. If the quoted string is not received in the allowed time, the PC208W dial attempt fails and the command string is aborted. NOTE: Only the order and existence of the quoted string is checked.
APPENDIX C. PC208W ERROR MESSAGES C.1 SPLIT ERROR MESSAGES: Parameter following ";" must be an integer. Check the Time Series functions where an output interval has been assigned. Invalid range specified inside [], or expression buffer overflow. On the Select condition line you should check that the range specified has two periods (..) or that only digits are used as delimiters. Also, check for a missing right or left bracket.
APPENDIX C. PC208W ERROR MESSAGES There was a problem opening an input file. File could not be found or may be in use. Ensure a valid input file was chosen, and that the file is not opened in another program. label must be to the left of the expression and not enclosed in parentheses. An expression that contains no equal sign causes compiler error 202, “unrecognized text”. If multiple input files have been specified, the input file name length may have been exceeded.
APPENDIX C. PC208W ERROR MESSAGES tee=5*(2) C.2.1.4 Function Expected Letters that are immediately followed by parentheses are assumed to be a function. If the letters are not on the function list (see section 2.3.3.2), this error message occurs. C.2.1.5 New Line Expected Indicates one of the following situations: (1) An expression contains more than one equal sign. (2) There is no operator between two sets of parentheses. mu=(nu)*103 bee=10.
APPENDIX D. CARD SERVICES DRIVER SOFTWARE NOTES SMS comes with its own setup program for PC Cards. When using SMS for the first time with PC Cards, you should run this setup program by clicking the PC Card Setup button on the PC CARD USER screen within SMSsee Section 5 this manual (Establishing Communications).
APPENDIX D. CARD SERVICES DRIVER SOFTWARE NOTES configure Award’s CardWare 2.1 (for Windows 3.1) to work satisfactorily with Windows 95. Always use the “PC Card Setup” facility included in SMS before using PC cards with SMS. (See “Establishing Communications” in Section 5 of this manual.) D.2.2 CSL-CS.DLL CSL-CS.DLL provides a common interface for SMS to the different implementations of card services. CSL-CS.DLL creates an initialization file, CSLCS.INI, in the Windows directory.
APPENDIX D. CARD SERVICES DRIVER SOFTWARE NOTES D.3.1 HOW TO CHOOSE WHICH AREA OF MEMORY TO ALLOCATE TO CARD SERVICES The address range used by Card Services can be from A0000 to FFFFF. However not all machines will allow Card Services to use these addresses. Many machines cannot use addresses below C8000 or above E8000 for Card Services.
APPENDIX E. GLOSSARY OF COMMON WINDOWS TERMINOLOGY Cancel Choosing Cancel from a dialog box will ignore any changes made and close the box. Click To Click on an object, press and release the left mouse button while the mouse pointer is positioned on the object. Clipboard The Windows Clipboard is a buffer which holds information from a Cut, Copy, or Print Screen operation. Only the last operation is held in the Clipboard's memory. A new Cut or Copy operation will replace the contents of the Clipboard.
APPENDIX E. GLOSSARY OF COMMON WINDOWS TERMINOLOGY Maximize You can restore a Minimized program to its original size by Maximizing it. If you are running Windows 3.1, double click on the icon. If you are running Windows 95 or NT, click once on the item's name at the bottom of your screen. Minimize objects located at the To Minimize a program press the box from the uppermost right of the window. When you Minimize a program, it is still running but appears on your screen as a small icon (Windows 3.
GLOSSARY CALLBACK - Telecommunication with a datalogger where communication is initiated by the dataloggerusually in response to an alarm or event. Callback is also used where it is impractical to call the datalogger but the datalogger can call out. Final Storage - A more permanent portion of datalogger memory where processed Input Location values are stored. The values are typically the result of processing measured values over time, like averages, maxima, etc., over the last minute, hour, day, etc.