Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

GGLT Class Reference

Global Trigger. More...

Inheritance diagram for GGLT:

Inheritance graph
[legend]
Collaboration diagram for GGLT:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __init__ (client, parent=None)
 Initialize valid registers as Gattrs.
 getEPUaddr ()
 read (reg)
 load (reg, value)
 send (cmd)
 initialize ()
 waitForMaskEnable (tmo=None)
 Waits until the enableMask() method is called.
 enableMask ()
 Commits the mask value to hardware.
 disableMask ()
 Disables all trigger masks but doesn't change the cached mask value.
 triggersDisabled ()
 Check if the triggers are disabled.
 isMaskDirty ()
 Return the mask dirty flag.
 refreshMask ()
 Refreshes the cached value of the mask from the hardware.
 getEnableTime ()
 Returns the VxWorks timestamp at the time the triggers are enabled.
 getDisableTime ()
 Returns the VxWorks timestamp at the time the triggers are disabled.
 setDestinationOverride (override)
 Sets the flag to determine whether the user should be able to override the destination value.

Detailed Description

Global Trigger.

Has GGLT specific registers and dataless commands.

Valid Registers:

Dataless Commands:

Options Register Bit Fields:

Configuration Register Bit Fields:

Mask Register Bit Fields:

Definition at line 70 of file gGLT.py.


Member Function Documentation

__init__ client  ,
parent  = None
 

Initialize valid registers as Gattrs.

Assign default values to members

disableMask  ) 
 

Disables all trigger masks but doesn't change the cached mask value.

This way when the triggers are enabled again, the old setting can be applied.

enableMask  ) 
 

Commits the mask value to hardware.

Returns:
The value of the dirty flag before the commit is made.

getDisableTime  ) 
 

Returns the VxWorks timestamp at the time the triggers are disabled.

Returns:
Trigger disable time

getEnableTime  ) 
 

Returns the VxWorks timestamp at the time the triggers are enabled.

Returns:
Trigger enable time

isMaskDirty  ) 
 

Return the mask dirty flag.

Returns:
Mask dirty flag.

setDestinationOverride override   ) 
 

Sets the flag to determine whether the user should be able to override the destination value.

Parameters:
override 0=Destination is supplied as the LCB address as returned by CmdCli.getLcbAddr() 1=The user supplied destination value takes effect

triggersDisabled  ) 
 

Check if the triggers are disabled.

Returns:
True if triggers are disabled, False if triggers are disabled.

waitForMaskEnable tmo  = None  ) 
 

Waits until the enableMask() method is called.

This is usually needed by non-self-triggering scripts where the _commandSynch thread needs to wait until RunControl actually enables the mask before continuing.

Parameters:
tmo Optional parameter giving the wait timeout in seconds


The documentation for this class was generated from the following file:
Generated on Fri Jul 21 13:27:03 2006 for LATTE R04-12-00 by doxygen 1.4.3