Campbell CR800 Spécifications Page 247

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 324
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 246
Section 9. Program Control Instructions
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 CF 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
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.
9-7
Vue de la page 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 323 324

Commentaires sur ces manuels

Pas de commentaire