Specifications
Section 5. Program Declarations
5-5
FormatFloat Example
The following program shows the use of the FormatFloat instruction. Using the
software's numeric monitor, enter a value into FloatVal that should be
converted into a string value.
Public FloatVal as Float
Public StringVal as String * 20
BeginProg
Scan (1,Sec,3,0)
StringVal = FormatFloat (FloatVal,"%f")
NextScan
EndProg
INTDV
Performs an integer division of two numbers.
Syntax
X INTDV Y
Remarks
The INTDV function divides one number by another and returns the integer
portion of the result. The function can be used in an expression or set equal to
a variable (e.g., Result = X INTDV Y).
PipelineMode
The PipelineMode instruction is used to configure the datalogger to separate
measurement, processing and SDM communication tasks and execute them
concurrently.
Syntax
PipelineMode
Remarks
The datalogger has two processing modes: sequential mode and pipeline mode.
In sequential mode, instructions are executed by the datalogger sequentially as
they occur in the program. In pipeline mode, measurement tasks and
processing tasks are handled separately and executed concurrently.
The default mode of operation is pipeline mode. However, when the
datalogger program is compiled, the datalogger analyzes the program
instructions and automatically switches to sequential mode if the code requires
it. The datalogger can be forced to run in the pipeline or sequential mode by
placing the appropriate instruction at the beginning of the program before the
BeginProg instruction.
See OV2.3 for more description of the Pipeline and Sequential mode.