[scilab-Users] A Question about Scilab

Mike Page Mike at Page-One.Waitrose.com
Wed Jul 11 10:16:33 CEST 2012


Hi,

For question 2, you can use Scilab real-time functions.  For example in your
initialisation code include

realtimeinit (0.001);
realtime (0);Then inside your loop include (where Delay is required loop
time in ms)

realtime (Delay);
realtimeinit (0.001);
realtime (0);I have used this successfully in the past.  There is more info
in Scilab's help (see under realtime).

HTH,
Mike.

  -----Original Message-----
  From: HAYDER WILLIAMS YANDUN PINZA [mailto:hayder_wil.yandun at uao.edu.co]
  Sent: 11 July 2012 00:25
  To: ,; ,
  Subject: [scilab-Users] A Question about Scilab
  Importance: High


  Hello, Good Afternoon


  My name is Jaider Yandun, actually i'm studying electronic engineering and
i'm developing a prototype of a DAQ (Data Acquisition) Card with a
uController and an ADC (Analog-Digital converter). the uController is a PIC
18F4550, this micro controller has USB comunication, the questions are


  1. Scilab has a library or a module to work with USB protocol (read a USB
device), if its true, are those libraries or modules compatibles with linux
and windows?


  2. With scilab, Can i do timed tasks ?, for example each 100ms read a USB
device




  because,  I need catch the data with the Ucontroller to after send to
Scilab through usb.


  please i need a tutorial or information about how to do it


  please Help me,


  Thanks very much for you attention,
   La información contenida en este correo electrónico y en todos sus
archivos anexos es confidencial y privilegiada, y no necesariamente trasmite
el pensamiento o convicciones de la Universidad Autónoma de Occidente. Si
por algún motivo recibe esta comunicación y usted no es el destinatario
autorizado, sírvase borrarlo de inmediato, notificarle de su error a la
persona que lo envió y abstenerse de divulgar su contenido y anexos, ya que
esta información solo puede ser utilizada por la persona a quien está
dirigida. Está prohibido cualquier uso inadecuado de esta información, así
como la generación de copias de este mensaje.
  No virus found in this message.
  Checked by AVG - www.avg.com
  Version: 2012.0.2195 / Virus Database: 2437/5123 - Release Date: 07/10/12
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120711/053b449d/attachment.htm>


More information about the users mailing list