2 editing an existing program, 2 editing an existing program -12 – Campbell Scientific PC400 Datalogger Support Software User Manual

Page 148

Advertising
background image

Section 8. Datalogger Program Creation with Edlog

These are correct ways of entering the above expressions:

tee=5*(2)

mu=(nu)*103

bee=10.52*(ef/2)

sigma=-17*(RCP(alpha))

(4) A label or function is immediately after a set of parentheses without an

operator.

For Example:

This error message is displayed when a program contains any of these
expressions:

result=(ex^2)data

gamma=(10-omega)SIN(psi)

dee=(17)number

These are correct ways of entering the above expressions:

result=(ex^2)*data

gamma=(10-omega)*SIN(psi)

dee=(17)*number

Equal Sign Expected

An equal sign MUST immediately follow the label of the Input Location that
stores the results (e.g., label = expression). An expression that contains no
equal sign causes compiler error 202, “unrecognized text”.

For Example:

“Equal sign expected” is displayed when a program contains any of these
expressions:

zee/2=bee

data+number=volt1+volt2

These are correct ways of entering the above expressions:

bee=zee/2

data=volt1+volt2-number

8.1.2 Editing an Existing Program

To edit an existing file, load it into Edlog by choosing File | Open from the
Edlog menu. Changes can be made as desired and then the file can be saved
and compiled under the same (File | Save) or a new name (File | Save As).
TABLE 8-2 provides a list of keystrokes that can be used in editing programs
and moving around in Edlog.

8-12

Advertising