gdgwidget

Name

gdgwidget -- Widget to control/display GDG-8.

Synopsis

package require gdgwidget

gdgwidget path ?options...?

path methodname ?params...

DESCRIPTION

This is a pre-packaged widget that supplies the needed interfaces for use with gdgcontrol. The widget allows you to control and view the setttings of the Wiener/Jtec GDG8 unit.

OPTIONS

-title

The value of this option is the title of the widget. The widget title is displayed at the top of the widget and should be used to differentiate between control panels of differing modules.

-upwidth

The value of this option is a script called by the widget when the user has requested a channel width be incremented by one nanosecond. The script is passed a channel number and the value prior to the increment.

-downwidth

The value of this option is a script called by the widget when the user has requested a channel width be decremented by one nanosecond. The script is passed a channel number and the value prior to the decrement.

-updelay

The value of this option is called by the widget when the user has requested a channel delay be incremented by a nanosecond. The script has the channel number and the original value of the delay appended to it.

-downdelay

Same as -updelay except the user has requested the delay be decremented by a nanosecond.

-setdelay

Script to process requests for a specific delay value to be set for a channel. The channel number and requested delay in nanoseconds are appended to this script.

-setwidth

Similar to -setdelay but a channel delay is being set.

METHODS

getWidth chan

Returns the value of the control for the width of channel chan. The units of this width are nanoseconds.

setWidth channel width

Sets the value of the width control for channel to width nanoseconds.

getDelay channel

Gets the value of the delay control for channel. The units of this value are nanoseconds.

setDelay channel value

Sets the value of the control for the delay in channel to value nanoseconds.