background image

PC208 DATALOGGER SUPPORT SOFTWARE

INSTRUCTION MANUAL

REVISION:  11/97

COPYRIGHT (c) 1987-1997 CAMPBELL SCIENTIFIC, INC.

Summary of Contents for PC208

Page 1: ...PC208 DATALOGGER SUPPORT SOFTWARE INSTRUCTION MANUAL REVISION 11 97 COPYRIGHT c 1987 1997 CAMPBELL SCIENTIFIC INC...

Page 2: ...This is a blank page...

Page 3: ...the text CR10 on the first line of the file 3 Edit the text so it reads CR10X 4 Save or Save As the file and then close it Do not compile the program 5 Load the file you just saved Notice that the da...

Page 4: ...This is a blank page...

Page 5: ...software or corrected documentation within a reasonable time CAMPBELL SCIENTIFIC INC will either replace the software with a functionally similar program or refund the purchase price paid for the soft...

Page 6: ...eft intact This software may be used by any number of people and may be freely moved from one computer location to another so long as there is no possibility of it being used at one location while it...

Page 7: ...k 1 4 1 3 7 Sending and Receiving Datalogger Program DLD Files 1 4 1 3 8 Data Collection Single Station 1 4 1 4 SCHEDULES 1 5 1 4 1 Station File Compatibility 1 5 1 4 2 Creating a Schedule 1 5 1 4 3 M...

Page 8: ...ntion 2 10 2 7 3 Rebuild Indention 2 10 2 8 FILE TYPES 2 11 2 8 1 Files with a CSI Extension 2 11 2 8 2 Files with a DLD Extension 2 11 2 8 3 Files with a PTI Extension 2 11 2 8 4 Files with a FSL Ext...

Page 9: ...ification Screen 3 7 3 4 8 V View Save to File 3 8 3 4 9 F1 F8 Flag Toggle 3 9 3 4 10 P1 P8 Toggle Ports 3 9 3 4 11 C Collect Data 3 9 3 4 12 W Sweep graph Toggle 3 9 3 5 COMMAND LINE PARAMETERS 3 9 3...

Page 10: ...6 2 4 N Collect Newest Data File 6 2 6 2 5 L Collect One Data File Starting at Display Pointer 6 2 6 2 6 P Collect Program Files 6 2 6 2 7 D Store a DLD Program File 6 2 6 2 8 F Store a File 6 2 6 2 9...

Page 11: ...8 1 1 Installation 8 1 8 1 2 Running SMCREAD 8 1 8 2 MENU OPTIONS 8 1 8 2 1 T Terminal Emulator 8 1 8 2 2 A Read All Data Files 8 2 8 2 3 U Reads Unreads Data Files 8 2 8 2 4 N Read Newest Data File 8...

Page 12: ...1 ERROR CODES AND MESSAGES D 1 E PCMCIA DRIVER SOFTWARE NOTES E 1 GENERAL E 1 E 2 LOADING THE DRIVERS E 1 E 3 ADJUSTING YOUR CARDSERVICES SET UP E 2 E 4 USING MEMMAKER SUPPLIED WITH MS DOS 6 XX E 3 F...

Page 13: ...vii FIGURES I 1 Menu Selection 4 1 3 1 Main Screen 1 2 1 3 2 Station File Editor 1 3 1 4 1 Schedule Editor 1 5 1 4 2 Station File Editor Used with Schedule Editor 1 6 1 5 1 Collect Now From Multiple...

Page 14: ...PC208 DATALOGGER SUPPORT SOFTWARE TABLE OF CONTENTS viii This is a blank page...

Page 15: ...h may be used by TELCOM or GraphTerm for auto dialing GraphTerm provides computer datalogger communication for real time display and collection of data and downloading uploading of datalogger programs...

Page 16: ...files SPLIT 000 SPLIT 001 SPLIT 002 SPLIT 003 SPLIT 004 can be manually deleted as they are not used This version of PC208 uses SPLIT in the form of SPLIT EXE Complete installation requires about 3 me...

Page 17: ...n when saving program from datalogger Can also be fed into EDLOG to develop DOC file INI INItialization file for modems Telcom and GT use this file to configure the PC208E TELCOM GT telephone modem LB...

