background image

SMCRead

4

As the program is being read from the card a ‘ . ’ is displayed for every 100
characters read from the card.

2.7  D — Store a .DLD Program File

This option is used to store a .DLD program file, as created by Edlog, into one
of the program areas of the card.  SMCRead first displays the current status of
the program areas in the card to show you which areas are in use.  Next
SMCRead asks you to enter the name of the .DLD file. SMCRead appends the
.DLD suffix if necessary.

You are now asked in which card program area you wish to store the program.
Enter a number between 1 and 8.

SMCRead now loads the program into the card, displaying a ‘ . ’ as each 100
characters is transferred.

2.8  E — Erase, Reset and Test the Card

The E option completely erases all data and programs in
the card.  At the same time the card memory is fully
checked to ensure the module can store and recall data
correctly.

SMCRead asks you to verify that you want to erase the card before this option
runs.  Press 

Y

 for yes or 

for no as appropriate.

SMCRead runs the E option by issuing the ‘1248K’ command to the module
and displaying the status of the process.  First a row of ‘+’ symbols is
displayed.  One ‘+’ is displayed for each 16 kbyte page of memory written.  At
the end of this row an equal number of ‘-’ symbols is shown as the data is read
out and checked successfully.

A further two rows of ‘-’ symbols are shown as further read/write tests are
performed on the memory.

If an error occurs at any stage an ‘x’ is displayed and tests on memory after
that page are aborted.  After an error is detected the memory that can be used is
limited to the pages of good memory tested before the failure.

If an error does occur, use the E option several times to check if the position at
which the error occurs is repeatable.  If the test fails at different points in the
card, the card may have a serious hardware fault.  If the error always occurs in
the same memory page, it is possible to use the card with reduced capacity.
Please contact Campbell Scientific for further advice.

At the end of the test, SMCRead displays a message indicating how many
locations are usable.

CAUTION

Summary of Contents for CSM1

Page 1: ...INSTRUCTION MANUAL CSM1 Card Storage Module and CSMCOM and SMCRead Software Revision 3 01 C o p y r i g h t c 1 9 9 3 2 0 0 1 C a m p b e l l S c i e n t i f i c I n c...

Page 2: ...her warranties expressed or implied including warranties of merchantability or fitness for a particular purpose CAMPBELL SCIENTIFIC INC is not liable for special indirect incidental or consequential d...

Page 3: ...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 4: ...l Scientific Inc software and protecting your investment from loss All copyright notices and labeling must be left intact This software may be used by any number of people and may be freely moved from...

Page 5: ...rating Specifications 3 3 Getting Started 4 4 Storing Data 6 4 1 CR10 6 4 2 21X CR7 8 4 3 DSP4 9 4 4 Data Retrieval 9 5 Storing Datalogger Programs 9 5 1 Transferring Programs to from Datalogger 10 5...

Page 6: ...e Structure B 1 B 3 Program Files B 1 B 4 Data Pointers B 1 C Card Batteries C 1 C 1 General C 1 C 2 Battery Status Detection C 2 D Telecommunications Commands D 1 E SC532A E 1 Figures 1 CSM1 Case 2 2...

Page 7: ...rol by the datalogger or computer This allows data from different dataloggers or different experimental runs to be separated Datalogger programs can also be stored from and loaded into a datalogger us...

Page 8: ...g diodes LEDs The red Status LED indicates the status of the module and card when the CSM1 is first powered up The green Write LED indicates when the CSM1 is writing to the card 2 Specifications 2 1 D...

Page 9: ...dules Unlike the SM192 716 Storage Modules the CSM1 does not support 9 Mode commands for the CR10 datalogger Also it does not support remote communications via a CR10 datalogger The module address is...

Page 10: ...receive a Card Storage Module please check you have been supplied with an SC12 cable and the memory card that you ordered 2 New memory cards are supplied without the battery installed to prevent prem...

Page 11: ...with a wait period of 0 5s between flashes Refer to table 1 for a full description of the status indication For a corrupt unformatted card it should flash four times If the LED does not flash check al...

Page 12: ...e CSM1 emulates Campbell Scientific s SM192 716 Storage Modules for most aspects of data storage Therefore the same basic programs and procedures are used to store data in the CSM1 Details of how to s...

Page 13: ...me the CR10 executes Instruction 96 it checks for the presence of the CSM1 and outputs data if the CSM1 is connected and able to store data Using this feature you can use the CSM1 to collect data from...

Page 14: ...lined above for the CR10 Manual dumps of data to the module are done using the 9 Mode entering 30 for the device code Both 9 and Instruction 96 can also be used to write a filemark into the card by sp...

Page 15: ...routines which take about five seconds before allowing output of data to the CSM1 as data may be lost during the power up test 4 4 Data Retrieval Once data is stored in the card the card or whole mod...

Page 16: ...program from the card into the datalogger enter 2nA where n is the number of the card program area 1 8 in which the program is stored 4 To clear a program stored in a card enter 3nA where n is the ca...

Page 17: ...1 on Detection of Full Card Memory The card memory structure is predefined as fill and stop This means that data can be stored in the card until it is determined that it is full The card is then marke...

Page 18: ...atus LED seven times The CSM1 will then reset the card s internal full flag to enable further attempts at data storage to be made If there is any free space in the card it can then be used to collect...

Page 19: ...cribed above a series of carriage return characters ASCII decimal 13 with a 100ms delay between them must be sent to the CSM1 to enable it to determine the baud rate for communication The CSM1 works w...

Page 20: ...CSM1 Card Storage Module 14 This is a blank page...

Page 21: ...ta is transmitted asynchronously at levels of 0 5V DC The idle state is 0V This line is held high to indicate that the CSM1 can accept data when receiving data from 21X and CR7 dataloggers Pin 5 input...

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

Page 23: ...mark is not written into the card if a filemark already exists in the preceding data location A filemark is the byte pair 7C 01 Hex stored in the card If you send this sequence to the CSM1 as data it...

Page 24: ...inter points to a filemark or start of a program no data is output by these commands You must move the pointer past the filemark to get further data The simplest way of doing this is to use the NFM co...

Page 25: ...BR suffix b Lithium manganese batteries which are currently more readily available These batteries operate at temperatures down to 20 C The suffix for these batteries is generally CR For some battery...

Page 26: ...terminal voltage of the battery also varies with battery type and with temperature Therefore the exact capacity of battery available when the level detector indicates the intermediate capacity 1 on th...

Page 27: ...tore data if the battery is indicated as being dead En where n in the range of 0 254 indicates the number of bad characters received from a datalogger e g framing errors If n 255 this indicates that t...

Page 28: ...viding that the program is not delimited by filemarks 0F causes a continuous dump until the next filemark is reached nnnnnnH F Output binary and ASCII data This command is similar to the F command exc...

Page 29: ...f a validation check is shown again showing good pages as Another test pattern is loaded into the card at this stage Finally this is validated on the third line and the memory erased at the same time...

Page 30: ...haracters 07 07 Hex At the end of the transmission detected by the receipt of the 07 07 sequence the CSM1 sends carriage return linefeed and a decimal representation of the checksum of the received pr...

Page 31: ...e can be modified to connect to the datalogger s power terminals as follows 1 Unplug field cable from datalogger and SC532A 2 Cut off DB9 connector 3 Remove cable sheath exposing positive RED wire and...

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

Page 33: ...CSMCOM SOFTWARE...

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

Page 35: ...Collect All Program Files 3 3 7 D Store a DLD Program File 4 3 8 F Store a File 4 3 9 E Erase Reset and Test the Card 4 3 10 C Clear Data Area Quickly 5 3 11 Q Quit 5 4 Filename Conventions 5 5 Data...

Page 36: ...CSMCOM Table of Contents ii B COM Port Addresses B 1 B 1 CSMCOM and COM3 COM4 B 1 B 2 CSMCOM and the PC201 Card B 1 B 3 PS 2 Computers and CSMCOM B 1...

Page 37: ...r 4 CSMCOM now attempts to communicate with the module and ascertain the status of the card The program supports COM ports 1 to 4 with the addresses and IRQ lines as used by recent releases of Campbel...

Page 38: ...mmary of valid telecommunication commands press F1 a second press of F1 displays a second screen To leave the terminal emulator press the Esc key The terminal emulator option asks the module for an up...

Page 39: ...ores data to a specific file as with the N option but CSMCOM first asks for the starting location of the file This option is mainly used for recollecting old data that has already been collected or to...

Page 40: ...ded in the file to be stored If the file stored has an odd number of bytes the storage module appends a null character ASCII 0 decimal to the end of the file A filemark is written at the end of the fi...

Page 41: ...gram reading and loading are subject to verification procedures If CSMCOM is unable to reload a program back into the card a warning is displayed and a temporary file containing the program is retaine...

Page 42: ...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 ROOT001 DAT and ROOT002 DAT already ex...

Page 43: ...CII format the A format must be used to collect the data from the card Storing data directly in ASCII format is inefficient in terms of use of the card memory as printable ASCII requires five storage...

Page 44: ...message and select the E option After the card has been erased and formatted the module status returns to normal If the battery status displays LOW you should change the battery as soon as possible a...

Page 45: ...the program files are then collected and stored in a series of files with a root name PFILES A new program stored in PROG1 DLD is then loaded into program area 1 in the card Finally CSMCOM quits A 2 A...

