XCos Screening Tasks
Requirements
- Scilab (expert)
- XCos (must do any one of the screening tasks listed below)
Note that python is not a requirement.
Screening Task 1 for XCos (Note: Submission of this task was closed on 26 February 2023)
Make an XCos diagram containing the following:
One CSCOPE block
Other blocks as needed
Configure all the blocks by setting their parameters. Note the default values of these parameters. The CSCOPE block has 10 parameters, namely:
Colour (> 0) or mark (< 0) vector (8 entries)
Output window number
Output window position
Output window sizes
Y min
Y max
Refresh period
Buffer size
Accepted herited events (0 / 1)
Name of scope
Save the Xcos diagram in .xcos format only. Do not save in any other format. Say, the filename is example.xcos
Format this file using xmllint which is part of the libxml2-utils package. For Ubuntu, the package installation command is:
apt install libxml2-utils
The command to format the xcos file will be:
xmllint --format example.xcos > example.xmlKeeping all the other block parameters fixed, vary the CSCOPE parameters and save the .xcos file again. Format the new file again. Note how the changed parameters are saved.
Submission of Screening Task 1 for XCos (Note: Submission of this task was closed on 26 February 2023)
Fill this form https://docs.google.com/forms/d/e/1FAIpQLSdfXEA5XZ_1kXRbnmA55XwQjivAr4Dp... for your submission. The following details will be asked for:
Select the Scilab version being used.
Upload the XCos diagram.
Upload the Scilab dependency file, if any. In case of multiple Scilab dependency files, make a zip and upload it. (optional)
A table of your observations. Note, you may also make this table in a google sheet and share that sheet:
No. | Parameter | Default Value | Location(s) in .xcos File Where it is Saved |
---|---|---|---|
1 | Colour (> 0) or mark (< 0) vector (8 entries) | 1 3 5 7 9 11 13 15 | ScilabString as="exprs" -> data column="0" line="0" value |
2 | Output window number | ||
3 | Output window position | ||
4 | Output window sizes | ||
5 | Y min | ||
6 | Y max | ||
7 | Refresh period | ||
8 | Buffer size | ||
9 | Accepted herited events (0 / 1) | ||
10 | Name of scope |
The rows in the above table are a sample. Note that each parameter could affect multiple locations in the .xcos file.
Screening Task 2 for XCos (Note: Submission of this task was closed on 6 December 2022)
Make an XCos diagram containing the following:
One CLR block
One Sink block gives output in the form of a curve (e.g. CSCOPE)
Other blocks as needed
Configure all the blocks by setting their parameters. The CLR block has a numerator transfer function and a denominator transfer function with s as the parameter. E.g. numerator could be s+3 and the denominator could be s^2+10*s+1.
Simulate the Xcos diagram. Note the form of the output curve.
Keeping all the other block parameters fixed, vary the numerator and the denominator functions so that you get:
Converging output curve.
Oscillating output curve.
Diverging output curve.
Submission of Screening Task 2 for XCos (Note: Submission of this task was closed on 6 December 2022)
Fill this form https://docs.google.com/forms/d/e/1FAIpQLSf8mIIzwIa2zwVqJIAgGJnUhTH6oIjt... for your submission. The following details will be asked for:
Select the Scilab version is being used.
Upload the XCos diagram.
Upload the Scilab dependency file, if any. In case of multiple Scilab dependency files, make a zip and upload it. (optional)
A table of your observations. Note, you may also make this table in a google sheet and share that sheet:
No. | Numerator | Denominator | Output curve |
---|---|---|---|
1 | s+5 | s^2+3*s+1 | Converges to 10 |
2 | 1 | s^2+c (where c > 0) | Oscillates around c |
3 | s+a (where a > 0) | s^2+b*s+c (where c > b > a) | Diverges |
The rows in the above table are a sample. Each row could be for a specific example as in row 1 above or for a more generalised example as in rows 2 and 3. The maximum number of rows in the above table is ten. There must be at least one row of each type (converging, oscillating, and diverging).
Email: contact-xcos@fossee.in