Campbell Scientific CR850 CR800 and CR850 Measurement and Control Systems - Page 326
File Attributes, 3.4.2 Data Preservation
View all Campbell Scientific CR850 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 326 highlights
Section 8. Operation 8.3.4.1 File Attributes A feature of program files is the file attribute. Table CR800 File Attributes (p. 326) lists available file attributes, their functions, and when attributes are typically used. For example, a program file sent via the support software Program Send command, runs a) immediately ("run now"), and b) when power is cycled on the CR800 ("run on power-up'). This functionality is invoked because Program Send sets two CR800 file attributes on the program file, i.e., Run Now and Run on Power-up. When together, Run Now and Run on Power-up are tagged as Run Always. Note Activation of the run-on-power-up file can be prevented by holding down the Del key on the external keyboard / display while the CR800 is powering up. Table 75. CR800 File Attributes Attribute Function Attribute for Programs Sent to CR800 with: Run Always (run on power-up + run now) Runs now and on power-up. a) Send (p. 431) 1 b) File Control2 with Run Now & Run on Power-up selected. c) Campbell Scientific mass-storage media (USB: drive) power-up3 using commands 1 & 13 (see table Powerup.ini Commands (p. 329) ). Run on Power-up Runs only on power-up a) File Control2 with Run on Power-up checked. b) Campbell Scientific mass-storage media (USB: drive) power-up3 using command 2 (see table Powerup.ini Commands (p. 329) ). Run Now Runs only when file sent to CR800 a) File Control2 with Run Now checked. b) Campbell Scientific mass-storage media (USB: drive) power-up3 using commands 6 & 14 (see TABLE. Powerup.ini Commands (p. 329) ). However, if Campbell Scientific mass-storage media (USB: drive) is left in, program loads again from Campbell Scientific mass-storage media (USB: drive). 1Support software program Send (p. 431) command. See software Help. 2Support software File Control (p. 431). See software Help & Preserving Data at Program Send (p. 110). 3Automatic on power-up of CR800 with Campbell Scientific mass-storage media (USB: drive) and Powerup.ini. See Power-up (p. 327). 8.3.4.2 Data Preservation Associated with file attributes is the option to preserve data in CR800 memory when a program is sent. This option applies to data table SRAM, and support software cache data (p. 426). Depending on the application, retention of data files when a program is downloaded may be desirable. When sending a program to the CR800 with the support software Send command, data are always deleted before the program runs. When the program is sent using support software File Control Send (p. 431) command or CRBasic Editor Compile, Save and Send (p. 428) options to preserve (not erase) or not preserve (erase) data are presented. The logic in table Data-Preserve Options (p. 327) summarizes the disposition of CR800 data depending on the data preservation option selected. 326