Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | ATOMS
File : Details
Please login or create an account

analoge tachometer display

example code to create an analoge tachometer display
(393 downloads for this version - 1767 downloads for all versions)
Details
Version
3.0
A more recent valid version with binaries for Scilab exists: 5.0
Author
Philipp Muehlmann
Maintainer
Philipp Muehlmann
Category
License
Supported Scilab Version
5.4
Creation Date
July 26, 2014
Description
            Analogue displays as GUI's seem to be rare in Scilab, so here is a example how
to create a tachometer.

Version 1:
Note: By exchanging the background image, this display could be used for any
variable.

Version 2:
Does not need an image as background anymore.
Comment lines should be all in english now.

Version 3:
Function made from version 2.
To call the function type:   tachometer(var1....var12);
Explanations of the variable see function code.

Enjoy,
Philipp Mhlmann            
Files (1)
[3.86 kB]
Miscellaneous file
THIS FUNCTION WILL CREATE A ANALOGUE DISPLAY OF THE INPUT DATA

var1: 1xn vector             --> data to be displayd
var2: integer                --> maximum value to be displayed
var3: integer between 0-1    --> needle length
var4: integer                --> needle thickness
var5: integer                --> needle line style
var6: [1x2] matrix           --> figure size
var7: string                 --> figure name
var8: [1x2] matrix           --> figure position
var9: integer                --> figure color
var10: integer               --> display color
var11: integer               --> needle color
var12: integer               --> the time pause [in milliseconds] after that
the
                                 needle will move to its next position
News (0)
Comments (0)
Leave a comment
You must register and log in before leaving a comment.
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.