Customizing Open
Using Spare Channels
26-24
Using the LI-6400
26
Control"
example found in the
"Configuration Examples Menu"
in the
"Installation Menu"
of the Config Menu.
As a result of doing this installation, a module named Ò/User/Configs/Mod-
ules/LI-610 Fct KeyÓ will be created (Figure 26-1 on page 26-9). You can
modify this module as needed to suit your purposes, and store it under a new
name. To add your function key to any configuration, add the line
:include "/user/configs/modules/
<name>
"
to the ComputeList, where
<name>
is the name of your modified module.
¥
Every time user variables are computed
A very easy way to update an analog output channel is to do it each time user
variables are computed (approximately every 2 or 3 seconds). For example,
if you want to have an analog output that is proportional to photosynthetic
rate, edit the ComputeList definition of photosynthesis to be
##30 "Photo" "Photosynthesis (umol/m2/s)"
"-#10*co2_diff_um - co2_2_um*#20
AOSET(#30 * 5000.0 / 30.0, 3)
This uses D/A channel 3, and scales the signal so that 5V is 30 µmol m
-2
s
-1
.
¥
Whenever you feel like it (no programming required)
A simple method of setting a D/A channel is to do the AOSET manually from
the keyboard. From OPENÕs main screen, press
K
to run the LPL Shell pro-
gram. At the ok: prompt, type the command and press
enter
. For example,
ok:2450 3 AOSET
will set channel 3 to 2450 mV. Press
escape
to leave this mode.
¥
In an AutoProgram
If the D/A is to be controlled only when a particular AutoProgram is running,
then that can simplify the programming. The control can be set at the start of
the AutoProgram, or, if frequent updates are necessary, the control can be up-
dated once each second during the AutoProgram. See
Summary of Contents for LI-6400
Page 1: ...Using the LI 6400 Portable Photosynthesis System ...
Page 15: ...Part I The Basics ...
Page 16: ......
Page 174: ...Making Measurements Answers to Questions 4 56 Using the LI 6400 4 ...
Page 175: ...Part II Useful Details ...
Page 176: ......
Page 200: ...Standard Tools Power ON Hooks 5 24 Using the LI 6400 5 ...
Page 214: ...Real Time Data Real Time Graphics 6 14 Using the LI 6400 6 ...
Page 234: ...Environmental Control Light Control 7 20 Using the LI 6400 7 ...
Page 244: ...Light Sensor Considerations Gallium Arsenide Phosphide GaAsP Sensor 8 10 Using the LI 6400 8 ...
Page 288: ...Data Logging Making Your Own AutoPrograms 9 44 Using the LI 6400 9 ...
Page 289: ...Part III Working With Files ...
Page 290: ......
Page 312: ...The LPL File System Troubleshooting 10 22 Using the LI 6400 10 ...
Page 340: ...Downloading Files Using a Data Capture Program 11 28 Using the LI 6400 11 ...
Page 375: ...Part IV Configuration Issues ...
Page 376: ......
Page 420: ...Defining User Variables Old Style vs New Style 15 18 Using the LI 6400 15 ...
Page 454: ...Using an Energy Balance Further Reading 17 12 Using the LI 6400 17 ...
Page 455: ...Part V Maintenance Troubleshooting ...
Page 456: ......
Page 572: ...Troubleshooting Useful Information 20 46 Using the LI 6400 20 ...
Page 593: ...Part VI Programming ...
Page 594: ......
Page 622: ...Programming with LPL Compiler Directives 22 28 Using the LI 6400 22 ...
Page 846: ...Index I 16 Using the LI 6400 ...