Probes


GenericProbe

File: general_blocks/Probes/GenericProbe.sim
Description
GenericProbe - This probe box creates a file containing entries for the data passing through it. The file lists the times when tokens passed through and the contents of the tokens. The box passes tokens through unchanged. The box may be connected to any type of data. Multiple probes may be sent to, or combined in, a given file by naming the same file for each probe. This probe is smart about opening the log file. Although several probes may write to the same file, only the first to open the file actually clears the file for writing. Each probe then opens the file for appending and closes the file on each transaction. (This means you do not have to clear the file before each new simulation; multiple probes share the file properly, and the simulation does not need to run to conclusion to flush and close the file.) This box passes through all tokens.
Ports
Input Ports
Output Ports
Parameters

GenericHyperGraphProbe

File: general_blocks/Probes/GenericHyperGraphProbe.sim
Description
Creates a file containing entries for the data passing through it. The file lists the times when tokens passed through and the contents of the tokens. The box passes tokens through unchanged. The box may be connected to any type of data. The resulting probe file may be plotted with XGRAPH. Multiple probes may be sent to, or combined in, a given file by naming the same file for each probe, but specifying a different Yposition for each probe. When plotting the events with XGRAPH use the -p command-line option to display the events as points which are not connected by lines. The data values or token contents may be viewed by clicking on a given point. The contents are displayed as a hyper-note pop-up. This probe is smart about opening the graph file. Although several probes may write to the same file, only the first to open the file actually clears the file for writing. Each probe then opens the file for appending and closes the file on each token. (This means you do not have to clear the file before each new simulation; multiple probes share the file properly, and the simulation does not need to run to conclusion to flush and close the file.) This box passes through all tokens.
Ports
Input Ports
Output Ports
Parameters

EventProbe

File: general_blocks/Probes/EventProbe.sim
Description
This probe box creates a file containing entries for the events passing through it. The file lists the times when tokens passed through. The box passes tokens through unchanged. The box may be connected to any type of data. The resulting probe file may be plotted with XGRAPH. Multiple probes may be sent to, or combined in, a given file by naming the same file for each probe, but specifying a different Yposition for each probe. When plotting the events with XGRAPH use the -p command-line option to display the events as points which are not connected by lines. This box passes through all tokens.
Ports
Input Ports
Output Ports
Parameters

WriteTnow


File: general_blocks/Probes/WriteTnow.sim
Description
The model to write Tnow to the output file each time the probed signal port is triggered.
Tnow will only be written to the probe file at times after the ProbeStart parameter and
before the ProbeStop parameter.
Ports
Input Ports
Output Ports
Parameters

ThroughputDelayProbe


File: general_blocks/Probes/ThroughputDelayProbe.sim
Description
The model which measures the Throughput and Delay of frames passing
by the probe's connection point. The LengthField parameter must be set
to a field which represents only the number of data bits in a frame.
Ports
Input Ports
Output Ports
Parameters

ThroughputVsTimeProbe



File: general_blocks/Probes/ThroughVsTimeProbe.sim
Description
The model is used to output the time varying throughput of a link.
Ports
Input Ports
Output Ports
Parameters

TextualDescriptionProbe


File: general_blocks/Probes/TextualDescriptionProbe.sim
Description
The model writes a textual description of the input data structure into the
file specified by the OutFile parameter. Only data structures received after
the TNow reaches the value of ProbeStart, and before TNow reaches the
value of  ProbeStop will be described in the file.
Ports
Input Ports
Output Ports
Parameters

ScatterPlotQ


File: general_blocks/Probes/ScatterPlotZ.sim
Description
The model creates a scatter plot from the input data structure.
The parameter Field_Z controls the color of the points.
The parameter TStart and TStop controls the start and stop times.
Ports
Input Ports
Output Ports
Parameters

ScatterPlotZ


File: general_blocks/Probes/ScatterPlotZ.sim
Description
The model creates a scatter plot from the input data structure.
The parameter Field_Z controls the color of the points.
Ports
Input Ports
Output Ports
Parameters

ScatterPlot


File: general_blocks/Probes/ScatterPlot.sim
Description
Model creates a scatter plot from the input data structure.
Ports
Input Ports
Output Ports
Parameters

SelectFieldProbe


File: general_blocks/Probes/SelectFieldProbe.sim
Description
The model is used to allow selection of either an INTEGER or REAL
field from a data structure. The field to be selected is specified by the
Field
parameter.
Ports
Input Ports
Output Ports
Parameters

InsertStatFields


File: general_blocks/Probes/InsertStatFields.sim
Description
The model creates a data structure (Throughput_Dealy_DS) from the
values on the input ports.
Ports
Input Ports
Output Ports
Parameters

HistogramProbeF2_F1


File: general_blocks/Probes/HistogramProbeF2_F1.sim
Description
Probe which is used to create histograms of the numerical difference
between two fields of the data input structure.
Ports
Input Ports
Output Ports
Parameters

HistogramProbe


File: general_blocks/Probes/HistogramProbe.sim
Description
Probe which is used to create histograms.
Ports
Input Ports
Output Ports
Parameters

CreateCDFfileInit


