#78 SimMCS 'ClearRecords' event not defined within .*ProcEvents

closed-fixed
Dietrich Beck
1
2010-11-15
2010-09-28
LC
No

For testing purposes, I wanted to replace a no longer available real MCS with the simulator SimMCS and thereby I found a problem with the undefined event named 'ClearRecords'. This event is implemented within the ProcCases.vi but not defined in ProcEvents.vi of the SimMCS class. The MCSBaseClass also not supported this event. so that I guess it was forgotten to be defined?

Best regards
Falk

Discussion

  • Dietrich Beck
    Dietrich Beck
    2010-09-28

    • milestone: 729900 --> V3.2X_(LabVIEW_2009)
    • priority: 5 --> 1
    • assigned_to: nobody --> dhbeck
    • status: open --> open-later
     
  • Dietrich Beck
    Dietrich Beck
    2010-09-28

    Code using classes derived from the MCSBase class should use the ReadData event/method for reading the data, eventually clearing buffers and doing thing like re-arming triggers. Application layer (sequencer) code should only initialize things like number of bins etc Start, Stop and ReadData.

    The "ClearRecords" event is an additional event/method introduced by another class, the SR430. This event is not part of the public interface to MCSBase or derived classes. Please change your code such, that you only rely on the ReadData event.

    This tracker item remains open, since it is actually a bug, that some "ClearRecord" code was not removed from the SimMCS class. This will be fixed with the next release.

     
  • Dietrich Beck
    Dietrich Beck
    2010-11-15

    fixed by version 1.12 of package DPApplicationBaseClasses

     
  • Dietrich Beck
    Dietrich Beck
    2010-11-15

    • status: open-later --> closed-fixed