Table of Contents
MagScale - change a parameter over a range and monitor another parameter
MagScale <dbman_host> <Clabel> <Crefname> <Dlabel> <Drefname> <PhyMin> <PhyMax>
<steps> <time>
This program starts with PhyMin and sets the controlled
parameter to value between PhyMin and PhyMax in steps.
The program pauses
for time between each step.
After time the value of the read datapoint and
the control datapoint are written to the stdout in F format.
This program
is used to generate the piecewise approximation tables need by BMmngr(8)
.
- dbman_host
The host where dbman is running.
- Clabel Crefname
The parameter to issue values to.
- Dlabel Drefname
The parameter to read values from.
- PhyMin
The beginning value to set the control parameter to.
- PhyMax
The ending value to set the control parameter to.
- steps
The number of steps to divide PhyMin and PhyMax into.
- time
The time between steps.
MagScale csdev1 "BM 01-1" "CC " "HPB
01-1" "MfieldR " 0.0 125.0 50 15
Set BM 01-1 from 0 to 125 amps in 50 steps and wait 15 secs between steps.
Read HPB 01-1 MfieldR after every step.
This program deliberately writes the read parameter followed by the
control parameter into the output file.
It is done this way because the
piecewise tables used by BMmngr(8)
are field strength oriented, i.e. the
operator enters a new field strength which is "looked up" in the piece
table to get a starting value for the current.
$Id:
MagScale.1,v 1.3 2004/06/14 16:05:08 kitchen Exp $
Table of Contents