Campbell Scientific CR10 CR10 Measurement and Control - Page 48
data., allot
View all Campbell Scientific CR10 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 48 highlights
SECTION 2. INTERNAL DATA STORAGE Output Processing Instructions store data into Final Storage only when the Output Flag is set. The string of data stored each time the Output Flag is set is called an OUTPUT ARRAY. The first data point in the output array is a 3 digit OUTPUT ARRAY lD. This lD number is set in one of two ways: 1. In the default condition, the lD consists of the program table number and the Instruction Location Number of the instruction which set the Output Flag for that particular array of data. For example, the lD of 1 18 in Figure 2.1-2 indicates that the 18th instruction in Table 1 set the Output Flag. 2. The output array lD can be set by the user with the second parameter of Instruction 80 (Section 1 1). The lD can be set to any positive integer up to 511. This option allows the user to make the output array lD independent of the programming. The program can be changed (instructions added or deleted) without changing the output array lD. This avoids confusion during data reduction, especially on long term projects where program changes or updates are likely. TABLE NUMBER [-PROGRAM I f- LOCATION NUMBER 0F THE INSTRUCTION WHICH SET THE OUTPUT FIAG FOR THIS ARRAY I I L] 01+0118 lT- | DATA PoINT - DATA POINT ID FIGURE 2.1-2. Output Array lD NOTE: lf Instruction 80 is used to designate the active Final Storage Area and parameter 2 is 0, the output array lD is determined by the position of lnstruction 80 or by the position of the instruction setting the Output Flag, whichever occurs last. A start-of-array marker ($ in Figure 2.1-1) is written into Final Storage with the Output Array lD. This marker is used as a reference point from which to number the data points of the output array. The start ol array marker occupies the same Final Storage location as the Array lD and is transparent for all user operations. 2-2 Data are stored in Final Storage before being transmitted to an externaldevice. There are 5 pointers for each Final Storage Area which are used to keep track of data transmission. These pointers are: 1. Display Pointer (DPTR) 2.. Tape Pointer (TPTR) 3. Printer Pointer (PPTR) 4. Telecommunications (Modem) Pointer ( 5. Storage Module Pointer (SPTR) The DPTR is used to recall data to the keyboa display. The positioning of this pointer and data recallare controlled from the keyboard (.7 The TPTR is used to control data transmission to'a cassette tape recorder. When on-line tape transfer is activated (lnstruction 96, option 00), data is transmitted to tape whenever the DSP is a minimum ol512 memory locations ahead of the TPTR. The TPTR may also be positioned via the keyboard for manually initiated data transfer to tape (.8 Mode). The PPTR is used to controldata transmission to a printer or other serial device. Whenever on-line printer transfer is activated (lnstruction 96), data between the PPTR and DSP are transmitted. The PPTR may also be positioned via the keyboard for manually initiated data transmission (*8 Mode). The MPTR is used in transmitting data over a telecommunications interface. When telecommunications is first entered, the MPTR set to the same location as the DSP. of the MPTR is then controlled by commands the externalcalling device (Section 5.1). The SPTR is used to control data transmission Storage Module. When on-line transfer is by Instruction 96, data is transmitted each time output array is stored in Final Storage lF THE STORAGE MODULE IS CONNECTED TO THE CR10. lf the Storage Module is not connected, CRlO does not transmit the data nor does it the SPTR to the new DSP location. lt saves the untilthe Storage Module is connected. Then, d the next execution of lnstruction 96, the CR10 outputs allot the data between the SPTR and DSP and updates the SPTR to the DSP location (Section 4.1) The SPTR may also be positioned via the keyboard for manually initiated data transfer to the Storage Module (*8 Mode, Section 3.2.3).