Campbell Scientific CR6 CR6 Measurement and Control System - Page 388
Creating and Editing Powerup.ini
![]() |
View all Campbell Scientific CR6 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 388 highlights
Section 8. Operation Options for powerup.ini also allow final-data memory management comparable to the support software File Control (p. 496) feature. Note that the CRD: drive has precedence over the USB: drive. Caution Test the powerup.ini file and procedures in the lab before going to the field. Always carry a laptop or palm PC into difficult- or expensive-to-access places as backup. Powerup.ini commands include the following functions: • Sending programs to the CR6. • Optionally setting run attributes of CR6 program files. • Sending an OS to the CR6. • Formatting memory drives. • Deleting data files associated with the previously running program. Note Back in the old days of volatile RAM, life was frustrating, but simple. Lost power meant lost programs, variables, and data - a clean slate. The advent of nonvolatile memory has saved a lot of frustration in the field, but it requires thought in some applications. For instance, if the CR6 loses power, do you want it to power back up with the same program, or another one? with variables intact or erased? with data intact or erased? When power is connected to the CR6, it searches for powerup.ini executes the command line(s) prior to compiling a program. Powerup.ini performs three operations: 1. Copies the specified program file to a specified memory drive. 2. Optionally sets a file run attribute (Run Now, Run on Power Up, or Run Always) for the program file. 3. Optionally deletes data files stored from the overwritten (just previous) program. 4. Formats a specified drive. Execution of powerup.ini takes precedence during CR6 power-up. Although powerup.ini sets file attributes for the uploaded programs, its presence on a drive does not allow those file attributes to control the power-up process. To avoid confusion, either remove the external drive on which powerup.ini resides or delete the file after the power-up operation is complete. 8.3.3.4.1 Creating and Editing Powerup.ini Powerup.ini is created with a text editor on a PC, then saved on a memory drive of the CR6. The file is saved to the memory drive, along with the operating system or user program file, using the datalogger support software (p. 604) File Control Send (p. 496) command. Note Some text editors (such as MicroSoft® WordPad®) will attach header information to the powerup.ini file causing it to abort. Check the text of a powerup.ini file in the CR6 with the external keyboard display to see what the CR6 actually sees. Comments can be added to the file by preceding them with a single-quote 388
![](/manual_guide/products/campbell-scientific-cr6-cr6-measurement-control-a476969/388.png)