man8/IGORtask
Table of Contents
IGORtask - CAMAC IGOR module service
IGORtask <argument list>
IGOR module I/O service for CAMAC.
The program supports Kinetic
Systems KSC3063 and perhaps similiar modules supplied by other manufacturers.
This type of module is commonly used to operate bending magnet power supplies.
The program registers with dbman as IGORtask.
Argument processing
is done using Unix long argument syntax.
The values of all 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 specified the default
is "localhost"
- --dev <path>
The pathname of the device to open. if this is not supplied the default
is "/dev/camac".
- --drv <drv>
The driver key. If this argument is not supplied the default is "CAMAC".
- --cmin <C>
The minimum crate number. If this argument is not supplied the default is
"1".
- --cmax <C>
The maximum crate number. If this argument is not supplied the default is
"99".
IGORtask expects DATA records with these DevKeys.
- Dev3063cc
Current control.
- Dev3063sc
- The data value of the Status control word is mapped
in the following way. This generates a CAMAC transaction each time the value
changes. The CAMAC transaction function code is F25.
0x01: A0
0x02: A1
0x04: A2
0x08: A3
other values do nothing.
Note that a value of 0x0 is not mapped to a transaction.
Usually the database parameter is a momentary where 0 is the nop state.
- Dev3063sr
- Status read word. The meaning of the bits depends on the connected
device.
Polling is normally performed at 1Hz. Fast polling
is not supported.
#
# this example services crates 1 thru 4
# dbman is running on the same host
#
IGORtask --dbman_host localhost --cmin 1 --cmax 4
# the previous example could also simply be writen as
# the following due to the default values.
IGORtask --cmax 4
In at least one type of bending magnet power supply
(Tokin) the
Dev3063sc subaddresses are mapped in the following way:
0x01:
A0 - DC power off
0x02: A1 - DC power on
0x04: A2 - reverse polarity
0x08: A3 - not used
This may not be true of other power supplies.
$Id: IGORtask.8,v 1.6 2007/07/12 15:06:48 mcnamer Exp $
Table of Contents