Opened 8 years ago
Closed 8 years ago
#100 closed task (fixed)
Join test with neon and mantid
Reported by: | yanll | Owned by: | yanll |
---|---|---|---|
Priority: | major | Milestone: | pre-alpha |
Component: | general | 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 (last modified by yanll)
def updateNeutronCounts(self):
ip="10.1.53.240"
#ip="127.0.0.1"
port=9000
try:
print " NEON Starting..."
r = redis.Redis(host=ip, port=port, db=0)
except:
print "ERROR: Neon server not available.\n"
sys.exit()
neonpathx="/GPPD/workspace/data/bank01/fit/axis_x"
neonpathy="/GPPD/workspace/data/bank01/fit/axis_y"
neonpathz="/GPPD/workspace/data/bank01/fit/value_1"
neonpathc="/GPPD/workspace/data/bank01/event"
datasetThread = neonReceiver.dataGet(1,r, 2, neonpathx, neonpathy, neonpathz, neonpathc, self.getCountsText(), self.getImageCanvas())
datasetThread.setDaemon(True)
datasetThread.start()
time.sleep(0.01)
Subtickets
Child Tickets
Change History (2)
comment:1 Changed 8 years ago by yanll
- Description modified (diff)
comment:2 Changed 8 years ago by yanll
- Resolution set to fixed
- Status changed from new to closed