![Campbell CR5000 Скачать руководство пользователя страница 213](http://html1.mh-extra.com/html/campbell/cr5000/cr5000_operators-manual_489195213.webp)
Section 9. Program Control Instructions
9-7
FileManage Example
The statement below uses FileManage to run TEMPS.CR5, which is stored on
the datalogger's CPU, when Flag(2) becomes high.
If Flag(2) then FileManage( "CPU:TEMPS.CR5" 4 ) '4 means Run Now
FileMark (TableName)
Parameter
& Data Type
Enter
TableName
name
The name of the data table in which to insert the filemark..
FileMark is used to insert a filemark into a data file. The filemark can be used
by the decoding software to indicate that a new file should be started at the
mark. This capability to create multiple files only exists in the binary to ASCII
converter. To make use of it files must be stored to a PCMCIA card and
retrieved from the logger files screen or by removing the card and transferring
the file directly to the computer.
FileMark is placed within a conditional statement in order to write the filemark
at the desired time.
For ... Next Statement
Repeats a group of instructions a specified number of times.
Syntax
For counter = start To end [ Step increment ]
[statementblock]
[Exit For]
[statementblock]
Next [counter [, counter][, ...]]
The For...Next statement has these parts:
Part
Description
For
Begins a For...Next loop control structure. Must appear
before any other part of the structure.
counter
Numeric variable used as the loop counter. The variable
cannot be an array element or a record element.
start
Initial value of counter.
To
Separates start and end values.
end
Final value of counter.
Step
Indicates that increment is explicitly stated.
increment
Amount counter is changed each time through the loop. If
you do not specify Step, increment defaults to one.
statementblock
Program lines between For and Next that are executed the
specified number of times.
Содержание CR5000
Страница 39: ...Section 1 Installation and Maintenance 1 15 S A N Y O FIGURE 1 11 6 Removal of band clamp and battery ...
Страница 40: ...Section 1 Installation and Maintenance 1 16 This is a blank page ...
Страница 54: ...Section 2 Data Storage and Retrieval 2 14 This is a blank page ...
Страница 88: ...Section 4 CRBasic Native Language Programming 4 12 This is a blank page ...
Страница 94: ...Section 5 Program Declarations 5 6 This is a blank page ...
Страница 172: ...Section 7 Measurement Instructions 7 46 This is a blank page ...
Страница 206: ......
Страница 236: ...Index Index 4 This is a blank page ...
Страница 237: ...This is a blank page ...