Download presentation
Presentation is loading. Please wait.
1
Xcos-On-Web
2
Credits Mentor : Dipti Ghosalkar Inderpreet Arora Contributors :
Dattatreya Sarma G.V.S Jayaprakash Akula Ritveeka Vashistha Ruhi Taj Shashank Bhalotia Shivendra Pratap Singh
3
Introduction Xcos is an open source graphic simulator by Scilab
Xcos is equivalent to MATLAB Simulink Xcos on web is browser version of Scilab Xcos
4
Limitations With Earlier Version
No two way communication for TK Scale No dynamic generation of graphs Modification of block parameters not reflected in output
5
Limitations With Earlier Version
Some blocks could not be dragged Disappearing of block images 3-D graphs not available. No option for downloading graphs and simulated xcos files.
6
Features Implemented Functionality for following output blocks was implemented : CSCOPE CMSCOPE CSCOPXY CSCOPXY3D CANIMXY3D BARXY Changes in block parameters reflected in output Display multiple graphs
7
Features Implemented Maximizing size of output
3D-charts implemented for 3D-scopes Added zooming and exporting feature Dynamic output generation
8
Sample Output
9
Sample Output
10
Features Implemented Implemented functionality for following output blocks : CFSCOPE CANIMXY WRITEC_F WRITEAU_F TOWS_C FROMWSB Change in block parameters reflected in output
11
Features Implemented Block identification implemented
Functionality for file download Access to workspace variable in same session
12
SAMPLE OUTPUT Desktop vs Xcos on Web
13
TK Scale Block Slider Widget used to choose a numeric value through sliders. User can change the input during simulation/runtime. It has 3 parameters minimum,maximum and normalization. Minimum and Maximum represents the input range. Output of the block is the slider’s current value divided by normalization factor.
14
Two Way Communication for TK Scale
Generate the sliders based on number of TK Scale blocks. The values from these sliders are logged to a file which are updated periodically. Received data is processed and converted in order to make the graph.
15
Generating Graph from TKScale Values
16
Sample Output
17
Xcos for Textbook Companion
Implemented Generic method to use .xcos file to generate the diagram Each Xcos file should have a unique ID Fetch the file contents based on ID number and load the diagram
18
Parser Parser implemented to convert scilab to javascript
User able to change block parameters Implemented scilab functions in javascript
19
New Functions Implemented
Implemented jetcolormap, interpolation, linspace, set_io and check_io functions. Error correction in functions standard_define scicos_model inverse
20
Set Scope Parameters
21
Before Implementation After Implementation
Set Scope Parameters
22
Dynamic Display on Blocks
Before Implementation After Implementation
23
Correction of errors Drag and drop of blocks
73 blocks with wrong and improper image display
24
Thank You
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.