man8/486task

Table of Contents

Name

486task - Control task for a Keithley 486 picoammeter

Synopsis

486task --dbman_host <hn> --dev <dev> --mngr <fn> --help

Description

Keithley 486 picoammeter control program.

Arguments

Argument processing is done using Unix long argument syntax.

The values of all of the parameters listed here (whether or not they were supplied on the command line) are printed on stderr when the program starts.

--dbman_host <hn>

The host where dbman is running.

If this argument is not supplied the default is "localhost".

--dev <dev>

The serial device to open.

If this argument is not supplied the default is "/dev/ttyS1".

--mngr_conf <fn>

The pathname to the CONFLIST configuration file used by the program.

If this argument is not supplied the default is "./MNGRconf".

--mngr_pn <pn>

The program name to use when parsing the CONFLIST configuration file used by the program.

The default program name is: 486task

--CR_avg_coeff <v>

CR averaging coefficient

If this argument is not supplied the default is: 0.2.

The range is 0-->1.0.

A value of 1.0 means the new value has the highest weight and the old value isn’t used.

There is no sanity checking on the entered value so the user is expected to be careful.

--CR_poll_time <v>

CR polling time interval in mS.

If this argument is not supplied the default is: 1000

--CR_poll_cnt <v>

CR polling retry count

If this argument is not supplied the default is:

100

This is the number of times to try reading the answer from the serial port.

Since the polling routine waits 1mS between attempts this is more or less a tmo who’s value is in mS.

--debug_poll

enable CR polling debug statements
--debug_read

enable response read debug statements
--help

Print 486task’s internal help to stderr.

MNGRconf parameters

g1 is used by the program.

The parameter names are shown below as "<func> <idx>".

Please see libmngr(3mngr) for general information on the format and usage of parameters of this type.

The Preset field is not used and may be left blank.

resp1 0 - required

The current read

resp1 0 - required

picoammeter current read.

Permissions and ownership of the parameter must be such that PPCItask may write to the data point.

resp1 1 - required

picoammeter average current read.

Permissions and ownership of the parameter must be such that PPCItask may write to the data point.

comm1 0 - optional

Reset control.

comm2 0 - optional

Clear control.

This clears the current average.

0.0 - nop
1.0 - clr

Permissions and ownership of the parameter do not matter to PPCItask.

MNGRconf file example


#
#     486task sample MNGRconf file
#
#
486task|g1|resp1 |0|PICO_AMM|CR |
486task|g1|resp1 |1|PICO_AMM|CRavg |
#
486task|g1|comm1 |0|PICO_AMM|ResetSC |
486task|g1|comm1 |1|PICO_AMM|ClearSC |

Examples

#
# Example startup for 486task
#
# dbman is running on the same host as PPCItask i.e. "localhost"
#
#
#
# This example uses all of the arguments even though many
# of the argument values are the same as the defaults and
# therefore do not need to be specified.
#
# The MNGRconf file is located in /AccelNET/demo/config/MNGRconf
#
# The arguments are continued on multiple lines to avoid
# having the man page formatting wrap them.
#


486task --dbman_host localhost \
--dev /dev/ttyS1 \

-

-

mngr /AccelNET/demo/config/PPCIconf

Manual page revision

$Id: 486task.8,v 1.1 2008/07/28 15:56:36 kitchen Exp $


Table of Contents