void SetInitItem(unsigned char ID, unsigned char subID, int value)

Top  Previous  Next

Called multiple times immediately before each parse run to set some global parameters

ID 0:   Set Timescale

DigiView uses scaled timestamps in its internal data structures.  This call provides the scaling factor so you can convert between scaled-time and real-time if needed. Many plug-ins do not need to worry about this.  See the section TIMESTAMPS & TIMESCALE in the development hints section for details.

ID 1: First Timestamp

Tells the plug-in the timestamp of the very first raw sample. This int64 is sent in 2 calls with subid 0 = LSB and subid 1 = MSB.  The first and final timestamps are useful for timing analysis.

ID 2: Final timestamp

Tells the plug-in the timestamp of the very last raw data.  This int64 is sent in 2 calls with subid 0 = LSB and subid 1 = MSB.  The first and final timestamps are useful for timing analysis.