Professional Documents
Culture Documents
SCILAB.
M.Mohamed Ibrahim
Tenet Technetronics
03-JAN-17
Tenet Technetronics 1
Application Notes
Contents
Introduction 2
Feature
...3
Tenet Technetronics 2
Application Notes
Introduction
MicroDAQ toolbox combines Scilab/XCos environment with Embedded
Solutions. MicroDAQ real-time control measurement system equipped with TI
C6000 DSP. Module extends Scilab by allowing user to automatically generate
DSP applications directly from XCos scheme. User can use custom XCos blocks,
which gives access to MicroDAQ hardware (ADC, DAC, DIO, PWM, UART, and
Quadrature Encoder). A DSP application generated can utilize SYS/BIOS realtime operating system combined with code generated from XCos scheme.
Libraries of blocks allow seamless to create Models/Diagrams in either
XCOS/SIMULINK/NI Labview and also create optimized C-Code, Compile and
link with the target compiler and download it for deployment. In addition to this
the platform allows for high frequency real-time data acquisition to capture or
tune parameters from the hardware in real-time.
Figure 1: MicroDAQ_Palette
Tenet Technetronics 3
Application Notes
Toolbox feature:
Automatic code generation for MicroDAQ DSP
Xcos blocks for MicroDAQ peripherals
Live data access from generated DSP application via Ethernet and WiFi with
standard Xcos sinks
Application loading with Ethernet and WiFi
Standalone mode
Easy integration of custom user C code
MicroDAQ hardware (ADC, DAC...) access macros
DSP model utilization with Scilab script, C/C++ application and LabVIEW
Execution profiling
Toolbox as a part for Atoms installer
Support for Linux and Windows
Tenet Technetronics 4
Application Notes
Example 1
Connections make 1st Port of IFTHEL_f
Tenet Technetronics 5
Application Notes
Connections make 2nd port of IFTHEL_f
Tenet Technetronics 6
Application Notes
NOTE:
2. CEVENTSCOPE Block:
The block is used to visualization of input event signals.
Example 1
Output:
Tenet Technetronics 7
Application Notes
3. SELECT_m Block:
The selector block accepts the input as vector or Matrix. It determine the
elements to select differs slightly, depending on the type of input.
Example 1:
Note:
Tenet Technetronics 8
Application Notes
Output: