Campbell Scientific CR10X CR10X Measurement and Control System - Page 67
Manually Initiated Data, Output, Printer Output Formats
View all Campbell Scientific CR10X manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 67 highlights
SECTION 4. EXTERNAL STORAGE PERIPHERALS 4.2 MANUALLY INITIATED DATA OUTPUT - ∗8 MODE Data transfer to a peripheral device can be manually initiated in the ∗8 Mode. This process requires that the user have access to the CR10X through a terminal or the CR10KD. The ∗8 Mode allows the user to retrieve a specific block of data, on demand, regardless of whether or not the CR10X is programmed for on-line data output. If external storage peripherals are not left online, the maximum time between collecting data must be calculated to ensure that data in Final Storage are not lost due to write-over. To calculate this time it is necessary to know: (1) the size of Final Storage, (2) the number of Output Arrays being generated, (3) the number of low and/or high resolution data points per Output Array, and (4) the rate at which Output Arrays are placed into Final Storage. When calculating the number of data points per Output Array, remember to add 1 data point per array for the Output Array ID. For example, assume that 62,280 locations are assigned to Final Storage (∗A Mode), and that 1 Output Array, containing the Array ID (1 memory location), 9 low resolution data points (9 memory locations) and 5 high resolution data points (10 memory locations), is stored each hour. In addition, an Output Array with the Array ID and 5 high resolution data points (11 memory locations) is stored daily. This is a total of 491 memory locations per day ((20 x 24) + 11). 62,280 divided by 491 = 126.8 days. Therefore, the CR10X would have to be visited every 126 days to retrieve data, because write-over would begin on the 127th day. The site should be visited more frequently than this for routine maintenance. Thus data storage capacity would not be a factor in determining how frequently to visit the site. The output device codes used with the ∗8 Mode are the same as those used with Instruction 96 (Table 4.1-1), with the exception of the option to transfer data from one Final Storage area to the other (80, 81). Table 4.2-1 lists the keystrokes required to initiate a ∗8 data dump. 4.3 PRINTER OUTPUT FORMATS Printer output can be sent in binary Final Storage Format (Appendix C.2), Printable ASCII, or Comma Separated ASCII. These ASCII formats may also be used when data from the Storage Modules or Telecommunications are stored on disk with Campbell Scientific's PC208 software. 4.3.1 PRINTABLE ASCII FORMAT In the Printable ASCII format each data point is preceded by a 2 digit data point ID and a (+) or (−) sign. The ID and fixed spacing of the data points make particular points easy to find on a printed output. This format requires 10 bytes per data point to store on disk. Figure 4.3-1 shows both high and low resolution data points in a 12 data point Output Array. The example data contains Day, Hour-Minute, and Seconds in the 2nd - 4th data points. REMEMBER! You must specifically program the CR10X to output the date and time values. The Output Array ID, Day, and Time are always 4 character numbers, even when high resolution output is specified. The seconds resolution is .125 seconds. Each full line of data contains 8 data points (79 characters including spaces), plus a carriage return (CR) and line feed (LF). If the last data point in a full line is high resolution, it is followed immediately with a CR and LF. If it is low resolution, the line is terminated with a space, CR and LF. Lines of data containing less than 8 data points are terminated similarly after the last data point. 4-3