Observation Source Block

obsSourceHelp

Description

The Observation Source block provides a stream of data observation (row) objects from a SAS data set or JMP table. Each time an observation object is pulled from the OutObservation port, the block pulls a new observation of the data set. If you reach the last observation from the data set, the process resets to the beginning of the data set.

Fixed Ports

InUpdate

Input Boolean value port that signals an update of input data and stream parameter specifications. The new specifications are pulled from the InStreamPolicy or InDataPolicy ports (or both) if these ports are connected. A false Boolean value is ignored.

InStreamPolicy

Input string value port that allows new stream parameter specifications to come in when an update is under way.

InDataPolicy

Input string value port that allows new input data specifications to come in when an update is under way.

OutObservation

Output observation object port for observations to be pulled.

OutData

Output data model port for accessing the data model object that holds the contents of the input data set.

Dialog Box Controls

Input Data

This area provides fields for modifying the input data specifications associated with the Observation Source block. The File Path field specifies the absolute or relative file path for the input SAS data set or JMP data table file. The Load from Remote SAS Workspace Server checkbox indicates that the input SAS data set file is to be loaded from the remote SAS Workspace Server host.

Stream Parameters

This area provides fields for modifying the stream parameter specifications that control how the stream of observations from the Observation Source block is prepared. Both the fields Lazy Loading and Reset At Updated are Boolean. If the Lazy Loading field is false, the input data set file has to be loaded at the start of simulation. Otherwise, the data file is loaded only when its contents are needed during simulation. If the Reset At Updated field is true, an update signal value of true causes the first observation in the updated data set to be the observation pulled next.