This package provides a megawidget that is a control panel for a single CAEN N568 module. The control panel can be used in user applications and is also used by the n568Control(1tcl) script.
As with any Tk widget, the widget understands the config and cget commands. These allow you to set and query the values of the options described below:
Specifies the CAENnet node of the shaper module to control.
Specifies the VME crate number in which the CAENnet controller connected to the shaper module resides. If not supplied, the VME crate number defaults to 0.
Specifies the base address of the CAENnet controller connected to the shaper module.
Provides a documentation name for the shaper. This name appears in the control panel to help the user identify the shaper and how it is being used in the experiment.
Allows the user to provide a script that will be called
whenever a shaper control parameter is modified.
A three element list will be appended to the user's script,
so it is usual
for the script ot be a
The list contents are;
action specifies what
was changed, and can be any of:
indicating the Coarse gain changed,
fine Fine gain changed.
pole0 Pole 0
channel input polarity changed.
shapetime the shaping
time constant changed.
offset the common offset
is an empty string for
offset and the number of the
was changed for any other action.
value is the new value of the parameter
Specifies a script to be executed if the controller detects an alarm condition. Note that at present, no alarmconditions are defined for the N568, however this is provided for compatibility with other megawidgets that do device control and do have defined alarm conditions.
The widget supports commands which are related to the management of the module's property list. A property list is a Tcl list containing elements that are name, value pairs. An element of a propertylist (property) defines a piece of the state of the module. See PROPERTIES below for more information about the properties supported by the n568b.
Returns the property list for path.
propertyList into the module.
The module is restored to the state defined by the property
list. If any properties are omitted, that section of
the module state is not modified.
The properties supported by the megawidget are:
The module common offset.
The coarse gain of channel n.
The fine gain of channel n.
The pole zero adjust for channel n.
The output configuration state for channel n.
The input polarity for channel n.
The shaping time for cahnnel n.