Specifications

Section 7. Measurement Instructions
the mask is entered as &B110 (leading zeros can be omitted in binary format
just as in decimal) and the source is 5 decimal (binary 101) port 3 will be set
high and port 2 will be set low. The mask indicates that only 3 and 2 should be
set. While the value of the source also has a 1 for port 1, it is ignored because
the mask indicates 1 should not be changed.
Example
WriteIO (&B100, &B100) ' Set port 3 high.
Parameter
& Data Type
Enter
Mask
Constant
The Mask allows the read or write to only act on certain ports. The Mask is
ANDed with the value obtained when reading and ANDed with the source
before writing.
Source
Constant
Variable
The Variable or number that is to be written to the I/O ports.
7.8 Specific Sensors
CS110 ( Dest, Leakage, Status, Integ, Mult, Offset )
The CS110 instruction is used to measure an electric field by means of a
CS110 electric field meter.
See the CRBasic Editor or the CS110 manual for details on the instruction.
CS616 (Dest, Reps, SEChan, Port, MeasPerPort, Mult, Offset )
The CS616 instruction is used to enable and measure a CS616 water content
reflectometer. This instruction outputs a period measurement in microseconds.
Parameter
& Data Type
Enter
Dest
The Dest parameter is the variable or variable array in which to store the results
of the measurement. Dest must be dimensioned to at least the number of Reps.
Reps
The Reps parameter is the number of measurements that should be made using
this instruction. If Reps is greater than 1, Dest must be an array dimensioned to
the size of Reps.
SEChan
The SEChan parameter is the number of the single-ended channel on which to
make the first measurement. If the Reps parameter is greater than 1, the
additional measurements will be made on sequential channels.
Port
The Port parameter is the control port (1-8) that will be used to enable the
CS616 sensor.
7-27