Spaces:
Sleeping

XCos_MCP / data /help /Sinks_pal /CMSCOPE.xml
xcos-bot
Deploy snapshot from 23aafd1a (verified archive)
39e01c4
Raw History Blame Contribute Delete
12.8 kB
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Scicos
*
* Copyright (C) INRIA - METALAU Project <scicos@inria.fr> (HTML version)
* Copyright (C) DIGITEO - Scilab Consortium (XML Docbook version)
* Copyright (C) 2018 - Samuel GOUGEON
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* See the file ./license.txt
-->
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
xml:id="CMSCOPE" xml:lang="en_US">
<refnamediv>
<refname>CMSCOPE</refname>
<refpurpose>Multi display scope in subplot(N,1)</refpurpose>
</refnamediv>
<refsection>
<title>Block Screenshot</title>
<inlinemediaobject>
<imageobject>
<imagedata fileref="../../../../images/palettes/CMSCOPE.png" align="center"/>
</imageobject>
</inlinemediaobject>
</refsection>
<refsection id="Contents_CMSCOPE">
<title>Contents</title>
<itemizedlist>
<listitem>
<xref linkend="Description_CMSCOPE">Description</xref>
</listitem>
<listitem>
<xref linkend="Dialogbox_CMSCOPE">Parameters</xref>
</listitem>
<listitem>
<xref linkend="Defaultproperties_CMSCOPE">Default properties</xref>
</listitem>
<listitem>
<xref linkend="Interfacingfunction_CMSCOPE">Interfacing function</xref>
</listitem>
<listitem>
<xref linkend="Computationalfunction_CMSCOPE">Computational function</xref>
</listitem>
<listitem>
<xref linkend="Example_CMSCOPE">Example</xref>
</listitem>
<listitem>
<xref linkend="Seealso_CMSCOPE">See also</xref>
</listitem>
</itemizedlist>
<para/>
</refsection>
<refsection id="Description_CMSCOPE">
<title>Description</title>
<para>
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.
</para>
</refsection>
<refsection id="Dialogbox_CMSCOPE">
<title>Parameters</title>
<inlinemediaobject>
<imageobject>
<imagedata fileref="../../../../images/gui/CMSCOPE_gui.gif" align="center" style="float:right"/>
<!-- align => Javahelp, style => Online -->
</imageobject>
</inlinemediaobject>
<itemizedlist>
<listitem>
<para>
<emphasis role="bold">Input ports sizes</emphasis>
</para>
<para> It allows multiple input ports.</para>
<para> Properties : Type 'vec' of size -1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Drawing colors </emphasis>
</para>
<para>
a vector of integers. The i-th element is the color number (≥ 0) or marker type
(&lt; 0) used to draw the evolution of the i-th input port signal.
See<emphasis role="bold">plot2d</emphasis> for color (dash type) definitions.
</para>
<para> Properties : Type 'vec' of size -1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Output window number</emphasis>
</para>
<para>
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<emphasis role="bold">(1)</emphasis> , Xcos define the output window number.
</para>
<para> Properties : Type 'vec' of size 1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Output window position</emphasis>
</para>
<para>
a 2 vector specifying the coordinates of the upper left corner of the
graphic window. Answer [] for default window position.
</para>
<para> Properties : Type 'vec' of size -1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Output window sizes</emphasis>
</para>
<para>
a 2 vector specifying the coordinates of the upper left corner of the
graphic window. Answer [] for default window position.
</para>
<para> Properties : Type 'vec' of size size -1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Ymin vector</emphasis>
</para>
<para>
Minimum values of the input; used to set up the Y-axis of the plot in the
graphics window.
</para>
<para> Properties : Type 'vec' of size size(%1,'*') </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Ymax vector</emphasis>
</para>
<para>
Maximum values of the input; used to set up the Y-axis of the plot in the
graphics window.
</para>
<para> Properties : Type 'vec' of size size(%1,'*') </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Refresh period</emphasis>
</para>
<para>
Maximum value on the X-axis (time). The plot is redrawn when time reaches
a multiple of this value.
</para>
<para> Properties : Type 'vec' of size size(%1,'*') </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Buffer size</emphasis>
</para>
<para>
To improve efficiency it is possible to buffer the input data. The drawing is
only done after each<emphasis role="bold">Buffer size</emphasis> call to the block.
</para>
<para> Properties : Type 'vec' of size 1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Accept herited events 0/1</emphasis>
</para>
<para>
if 0<emphasis role="bold">CSCOPE_f</emphasis> draws a new point only when an
event occurs on its event input port. if 1<emphasis role="bold">CSCOPE_f</emphasis>
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).
</para>
<para> Properties : Type 'vec' of size 1 </para>
</listitem>
<listitem>
<para>
<emphasis role="bold">Name of Scope </emphasis>
</para>
<para> Name/label of the block.</para>
<para> Properties : Type 'str' of size 1</para>
</listitem>
</itemizedlist>
<para/>
</refsection>
<refsection id="Defaultproperties_CMSCOPE">
<title>Default properties</title>
<itemizedlist>
<listitem>
<para>
<emphasis role="bold">always active:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">direct-feedthrough:</emphasis> yes
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">zero-crossing:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">mode:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">regular inputs:</emphasis>
</para>
<para>
<emphasis role="bold">- port 1 : size [1,1] / type 1</emphasis>
</para>
<para>
<emphasis role="bold">- port 2 : size [1,1] / type 1</emphasis>
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">number/sizes of activation inputs:</emphasis> 1
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">number/sizes of activation outputs:</emphasis> 0
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">continuous-time state:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">discrete-time state:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">object discrete-time state:</emphasis> no
</para>
</listitem>
<listitem>
<para>
<emphasis role="bold">name of computational function:</emphasis>
<emphasis role="italic">cmscope</emphasis>
</para>
</listitem>
</itemizedlist>
<para/>
</refsection>
<refsection id="Example_CMSCOPE">
<title>Example</title>
<link type="scilab" linkend="scilab.xcos/xcos/tests/unit_tests/cmscope.zcos">
<inlinemediaobject>
<imageobject>
<imagedata fileref="../../../../tests/unit_tests/cmscope.zcos" align="center"/>
</imageobject>
</inlinemediaobject>
</link>
<para/>
</refsection>
<refsection id="Interfacingfunction_CMSCOPE">
<title>Interfacing function</title>
<itemizedlist>
<listitem>
<para> SCI/modules/scicos_blocks/macros/Sinks/CMSCOPE.sci</para>
</listitem>
</itemizedlist>
</refsection>
<refsection id="Computationalfunction_CMSCOPE">
<title>Computational function</title>
<itemizedlist>
<listitem>
<para> SCI/modules/scicos_blocks/src/c/cmscope.c (Type 4)</para>
</listitem>
</itemizedlist>
<para/>
</refsection>
<refsection xml:id="Seealso_CMSCOPE" role="see also">
<title>See also</title>
<simplelist type="inline">
<member>
<link linkend="CSCOPE">CSCOPE</link>
</member>
<member>
<link linkend="CFSCOPE">CFSCOPE</link>
</member>
<member>
<link linkend="CSCOPXY">CSCOPXY</link>
</member>
<member>
<link linkend="CSCOPXY3D">CSCOPXY3D</link>
</member>
<member>
<link linkend="SCALE_CMSCOPE">SCALE_CMSCOPE</link>
</member>
</simplelist>
</refsection>
</refentry>