Changeset 2775 for trunk/GSASIIimgGUI.py


Ignore:
Timestamp:
Apr 10, 2017 11:33:13 AM (5 years ago)
Author:
toby
Message:

make autoint polltime adjustable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r2759 r2775  
    12211221            G2frame.autoIntFrame.Raise()
    12221222            return
    1223         G2frame.autoIntFrame = AutoIntFrame(G2frame,PollTime=10.0)
     1223        PollTime = GSASIIpath.GetConfigValue('Autoint_PollTime',30.)
     1224        G2frame.autoIntFrame = AutoIntFrame(G2frame,PollTime=PollTime)
    12241225        G2frame.autoIntFrame.Bind(wx.EVT_WINDOW_DESTROY,OnDestroy) # clean up name on window close
    12251226    G2frame.dataFrame.Bind(wx.EVT_MENU, OnAutoInt, id=G2gd.wxID_IMAUTOINTEG)
     
    22952296    :param wx.Frame G2frame: main GSAS-II frame
    22962297    :param float PollTime: frequency in seconds to repeat calling the
    2297       processing loop. (Default is 3.0 seconds.)
     2298      processing loop. (Default is 30.0 seconds.)
    22982299    '''
    22992300
    2300     def __init__(self,G2frame,PollTime=60.0):
     2301    def __init__(self,G2frame,PollTime=30.0):
    23012302        def OnStart(event):
    23022303            '''Called when the start button is pressed. Changes button label
Note: See TracChangeset for help on using the changeset viewer.