|
AIB2 Components - Data Value Storage
|
|
Category: |
Utility
|
|
Description: |
The Data Value Storage component provides for the storage of variables during simulation. In essence, it is a sort of built in dynamic memory that the designed system utilizes as it sees necessary. Use logic to control the gate in and out. Utilize the data stored flag to discern whether the storage component currently holds a value. Use the reset input to clear the value. Add as many data stores as needed to hold values for later computation. See the tables below for further detail on specific input and output functionality and use. |
|
|
|
Inputs: 3 |
Enable (record)
Boolean input of 1 or 0, ON or OFF, enabling or disabling of the recording (storing) of the provided input value. Default is OFF.
Value
The input value of type double that is to be stored.
Reset
Boolean input value of 1 or 0, that controls storage. Set Reset to a non-zero value (ON) to cause the data store to delete its contents and set the output data stored flag to OFF.
|
|
|
|
|
Outputs: 5 |
Value
Output value of type double that is the currently dtored data value from the most recent storage event.
Timestamp (ticks)
Output value of type double that is the currently dtored data value from the most recent storage event.
Timestamp (simtime)
Time of recording last data value in simulation time. This value is the number of cumulative simulation seconds since last simulation reset.
Timestamp (localtime)
Time of recording last data value in local time. This value is the number of cumulative seconds since January 1, 1970.
Value stored flag
Boolean output value serving as flag indicating a stored value exists or not. This is set when a record event occurs. It has value of 1 (displayed as YES) if a value is stored, and 0 if not.
|
|
|
|
|
Components in Same Category: |
Timer Counter Reset on Value Counter Reset on Event Constant (k) RandNum Generator Integrated Logbook CSV Data Feed Match Count Sim Action Stop Sim Action Sound Sim Action Message Sim Info SimTime Sim Info Count Sim Info LocalTime User Control Button Diminishing Quantity Sim Action Format Indicator Light 7-Segment LED Integrated Column Chart 8x8 LED Controller 8x8 LED Display User Button Up Down Dynamic Sim Value Do Once
|
|
Sample Files with this Component: |
randNum1 |
|
|
|