Page 18: ...to the previous control RETURN or SPACE is to select activate the control with the focus The cursor keys are used to manipulate some controls See the following sections for more detail USING THE MENU...

Page 19: ...l in that direction Click on the bar between the arrows to move in larger steps To scroll with the keyboard cursor keys PAGE UP and PAGE DOWN key are normally used Zoom Box Used to change the size of...

Page 20: ...the focus highlight to the text box and then type the text Drop Down List Combo Drop Down List allow the selection of a single option from a displayed list To use the mouse click on the small triangle...

Page 21: ...rd move the focus to the Radio Buttons Set then use the UP and DOWN cursor keys to select the desired option Check Box Check boxes allow one or more options to be individually enabled A X indicates th...

Page 22: ...ons Links are displayed in a different color text Double click on a link with the mouse to jump to the referenced section With the keyboard use the TAB or SHIFT TAB to move the highlight to the desire...

Page 23: ...to use any changes Select to use current filename or update list of displayed file names Cancel operation and close window Click on a filename then select OK button or double click on filename to use...

Page 24: ...PC208 INTRODUCTION 10 This is a blank page...

Page 25: ...for open schedule Call Monitor HangUpLink Clock Set Check Send DataLogger Prog Receive Datalogger Prog Terminal Mode Scheduled Call Now MultiStn Call Now CurrentStn ErrorLog Data Screen Colors GraphOp...

Page 26: ...llection at the users request or for unattended collection with each station called at a specified interval the PC waiting between calls While waiting datalogger initiated calls can be answered In add...

Page 27: ...n the top left corner of the screen Editing a station file requires that the station file be active but does not require the station to be on line Once called and brought on line the station remains o...

Page 28: ...e displayed file dialog box Caution Sending a program to the datalogger stops its current program and may erase all the data in the datalogger ALWAYS collect any needed data from the datalogger before...

Page 29: ...d with the on line station file editor can be used Station files created with the on line station file editor must be edited from the schedule editor to add scheduling information See Section 1 4 1 Wh...

Page 30: ...option to create these stations is given when the NEW STATION button is selected on the schedule editor See Section 5 1 Telcom for details on the station file types 1 4 7 ANSWERING INCOMING CALLS Sele...

Page 31: ...COLLECTION button is selected This creates a temporary schedule This option is always available If PC208E has a station active and on line that link will be terminated before collections is started 1...

Page 32: ...A COLLECTION DIFFERENCES The DATACOLLECTION SCHEDULE and the DATACOLLECTION CALL NOW MULTISTN data collection support the following data collection options NOT supported by the DATACOLLECTION CALL NOW...

Page 33: ...ew input location label EDLOG automatically assigns it the next available input location number address By using the Input Location Editor all of the labels can be entered first and the program writte...

Page 34: ...Save Clipboard to Library File Insert Instruction shift Ins Delete Instruction shift Del Input Locations F5 Final Storage Labels View Mode 4 Table CR10 CR10X Import Library File Moves EDLOG text see...

Page 35: ...pressions The body of the program is divided into Program Tables 1 and 2 and the Subroutine Table Each instruction and expression must be entered in one of these tables for the instruction or expressi...

Page 36: ...ally incorporated into the DLD file 2 3 3 1 Rules for Creating Expressions Expressions must be set equal to the label of the input location that will store the result The label must be to the left of...

Page 37: ...1 Mult 06 0 Offset TempF TempC 1 8 32 When this program is compiled the DLD file contains the following instructions The last 5 instructions calculate the expression 1 P11 Temperature 107 1 1 2 2 3 1...

Page 38: ...ction the entire instruction including all of the parameters must be selected 2 Select EDIT CUT to move the text or select EDIT COPY to copy the text 3 Move the cursor to the location where the moved...

Page 39: ...ow computers the Automatic Renumbering can be disabled by selecting OPTION EDITOR OPTIONS Use the tab key to place the cursor on the brackets and press the space bar or select the brackets with the co...

Page 40: ...the initial label with a and the next consecutive number For Example With 3 REPS and a label of data the labels for each REP are data 1 data 2 and data 3 Only the first location of an output processin...