File: general_blocks/Probes/CreateCDFfileInit.sim
Description
Model used inside the CreateCDFfile probes. The model opens the output file and places initial values.
Ports
Input Ports
Output Ports
Parameters

CreateCDFfileF2_F1


File: general_blocks/Probes/CreateCDFfileF2_F1.sim
Description
The model creates a CDF file and a bar chart of the CDF of the numerical
difference between two selected fields (Field1 and Field2).
Ports
Input Ports
Output Ports
Parameters

CreateCDFfile


File: general_blocks/Probes/CreateCDFfile.sim
Description
The model creates a CDF file and a bar chart of the CDF of a selected field.
Ports
Input Ports
Output Ports
Parameters

BatchStatisticsProbe_f2_f1


File: general_blocks/Probes/BatchStatisticsProbe_F2-F1.sim
Description
This model accepts a complex data structure containing two real fields, and it keeps statistics on their difference for each time-batch. At the end of each batch-time, it outputs the "Basic_Statistic" structure.
The model will output the basic statistics of the numerical difference between two fields
of the input data structure. The statistics which include maximum, minimum, mean, and
variance of the difference, are collected in separate batches. The batches are fixed - length
(in time) and will all be of equal duration.  
Ports
Input Ports
Output Ports
Parameters

BatchStatisticsProbe


File: general_blocks/Probes/BatchStatisticsProbe.sim
Description
This model accepts a complex data structure containing a real field, and it keeps statistics on it for each time-batch. At the end of each batch-time, it outputs the "Basic_Statistic" structure. The model will output the basic statistics in separate batches. The statistics include the mean, variance, maximum, and minimum of input during one batch interval. The batches are fixed - length (in time) and will all be of equal duration.
Ports
Input Ports
Output Ports
Parameters

BatchNthMomentProbe_f2_f1


File: general_blocks/Probes/BatchNthMomentProbe_F2-F1.sim
Description
The model computes the N-th moment of the numerical difference between two fields
of the input data structure. The time for the simulation is divided into batch intervals according
to the values of the StartupTime and NBatches parameters.
Ports
Input Ports
Output Ports
Parameters

BatchNthMomentProbe



File: general_blocks/Probes/BatchNthMomentProbe.sim
Description
The probe model will compute the N-th moment of all  in values which come into the probe
during each batch period. The time for the simulation is divided into batch intervals according
to the values of the StartupTime and NBatches parameters. For each batch interval the N-th
moment will be computed for all the in values which came into the probe during the interval
and will be written to the probe file. At the end of each batch interval, the statistical registers
used to compute the moment are cleared out and a new batch interval begins.
Ports
Input Ports
Output Ports
Parameters

BatchMeanProbe_f2_f1


File: general_blocks/Probes/BatchMeanProbe_F2-F1.sim
Description
The model calculates the batch means of the difference between two fields of a data structure.
The statistics are collected in equal batches. The total number of batches is specified by the
NBatches
 parameter.  For each batch the output of the probe is equal to: mean ( Field2 - Field1).
The simulation time at which the probe starts collection statistics is specified by the  StartupTime parameter.
Ports
Input Ports
Output Ports
Parameters

BatchMeanProbe


File: general_blocks/Probes/BatchMeanProbe.sim
Description
The model calculates the batch means of a particular field of a data structure.
The field of the data structure is specified by the parameter Field_Name . The model
also requires the number of batches (NBatches) and the start up time of the probe (StartTime) to be specified.
Ports
Input Ports
Output Ports
Parameters

SystemLatencyProbe


File: general_blocks/Probes/SystemLatencyProbe.sim
Description
Prints to the specified file the latency (difference in time) for every compound message that is received. The time difference is based upon the idata structure CREATED field. Tokens pass through unchanged. Multiple probes may be sent to, or combined in, a given file by naming the same file for each probe. Data can optionally be sent to a MPGraph by specifying a display stream.
Input Ports
Output Ports
Parameters

ProcessTimeLineProbe


File: general_blocks/Probes/ProcessTimeLineProbe.sim
Description
Generates an EventHistory.dat file, which can be used to create process timeline diagrams, for the data passing through it.Tokens pass through unchanged. The data structure is required to contain the fields ProbeLabel and PlotTime. Multiple probes may be sent to, or combined in, a given file by naming the same file for each probe.
Ports
Input Ports
Output Ports
Parameters

EventProbe_with_Comm


File: general_blocks/Probes/EventProbe_with_Comm.sim
Description
This probe box creates a file containing entries for the events passing through it. The file lists the times when tokens passed through. The box passes tokens through unchanged. The box may be connected to any type of data. The resulting probe file may be plotted with XGRAPH. Multiple probes may be sent to, or combined in, a given file by naming the same file for each probe, but specifying a different Yposition for each probe. When plotting the events with XGRAPH use the -p command-line option to display the events as points which are not connected by lines. This box passes through all tokens.
Input Ports
Output Ports
Parameters

RealvsTimeProbe



File: general_blocks/Probes/ThroughVsTimeProbe.sim

Description

Probe which plots real values versus time.

Ports
Input Ports
Output Ports
Parameters