Opened 9 years ago

Closed 9 years ago

#69 closed task (fixed)

Complete 4 actions for Plot Refresh of 2D histogram

Reported by: yanll Owned by: yanll
Priority: major Milestone: pre-alpha
Component: presenter Version: 0.1
Keywords: Cc:
Blocked By: Blocking:
Parent ID: Parent Tickets:
Estimated Number of Hours: 0.0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0

Description

1: 'start', get data && update plot
2: 'stop', not get data && not update plot
3: 'pause', get data && not update plot
4: 'resume'from 'pause', get data && update plot

Subtickets

Child Tickets

Change History (2)

comment:1 Changed 9 years ago by zhangjr

1) change neonReciver API:
class neonReceiver(threading.Thread):

def init(

self,
threadID,
ip,
port,
bankID,
freshTime,
CSNSGlobal,
):

Backward: /BL01/BANK01/PATTERN
Medium: /BL01/BANK03/PATTERN
Small: /BL01/BANK05/PATTERN

2 enable to stop thread

--pause the tread: threading.Event().set()
--close the thread: del thread instant

3 add two threads

--get data streaming form NEON: def startSmallPatternStreamingThread(self):
--plot powder diffraction pattern: def startSmallPatternPlotThread(self):

comment:2 Changed 9 years ago by zhangjr

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.