Adjust command

NAME

adjust-digital to analog converter adjusting command

SYNOPSIS

adjust chan= [desired=10000] [tolerance=5] [node=] [help] [verbose] [min=] [max=]

DESCRIPTION

adjust adjusts the value of the dac specified in the chan= so that the count rate in the specified is is 10kHz or the value specified by the desired option.

The dac values will be adjusted in the rage of 100 and 500. These values can be adjusted to different amounts by using the min and max options; check the current values by setting the verbose flag. If the dac cannot be adjusted to get the desired count rate, an error message will be issued and the program will terminate with a non-zero exit code.

The program will stop adjusting the dac value when the dac change is less than the tolerance specified on the command line.

Many of the options of the readphot command are also available.

NOTES

This command is best used in a script e.g. adjustall tailored for the entire device. For example :
#!/bin/csh
# script to adjust all the DACs

set DESIRED=1000

adjust chan=0 min=2062 max=2200 tolerance=1 desired=$DESIRED
if ($status) exit
adjust chan=1 min=2063 max=2200 tolerance=1 desired=$DESIRED
if ($status) exit
adjust chan=2 min=2064 max=2200 tolerance=1 desired=$DESIRED 
if ($status) exit


[ Seti index | Leuschner Observatory ]

Last Revised May 29, 2000