Page 41: ...ation is read Writes Automatically displays the number of times that data are written to this location Blocks Contains the word START when the input location is the initial location for a group of rep...

Page 42: ...s mouse or pressing the Esc key Also available for closing windows are the FILE CLOSE and FILE CLOSE ALL options see Section 2 2 1 2 7 INDENTION Indention is typically used with If Then Else sequence...

Page 43: ...each instruction block e g subroutine and table as well as the number of final storage locations used per day The execution times are estimates PTI files do not account for If commands Else commands...

Page 44: ...SECTION 2 EDLOG 2 12 This is a blank page...

Page 45: ...name i e LOGGER E for the station with the name LOGGER When station file screen above appears CR10X after datalogger type will be highlighted Press the space bar to scroll through the datalogger type...

Page 46: ...d rate must be set to that same baud rate 3 1 4 DATA FILE FORMAT Options Comma Separated ASCII As stored in datalogger Comma Separated ASCII strips all IDs leading zeros unnecessary decimal points and...

Page 47: ...or phone to RF with a maximum of 1200 baud Campbell Scientific RF Modems default to a higher speed RF transmission than used previously If older prior to February 1989 DC95 Modems are being used plea...

Page 48: ...k is sent received by the datalogger and entered into program memory A missed block will be resent automatically The file may even be started over to assure the datalogger receives the programming fil...

Page 49: ...ma separated ASCII or binary same as in the datalogger 3 2 9 E EDIT STATION PARAMETERS The E option allows the user to edit the parameters of the current station or establish edit the parameters for a...

Page 50: ...er flag status is shown below the input location data High flags are displayed in reverse video Keys F1 through F8 toggle user flags 1 through 8 respectively i e If the flag is high the function key w...

Page 51: ...ional digit will be displayed A maximum of 6 digits can be displayed 3 4 7 L L GRAPH SPECIFICATION SCREEN The ability to graph up to all three graphs simultaneously depends on the graphics adapter in...

Page 52: ...ts left at their default settings of 10 0 and 10 0 respectively parameter one would be plotted between 3 2 and 5 0 parameter 2 would be scaled between 6 4 and 9 9 With fixed scaling values are plotted...

Page 53: ...first letter of the word is used by GraphTerm Another example is GT stnfile Monitor progfile Locations specfile Graphics would call the station using stnfile filename then graphically monitor the inpu...

Page 54: ...may be other problem characters as well 1 2 3A is the proper way to send sequential control characters followed by text 3 5 3 CHANGING STATIONS AND TIME LIMITS When changing stations add 9 or R to the...

Page 55: ...nual As soon as SPLIT is loaded it requests information necessary to find process and store the data specified Once this information is supplied it can be saved in a parameter file for later use Type...

Page 56: ...Press the F1 key and SPLIT will display at the top of the screen all files having a DAT extension name or any files with the extension name specified by the user If a drive or directory is specified...

Page 57: ...h BURST This number does not include the array ID number or calibration data This option works with all subsequent commands except when the T option is used in the OUTPUT FILE line Section 4 3 2 the S...

Page 58: ...s can be present in the file EXAMPLE LOGAN PRN This enters quotation marks in an element whenever the value is blank bad or out of range The comment cannot exceed the field width TABLE 4 3 4 Definitio...

Page 59: ...tion writes a report file to disk with the extension name RPT to be printed later The default file is also made The RPT file includes the report headings and column headings This option cannot be used...

Page 60: ...ntified without specifying a starting time e g 2 3 When no starting time is specified SPLIT assumes the starting time to be 0 and inserts carriage return line feeds CRLF at the start of the OUTPUT fil...

Page 61: ...nt conditional OUTPUTs and to continue reading the file for subsequent COPY Section 4 3 5 and STOP conditions after a STOP condition is encountered The PARameter file up to and including the COPY line...

Page 62: ...tatement is true SPLIT allows up to 6 or statements with up to 3 and statements per or For example referring to Table 4 3 1 if only those hours during day 189 when the temperature was above 90 and the...

Page 63: ...Variables can be assigned names in the SELECT parameter For example x 4 5 6 3 0 means that x is equal to element 4 minus the quantity of element 5 times the product of element 6 times the number 3 A n...

