NAME strip chart - collect values to send to the graph viewer SOURCE Larry Gelberg larryg@stardent.com Advanced Visual Systems Inc. (AVS Inc.) 6 N.E.T.C, 521 Virginia Road, Concord, MA 01742 Tel: 508-287-0100 Fax: 508-371-7414 SUMMARY Name strip chart Type Input Inputs NONE Outputs int_out - field 1D 1-space 1-vector uniform integer float_out - field 1D 1-space 1-vector uniform float Parameters Name Type Default Range integer idial 0 UNBOUNDED float dial 0.00 UNBOUNDED reset oneshot DESCRIPTION STRIP CHART archives (collects) values from some other routine and packages them up into 1D fields appropriate for sending to the graph viewer. There are two internal arrays, each 1024 element long. One is for integer values and the other is for floating point values. Each array is static and has its own counter associated with it. When the counters pass 1024, they wrap back to 0. There is a reset button which resets both counters. This could be a good module for monitoring the progress of some simulation variable. If you have a simulation encapsulated in a module, create output ports for the variables you'd like to watch. By making the parameter ports visible you can plug these output variables into the STRIP CHART module. Every time a new "chart" is generated, the GRAPH VIEWER will try to normalize the range of the X axis to the number of data elements you have. To disable this, turn OFF the "Normalize Plot Data" button in the Graph Viewer and set an appropriate X axis range (under the Axis Display sub-menu). PARAMETERS integer (idial) Make this parameter port visible in order to "plug" an integer generator into it. float (dial) Make this parameter port visible in order to "plug" an floating point generator into it. reset (oneshot) Hitting this will cause the variable to reset to 0. OUTPUTS int_out - field 1D 1-space 1-vector uniform integer 1D field containing the current integer array float_out - field 1D 1-space 1-vector uniform float 1D field containing the current floating point array EXAMPLE NETWORKS This network lets you watch the progress of ANIMATED FLOAT and ANIMATED INTEGER. ANIMATED FLOAT ANIMATED INTEGER |______________ ____________| | | STRIP CHART ______________| |____________ | | GRAPH VIEWER GRAPH VIEWER RELATED MODULES ANIMATED FLOAT, ANIMATED INTEGER, FLOAT, INTEGER, FIELD LEGEND GRAPH VIEWER