Page 46: ...h computers the speed of offloading data from the CSM1 can be increased by manually setting the baud rate to 38400 baud You can set the baud rate at which CSMCOM initially tries to communicate by spec...

Page 47: ...hardware available for IBM PC XT AT computers i e add on serial cards etc Most boards use switches or jumpers to set the addresses and interrupts Please check the documentation for the board for detai...

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

Page 49: ...SMCREAD SOFTWARE...

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

Page 51: ...3 2 6 P Read All Program Files 3 2 7 D Store a DLD Program File 4 2 8 E Erase Reset and Teat the Card 4 2 9 C Clear Data Area Quickly 5 2 10 S Show the Position and Size of the Files in the Card 5 2...

Page 52: ...2 A 3 Adjusting Your CardServices Set up A 2 A 3 1 How to Choose Which Area of Memory to Allocate to CardServices A 2 A 3 2 SystemSoft s CardSoft Drivers A 3 A 3 3 Phoenix CardManager Card Services Dr...

Page 53: ...able Up to date information on the tested drivers and tips on how to get them to work is given in Appendix A To install the SMCRead software simply copy all the files on the distribution disk into you...

Page 54: ...ails You should only need to use this option when trying to diagnose problems with a corrupted card To obtain a summary of valid commands press F1 a second press of F1 displays a second screen To leav...

Page 55: ...h the exception that it reads just the latest file in the card and the data is written to a specific file rather than one specified with a root file name 2 5 L Read One Data File Starting at a Specifi...

Page 56: ...ion runs Press Y for yes or N for no as appropriate SMCRead runs the E option by issuing the 1248K command to the module and displaying the status of the process First a row of symbols is displayed On...

Page 57: ...he Files in the Card This option asks SMCRead to scan through the card and report the position and types of files found in the card A listing is written to the screen which is similar to a DOS directo...

Page 58: ...extension or specify no extension by terminating the file name 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...

Page 59: ...carriage return and line feed Comma delineated data is reasonably compact can be imported into most analysis packages and can also be read when printed see example in the PC208 manual 4 3 A As Stored...

Page 60: ...read first The normal procedure for replacing the battery is outlined below Read all data remove the card replace the battery and then rerun SMCRead using the E option to reformat and test the card Wh...

Page 61: ...e or the PIF file provided for the Ventura drivers The PIF files mentioned below must be linked to the Program Item manually using the Program Manager File Properties options and editing the working d...

Page 62: ...x 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 provided SMC_TOS PIF This forces the program to run...

Page 63: ...t with the PCMCIA Specification 2 10 If your drivers are prior to version 2 1 you must upgrade them Card Services 2 1 drivers are incompatible with Card Services 2 0 and so any programs written for 2...

Page 64: ...equired drivers for SMCRead are shown as follows as they would appear in your CONFIG SYS file your PATH may differ DEVICE C PCMCIA CNFIGNAM EXE DEFAULT DEVICE C PCMCIA PCMSS EXE DEVICE C PCMCIA PCMCS...

Page 65: ...looks something like EMM386Exclude D000 DFFF representing your exclude range A 3 1 How to Choose Which Area of Memory to Allocate to CardServices The address range used by CardServices can be from A00...

Page 66: ...drivers ship on many Toshiba and IBM machines SMCRead has been tested with these drivers The standard install for these drivers does not provide a big enough range for SMCRead to work so Phoenix user...

Page 67: ...good reason not to do so A 4 Using MemMaker supplied with MS DOS 6 xx This section does not apply specifically to SMCRead but you may wish to run MemMaker after adjusting the CardServices memory rang...

Page 68: ...Appendix A PCMCIA Driver Software Notes A 6 This is a blank page...

Page 69: ...stored in files with a root name of DFILES DAT in comma delineated format All the program files are then collected and stored in a series of files with a root name PFILES A new program stored in PROG...

Page 70: ...ine Operation B 2 Critical This parameter is used when running SMCRead under Windows to prevent task switching see section 5 5 SMCRead has the same capability as GraphTerm CSMCOM and SMCOM to send cha...

Page 71: ...y you have entered an invalid directory name No matching files found When requesting the program to display a list of files using a wildcard character no files of that type could be found Inadequate d...

Page 72: ...isplayed when collecting several files This usually means a program file was encountered between two data files No data found in the card or file error After attempting to collect several files the pr...

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

Page 74: ...campbellsci com br suporte campbellsci com br Campbell Scientific Canada Corp CSC 11564 149th Street NW Edmonton Alberta T5M 1W7 CANADA www campbellsci ca dataloggers campbellsci ca Campbell Scientifi...

Reviews: