Skip to content

Commit

Permalink
Set the value of run_status during workspace initialization
Browse files Browse the repository at this point in the history
We use the timestamp from the most recently received packet to set the
value of the run_start property when we initialize the workspace.  (The
property will be overwritten with a proper value once we get a RunStatus
packet saying a new run is starting.)

Refs #6259
(cherry picked from commit 9d7dc22)
  • Loading branch information
rgmiller authored and Michael Reuter committed Dec 10, 2012
1 parent e5c6208 commit d80db0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ namespace Mantid
// packets will arrive in, I've put the necessary code in this function.
// Both rxPacket() functions will check to see if all the data is available
// and call this function if it is.
void initWorkspace();
void initWorkspace(const ADARA::Packet &pkt);

void appendEvent( uint32_t pixelId, double tof, const Mantid::Kernel::DateAndTime pulseTime);
// tof is "Time Of Flight" and is in units of microsecondss relative to the start of the pulse
Expand Down

0 comments on commit d80db0e

Please sign in to comment.