![Campbell CR9000 Instruction Manual Download Page 196](http://html1.mh-extra.com/html/campbell/cr9000/cr9000_instruction-manual_489197196.webp)
Section 9. Program Control Instructions
9-10
Remarks
FileManage is a function that allows a running DLD program to manipulate
files that are stored in the CR9000. "d:FileName" is the device and name of
the file that must have previously been stored in the CR9000. The device must
be
CPU:
or a possible Pam device such as
P4A:
.
P4A:
means
P
am in slot
4
,
card
A
. The quote marks ( " ) are necessary. The attributes are actually a bit
field as follows:
Bit Decimal
Description
bit 0
1
not used
bit 1
2
Run On Power Up
bit 2
4
Run Now
bit 3
8
Delete
bit 4
16
Delete All
FileManage Example
The example uses FileManage to run CPU:TEMPS.DLD when Flag(2) becomes high.
If Flag(2) then
FileManage(
"CPU:TEMPS.DLD" 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
][, ...]]
Summary of Contents for CR9000
Page 6: ...CR9000 Table of Contents iv This is a blank page ...
Page 22: ...CR9000 Overview OV 16 This is a blank page ...
Page 26: ...Section 1 Installation 1 4 CR9000 FIGURE 1 1 3 CR9000 Battery Pack ...
Page 72: ...Section 3 CR9000 Measurement Details 3 28 This is a blank page ...
Page 88: ...Section 5 Program Declarations 5 6 This is a blank page ...
Page 217: ...This is a blank page ...