This interface can be used to read/write certain properties of the active DSS object. The structure of the interface is as follows:


int32_t MonitorsI(int32_t Parameter, int32_t Argument);


This interface returns an integer according to the number sent in the variable “parameter”. The parameter can be one of the following:


Parameter 0: Monitors.First

This parameter sets the first monitor active. Returns 0 if no monitors.


Parameter 1: Monitors.Next

This parameter set the next monitor active. Returns 0 if no more.


Parameter 2: Monitors.Reset

This parameter resets the active Monitor object.


Parameter 3: Monitors.ResetAll

This parameter resets all Monitor object.


Parameter 4: Monitors.Sample

This parameter causes active monitor to take a sample.


Parameter 5: Monitors.Save

This parameter causes active monitor to save its current sample buffer to its monitor stream. Then you can access the Bytestream or channel data. Most standard solution modes do this automatically.


Parameter 6: Monitors.Show

This parameter converts monitor file into text and displays with text editor.


Parameter 7: Monitors.Mode read

This parameter returns the monitor mode (bitmask integer - see DSS Help).


Parameter 8: Monitors.Mode write

This parameter sets the monitor mode (bitmask integer - see DSS Help).


Parameter 9: Monitors.SampleCount

This parameter returns number of samples in Monitor at present.


Parameter 10: Monitors.SampleAll

This parameter causes all Monitors to take a sample of the present state. Returns 0.


Parameter 11: Monitors.SaveAll

This parameter save all Monitor buffers to their respective file streams. Returns 0.


Parameter 12: Monitors.Count

This parameter returns the number of monitors.


Parameter 13: Monitors.Process

This parameter post-process monitor samples taken so far, e.g., Pst for mode = 4.


Parameter 14: Monitors.ProcessAll

This parameter makes that all monitors post-process the data taken so far.


Parameter 15: Monitors.FileVersion

This parameter returns the Monitor File version (integer).


Parameter 16: Monitors.RecordSize

This parameter returns the size of each record in ByteStream.


Parameter 17: Monitors.NumChannels

This parameter returns the number of Channels on the active Monitor.


Parameter 18: Monitors.Terminal read

This parameter returns the terminal number of element being monitored.


Parameter 19: Monitors.Terminal Write

This parameter sets the terminal number of element being monitored.