Ticket #7954 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

ISIS live event listener

Reported by: Roman Tolchenov Owned by: Roman Tolchenov
Priority: critical Milestone: Release 3.0
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Nick Draper

Description (last modified by Arturs Bekasovs) (diff)


Change History

comment:1 Changed 7 years ago by Roman Tolchenov

  • Status changed from new to inprogress

Moved ISIS event listener to LiveData Project. Re #7954."

Changeset: 348d30ef4fae54418eca2398df965421406dab00

comment:2 Changed 7 years ago by Roman Tolchenov

Moved fake dae back to ISISLiveData library.

For some reason it didn't work when in the same library with the listener. Re #7954

Changeset: 0ceae8e29e6fbc1b74979742c7177e136be7ae7d

comment:3 Changed 7 years ago by Roman Tolchenov

ISISLiveEventListener can receive continuous stream of events

from a fake event server. Re #7954

Changeset: 7c92076aef5b9dc7d8fe01bccb45b6e59d76fb14

comment:4 Changed 7 years ago by Roman Tolchenov

Using the IDC commands to get the run information. Re #7954

Changeset: d756fdfe1993d53abb81cb24c68d8b59b8cc8d6e

comment:5 Changed 7 years ago by Roman Tolchenov

Re #7954. Added ability to vary the event rate in the fake DAE

to test how the listener copes with large amount of data.

Changeset: 944e5c05abe4aa14db5eb837da0a21c194312125

comment:6 Changed 7 years ago by Roman Tolchenov

Support loading multiperiod data without any processing. Re #7954

Changeset: 37a9649ea8c196fa6bdeaaa172e0e6323d70b803

comment:7 Changed 7 years ago by Roman Tolchenov

Fixing a compiler warning. Re #7954

Changeset: a8dd9e243d6258595daa8af85598347055356ff5

comment:8 Changed 7 years ago by Roman Tolchenov

  • Status changed from inprogress to verify
  • Resolution set to fixed

To tester:

  1. To be able to use the listener Facilities.xml must have an instrument which uses it. A fake instrument can be added:

<instrument name="EVENTS">

<technique>Single Crystal Diffraction</technique> <livedata address="localhost:10000" listener="ISISLiveEventDataListener" />

</instrument>

  1. Start FakeISISHistoDAE with NPeriods=1, NSpectra=1000, NBins=any value
  2. Start FakeISISEventDAE with NPeriods=1, NSpectra=1000, Rate=1 NEvents=10000. Numbers of periods and spectra in the two fake daes must match. FakeISISEventsDAE sends NEvents every Rate microseconds.
  3. Start Live Data. Set instrument to EVENTS, Update every 5 seconds, Processing: algorithm Rebin(100,0.1,200), Accumulation Method: Add, No post processing, At end of run: restart.
  4. Plot 2D and 1D, see the data change.
  5. Try the listener with different parameters.
  6. If NPeriods > 1 no processing will work. But a group of event workspaces will be created and members updated. This can be tested by manually rebinnig and plotting the workspaces.

comment:9 Changed 7 years ago by Arturs Bekasovs

  • Status changed from verify to verifying
  • Tester set to Arturs Bekasovs

comment:10 Changed 7 years ago by Arturs Bekasovs

  • Status changed from verifying to verify
  • Description modified (diff)
  • Tester Arturs Bekasovs deleted

Was busy fixing an urgent ticket appeared, so unfortunately will not have time testing this one today.

Last edited 7 years ago by Arturs Bekasovs (previous) (diff)

comment:11 Changed 7 years ago by Arturs Bekasovs

  • Description modified (diff)

This meant to be a comment. :-)

comment:12 Changed 7 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:13 Changed 7 years ago by Nick Draper

  • Status changed from verifying to closed

This looks to be ok. Obviously this will be unable to test more completely until the correct version of the DAE is installed onto the event based instruments.

comment:14 Changed 7 years ago by Nick Draper

Noted that as planned, this does not yet support periods fully, or log data.

comment:15 Changed 7 years ago by Nick Draper

Merge remote-tracking branch 'origin/feature/7954_isis_live_event_listener'

Full changeset: 671b8ce87239a0e9849abbf32f0e61d7142a4cd9

comment:16 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8799

Note: See TracTickets for help on using tickets.