Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Xcos > palettes > Sinks palette > CMSCOPE

CMSCOPE

Multi display scope

Block Screenshot

Description

When you start a simulation, Xcos open Scope windows. The Scope block displays its input with respect to simulation time. The Scope block can have multiple axes (one per port); all axes have a common time range with independent y-axes. The Scope allows you to adjust the amount of time and the range of input values displayed.

Dialog box

  • Input ports sizes

    It allows multiple input ports.

    Properties : Type 'vec' of size -1

  • Drawing colors

    a vector of integers. The i-th element is the color number (≥ 0) or marker type (< 0) used to draw the evolution of the i-th input port signal. Seeplot2d for color (dash type) definitions.

    Properties : Type 'vec' of size -1

  • Output window number

    The number of graphic window used for the display. It is often good to use high values to avoid conflict with palettes and Super Block windows. If default value is used(1) , Xcos define the output window number.

    Properties : Type 'vec' of size 1

  • Output window position

    a 2 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position.

    Properties : Type 'vec' of size -1

  • Output window sizes

    a 2 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position.

    Properties : Type 'vec' of size size -1

  • Ymin vector

    Minimum values of the input; used to set up the Y-axis of the plot in the graphics window.

    Properties : Type 'vec' of size size(%1,'*')

  • Ymax vector

    Maximum values of the input; used to set up the Y-axis of the plot in the graphics window.

    Properties : Type 'vec' of size size(%1,'*')

  • Refresh period

    Maximum value on the X-axis (time). The plot is redrawn when time reaches a multiple of this value.

    Properties : Type 'vec' of size size(%1,'*')

  • Buffer size

    To improve efficiency it is possible to buffer the input data. The drawing is only done after eachBuffer size call to the block.

    Properties : Type 'vec' of size 1

  • Accept herited events 0/1

    if 0CSCOPE_f draws a new point only when an event occurs on its event input port. if 1CSCOPE_f draws a new point when an event occurs on its event input port and when it's regular input changes due to an event on an other upstream block (herited events).

    Properties : Type 'vec' of size 1

  • Name of Scope

    Name/label of the block.

    Properties : Type 'str' of size 1

Default properties

  • always active: no

  • direct-feedthrough: yes

  • zero-crossing: no

  • mode: no

  • regular inputs:

    - port 1 : size [1,1] / type 1

    - port 2 : size [1,1] / type 1

  • number/sizes of activation inputs: 1

  • number/sizes of activation outputs: 0

  • continuous-time state: no

  • discrete-time state: no

  • object discrete-time state: no

  • name of computational function: cmscope

Interfacing function

  • SCI/modules/scicos_blocks/macros/Sinks/CMSCOPE.sci

Computational function

  • SCI/modules/scicos_blocks/src/c/cmscope.c (Type 4)

Multi display scope example

Comments

Author : Sven Jackschath posted the 06/06/2014 11:32
Hey guys,
wouldn't it be great if you could name x-axis and y-axis in the dialog box, e.g. I[A] and t[s]? Like that it wouldn't be necessary to name the axis manually each time you load the diagrams.
IMO it would be even better to inherit the names from the signal name, or at least to give the option.

Anyway it's so good that there is such a nice working alternative to MATLAB/Simulink. Please keep it going.

S. Jackschath
Reply to this comment
Please login to comment this page

Author : Sven Jackschath posted the 06/06/2014 11:33
Hey guys,
wouldn't it be great if you could name x-axis and y-axis in the dialog box, e.g. I[A] and t[s]? Like that it wouldn't be necessary to name the axis manually each time you load the diagrams.
IMO it would be even better to inherit the names from the signal name, or at least to give the option.

Anyway it's so good that there is such a nice working alternative to MATLAB/Simulink. Please keep it going.

S. Jackschath
Reply to this comment
Please login to comment this page


Add a comment:
Please login to comment this page.

Report an issue
<< CMATVIEW Sinks palette CSCOPE >>

Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:50 CEST 2016