Page 64: ...tal Sd x n Standard deviation Smpl x n Sample raw value SmplMax x y n Sample y on a maximum x SmplMin x y n Sample y on a minimum x Total x n Totalize WAvg x n Unit vector mean wind direction in degre...

Page 65: ...f the element x Examples Frac 4 89 Frac 6 7 95 Int x returns the integer portion of the element x Examples Int 7 270 Int 5 6 685 Ln x returns the natural log of element x Examples Ln 6 2 5217 Ln 7 6 5...

Page 66: ...micolons are used in Time Series functions to separate the elements or expressions from the count which determines the interval SmplMax and SmplMin require two elements separated by a semicolon The fi...

Page 67: ...s bad data in the file Max x n returns the maximum value of element x over a full data set or every nth value Examples Max 5 17 12 max wind speed for day Max 5 12 10 41 max WS for 12 hours 17 12 max W...

Page 68: ...on min temp sample wind speed SmplMin 3 5 6 8 8 99 317 7 5 458 312 11 86 351 6 on min temperature sample wind speed and wind direction every 8 hours Total x n returns the total of element x over a dat...

Page 69: ...useful formatting function when labels are desired on the same line as the data The label includes anything within the quote marks the quote marks are not output but must be in the parameter file The...

Page 70: ...n Peak HEADINGS for MTSPLIT dat col 1 Temp in deg C column 2 Wind Speed in ms column 3 H column 4 Wind Chill in deg C column 5 Wind Chill in deg F This PAR file produces a wind chill summary of the Mt...

Page 71: ...OF SELECT LINE SYNTAX RULES A fixed numeric value must include a decimal point or be in scientific notation There are some exceptions to this as noted below Scientific notation has the format mantissa...

Page 72: ...maries cannot have individual titles PCDATE within the HEADING for report text inserts the computer s current date Month Day Year To get the European format enter PCEDATE this would produce Day Month...

Page 73: ...nter nulls until end of the line in effect starts a new line in the current entry F1 Help for current entry F2 Enter command mode Start comment End comment INS Insert off Insert on 4 6 COMMAND MENU To...

Page 74: ...ers by entering them on the command line after the parameter filename For example SPLIT LOGAN R TEST DAT TEST PRN Replaces the INPUT and OUTPUT filenames in LOGAN PAR with Test dat and Test prn respec...

Page 75: ...pre defined schedule When the computer is inactive it can either shut itself off or stay on and waiting TELCOM can also answer incoming calls while in the unattended mode If the caller is a datalogge...

Page 76: ...munications Program ver X X Copyright C 1986 1991 Campbell Scientific Inc Options which may be entered following the station or script file name E Edit parameters B size Specify Block Size C Call data...

Page 77: ...ght arrow word or entry left Ctrl A or left arrow word or entry right Ctrl F or right arrow line or entry up Ctrl E or up arrow line or entry down Ctrl X or down arrow page up in array or previous scr...

Page 78: ...use an older set of telecommuni cations commands The binary commands are more efficient but less reliable CR21s with Format 2 tape capability are the only CR21s that support the binary commands When t...

Page 79: ...ing data name DAT file is renamed to name BAK Any existing backup file name BAK is destroyed The Most Recent Arrays Create option is used if it is desired to look at only a few of the most recent arra...

Page 80: ...will remain in use until the problem with the station is corrected and a good call is completed If Interval 2 is set to 0 TELCOM will revert to the Primary Call Interval after completing all repetitio...

Page 81: ...ger For example you may have a Hayes Smartmodem connected to a phone line which calls a RF base station and accesses several dataloggers via RF The Smartmodem would be selected first followed by the R...

Page 82: ...this device 5 2 STATION OPTIONS Once a station file has been created for a station it can be called by running TELCOM and simply entering the station name There are several options that may be select...

Page 83: ...ou could create a script file called CALLSTN SCR which would look like MTNTOP C FARWAY C VALLEY C NEXTDOR C The C command option after each station name forces TELCOM to call the station no matter wha...

Page 84: ...M so that if an AC power failure occurs the state of the flag will not be lost When the power returns the PC201 will know that the Unattended Active Flag is still set and will switch on power to the P...

Page 85: ...tiated call can specify a different data collection method than that used for PC initiated calls For example the data logged since the last call could be retrieved in PC initiated telecommunications m...

Page 86: ...make use of the PC in an attended mode the user removes the telecommunications disk places a different system disk in the default drive and either turns the PC203 power switch to on or hits control C...

Page 87: ...o run WAKETIME type WAKETIME on the DOS command line and press Enter The program will display the wake up time currently programmed into the PC201 and ask for a new time If return is entered without e...

Page 88: ...SECTION 5 TELCOM 5 14 This is a blank page...

Page 89: ...d Reducing baud rate If this happens verify that all cables are connected properly and that the proper COM port was specified If SMCOM establishes communication but the status lines at the top of the...

Page 90: ...he file 6 2 6 P COLLECT PROGRAM FILES The P option collects the datalogger programs stored in the Storage Module The Storage Module maintains the addresses of up to eight program files The collected c...

Page 91: ...ored 8 bit data P As stored strip parity Comma separated ASCII is the most widely used because it is reasonably compact the data can be viewed by typing the file and it is a format that is readily tra...

Page 92: ...There are two command lines switches that may be used with SMCOM NOcolor and SM232A NOcolor is used to suppress color on a computer with a monochrome display The problem is evident when the status li...

Page 93: ...is being used please refer to Section 7 7 1 2 for further information CSMCOM automatically tests the PC speed and sets the communication speed accordingly If unable to communicate with the module CSMC...

Page 94: ...data was last read using CSMCOM 7 3 4 N COLLECT NEWEST DATA FILE This option also works in a similar way to the A option with the exception that it collects just the latest file in the card and the da...

Page 95: ...cked successfully A further two rows of symbols are shown as further read write tests are done on the memory If an error occurs at any stage an x is displayed and tests on memory after that page are a...

Page 96: ...CSMCOM starts numbering the files at 1 e g ROOT001 DAT If files with the same root name exist new files are numbered sequentially starting with the first number that does not exist on the disk e g if...

Page 97: ...get a warning in the module status window that shows the card battery as being DEAD the battery in the card is close to being or is completely discharged CAUTION Do not unplug the card from the module...

Page 98: ...PARAMETER OPTIONS 7 7 1 1 NOCOLOR If poor contrast is apparent as a result of trying to simulate CSMCOM s screen colors when running CSMCOM on a computer with an LCD screen the contrast may be improve...

Page 99: ...un SMCRead insert the card in the PCMCIA slot then type SMCRead and press ENTER SMCRead will look for the card in logical slot zero If it does not find a card there it will prompt you to remove the ca...

Page 100: ...the A or U options of SMCRead Thus the U option can be used to read any new data files stored in the card since data was last read using SMCRead 8 2 4 N READ NEWEST DATA FILE This option also works in...

Page 101: ...to the E option with the exception that it does not do a full memory test Instead SMCRead uses the 1249K command to erase the card memory and reset the pointers Before this SMCRead temporarily offload...

Page 102: ...e with a For options where only one file can be read from or stored in the card e g the name of a program to be stored in the card SMCRead asks you for a specific file name where the prefix can be up...

Page 103: ...rating a series of short beeps 8 5 2 ABORTING OPTIONS Most SMCRead operations can be stopped by pressing the ESC key You are then returned to the options menu 8 5 3 BATTERY VOLTAGE WARNINGS If when th...

Page 104: ...ard Services 2 1 Version 2 05 These SystemSoft drivers do not perform correctly with DOS programs running under Windows To use SMCRead under Windows with these drivers you must use the PIF file provid...

Page 105: ...be entered before parameters which you wish to use to select normal menu options 8 6 1 ADDITIONAL COMMAND LINE PARAMETER OPTIONS NOCOLOR If poor contrast is apparent as a result of trying to simulate...

Page 106: ...SECTION 8 SMCREAD CARD READING SOFTWARE 8 8 This is blank page...

Page 107: ...csi DOC2CSI weather weather1 CR10X DOC2CSI does not create a new program DLD file This is created by EDLOG when the new CSI file is compiled Special cases Comments to the right of P97 for 21X and CR7...

Page 108: ...This is a blank page...

Page 109: ...can be sent to the modem using the symbol to designate a control character m or M produce a control M which is a carriage return character The character can be sent by specifying Ctrl can be sent by s...

Page 110: ...APPENDIX A APPLICATIONS NOTES ON INTERFACE DEVICES A 2 TABLE A 1 SMARTMODEM Configuration Switches...

Page 111: ...m reset string PC208 uses this to reset the modem to a known state Line two is the initialization string which is used to configure the modem to work with PC208 The third line is for a dialing string...

Page 112: ...C208 must initiate one call to a datalogger site in order for the changes to take effect Each line starts with AT which is the modem attention command This lets the modem know a command or commands ar...

Page 113: ...standard hardware available for IBM PC XT AT computers i e internal modems add on serial cards etc Most boards use switches or jumpers to set the addresses and interrupts Check the documentation for...

Page 114: ...APPENDIX B USE OF COM3 OR COM4 B 2 This is a blank page...

Page 115: ...Repeating last block While programming the datalogger needed to repeat a block of the program Download file is wrong type or too large While programming the datalogger GraphTerm received a message fr...

Page 116: ...en included Only digits can be used for the beginning and ending numbers Element value not in range 1 254 Split can not work on more than 254 elements at a time Also one element in the Select option c...

Page 117: ...r expand the RAM in the computer Smartmodem did not detect carrier The modem dialed but received no response from the answer modem Check that your phone line is plugged into the Smartmodem Also listen...

Page 118: ...the baud rate selected xxx stn did not exist when logger called A datalogger called into the computer but the xxx STN file specified did not exist You must create a STN file with the 3 digit ID that...

Page 119: ...between two data files No data found in the card or file error After attempting to collect several files the program has not successfully written any data to disk No uncollected data found in the car...

Page 120: ...APPENDIX C PC208 ERROR MESSAGES C 6 This is a blank page...

Page 121: ...ns no equal sign causes compiler error 202 unrecognized text For Example Equal sign expected is displayed when a program contains any of these expressions zee 2 bee data number volt1 volt2 These are c...

Page 122: ...sigma 17 RCP alpha These are correct ways of entering the above expressions tee 5 2 mu nu 103 bee 10 52 ef 2 sigma 17 RCP alpha 4 A label or function is immediately after a set of parentheses without...

Page 123: ...d the names given for Socket Services normally including SS in the driver name may vary with the hardware of your machine as there are different drivers to match the specific low level hardware E 2 LO...

Page 124: ...in the same way More than one region of memory may be excluded by repeated use of the X option Windows Users In your SYSTEM INI file there should be a line which looks something like EMM386Exclude D00...

Page 125: ...t your machine is capable of using If you do increase the exclude range in EMM386 but SMCRead still fails due to lack of resources run PCMRMAN to see if CardServices is making use of those memory rang...

Page 126: ...drivers and TSRs to include in optimization YES Keep current EMM386 memory inclusions and exclusion YES default Because CNFIGNAM cannot be loaded high you should tell MemMaker when asked that CNFIGNA...

Page 127: ...le For example to start a script file in the AUTOEXEC BAT file use TELCOM script file F 2 EDLOG EXE I closed a program file and there was another file behind it With EDLOG it is possible for the user...

Page 128: ...ssion labels go When you optimize EDLOG removes any Input Location labels that it does not find referenced in the program or that do not have the Manual Flag set EDLOG does not evaluate expressions as...

Page 129: ...e maximum To do this add 1000 to the location number for parameter three For example the following instruction stores the maximum value found in location 1 Temp 1 through location 6 Temp 6 in location...

Page 130: ...or 2 then an Array ID is expected and the cursor will move by default to the numeric field If parameter one is set to 3 then an Input Location is expected and the cursor will move to the label field b...

Page 131: ...e or allocate Input Locations other than the location specified in parameter 10 1 Port Serial I O Special P15 1 1 Reps 2 00 Configuration Code 3 0000 CTS Delay 4 00 First Control Port 5 0000 Output Lo...

Page 132: ...APPENDIX F FREQUENTLY ASKED QUESTIONS F 6 This is a blank page...

Page 133: ......

Reviews: