Difference between revisions of "Single-Board-Heater-System/C2/Using-SBHS-Virtual-Labs-on-Windows/English"
Rupakrokade (Talk | contribs) (Created page with "'''Title of script''': Using SBHS virtual laboratory '''Author: Rupak Rokade''' '''Keywords: SBHS, Virtual labs, tutorial''' {| style="border-spacing:0;" ! ! <center>Nar...") |
Nancyvarkey (Talk | contribs) |
||
Line 20: | Line 20: | ||
− | # Software installations required on the remote | + | # Software installations required on the remote user's computer |
# Using '''SBHS''' website | # Using '''SBHS''' website | ||
# Performing a '''Step test''' experiment remotely | # Performing a '''Step test''' experiment remotely | ||
− | |||
− | |||
|- | |- | ||
Line 58: | Line 56: | ||
− | Please note that you will need internet connectivity to install '''Scilab.''' | + | Please note that you will need '''internet''' connectivity to install '''Scilab.''' |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Show slide | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Show slide | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| '''Scilab 5.3.3 '''installation is mandatory because all | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| '''Scilab 5.3.3 '''installation is mandatory because all '''SBHS '''experiment '''Scilab''' codes are written using '''Scilab 5.3.3''' |
Line 69: | Line 67: | ||
This is because a software is always backward-compatible, never forward-compatible. | This is because a software is always backward-compatible, never forward-compatible. | ||
+ | |- | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| I have already installed '''Scilab 5.3.3.''' | ||
− | |||
− | + | Now the next step is to download the experiment '''Scilab''' code for experiments. | |
− | Now the next step is to download the experiment '''Scilab''' code. | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
Line 85: | Line 80: | ||
In the address bar, type '''os-hardware.in''' | In the address bar, type '''os-hardware.in''' | ||
− | This is the website for | + | This is the website for open source hardware. |
|- | |- | ||
Line 93: | Line 88: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Click on '''Downloads''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Click on '''Downloads''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| On the left hand side, click on '''Downloads''' | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| On the left hand side, click on '''Downloads'''. |
|- | |- | ||
Line 122: | Line 117: | ||
− | To do so, '''right-click''' on it and choose '''Extract | + | To do so, '''right-click''' on it and choose '''Extract here.''' |
Line 138: | Line 133: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Switch to browser | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Switch to browser | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Switch to the web browser again. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Switch to the web browser again. | ||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Click on '''Virtual''' '''Labs''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Click on '''Virtual''' '''Labs''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| On the left hand side, click on the link '''Virtual | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| On the left hand side, click on the link '''Virtual Labs.''' |
|- | |- | ||
Line 165: | Line 157: | ||
− | Note that the activation process may not be immediate. | + | Note that the activation process may not be immediate. It may take a few minutes. |
− | + | ||
− | It may take a few minutes | + | |
|- | |- | ||
Line 175: | Line 165: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| I will now login with an already registered account. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| I will now login with an already registered account. | ||
− | I will enter my username and password. | + | I will enter my '''username''' and '''password'''. |
|- | |- | ||
Line 182: | Line 172: | ||
− | A slot is the time duration in which you can perform an experiment. | + | A '''slot''' is the time duration in which you can perform an experiment. |
− | In our case, a slot lasts for 55 minutes of every hour | + | In our case, a '''slot''' lasts for 55 minutes of every hour. |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Click on '''Book Slot '''option | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Click on '''Book Slot '''option | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| After clicking on the '''Book Slot '''option, the client will have two choices. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| After clicking on the '''Book Slot '''option, the '''client''' will have two choices. |
|- | |- | ||
Line 196: | Line 186: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Book Now '''and then to '''Book future slot''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Book Now '''and then to '''Book future slot''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| '''Book Now''' option will appear only if the current | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| '''Book Now''' option will appear only if the current '''slot''' is vacant. |
− | It will allow two non-consecutive slots to be booked, each day. | + | |
+ | While '''Book future slot''' option will always be available. | ||
+ | |||
+ | It will allow two non-consecutive '''slots''' to be booked, each day. | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Click on '''Book Current Slot''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Click on '''Book Current Slot''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| I will click on '''Book Now '''option | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| I will click on '''Book Now '''option. |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| You will receive an acknowledgement, with your booking details | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| You will receive an acknowledgement, with your booking details on the top side. |
− | The slot booking part is over. | + | The '''slot''' booking part is over. |
− | Let us now run a simple '''Step | + | Let us now run a simple '''Step Test''' experiment, downloaded from the website. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
Line 228: | Line 213: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point to the folders: '''StepTest '''and '''common_files''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point to the folders: '''StepTest '''and '''common_files''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| You can see that there is a '''StepTest '''folder and '''common_files '''folder | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| You can see that there is a '''StepTest '''folder and '''common_files '''folder. |
Line 240: | Line 225: | ||
− | However, make sure the '''common_files''' folder is always outside the experiment folder. | + | However, make sure the '''common_files''' folder is always outside the '''experiment''' folder. |
− | + | |- | |
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Open the '''common_files''' folder. | ||
− | |||
− | |||
− | |||
− | |||
+ | Open the file '''config'''. | ||
+ | This file is used to do the '''proxy settings'''. | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Switch to Slides | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Switch to Slides | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Do not change the contents of | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Do not change the contents of '''config''' file if |
− | + | ||
− | config file if | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | *You are accesing from inside '''IIT Bombay''' | ||
+ | *OR You are accesing from outside '''IIT Bombay''' and using an open network such as at home OR using a mobile internet | ||
+ | Change the contents of '''config''' file if you are- | ||
+ | * accesing from outside '''IIT Bombay''' | ||
+ | * and using a '''proxy network''' such as at an institute, office etc. | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Switch to config file | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Switch to config file | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Put the value of use proxy as '''Yes''' with Y capital | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Put the value of '''use proxy''' as '''Yes''' with '''Y''' capital. |
− | Change the other details as per the proxy network which you are on. | + | Change the other details as per the '''proxy network''' which you are on. |
− | Save and close this file | + | Save and close this file. |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Open '''StepTest '''folder | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Open '''StepTest '''folder | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Open the '''StepTest''' folder. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Open the '''StepTest''' folder. | ||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Open run.'''vbs''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Open run.'''vbs''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Locate and double click on the file '''run''' | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Locate and double-click on the file '''run'''. |
+ | |- | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point to the various parameters | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| It will open the python based '''SBHS client '''application. | ||
− | + | Note that the first time execution of this file will take a minute to open the '''SBHS client'''. | |
− | + | ||
− | + | ||
− | + | ||
It will show various parameters of the experiment like: | It will show various parameters of the experiment like: | ||
− | + | *'''SBHS Connection''', | |
− | '''SBHS Connection, Client Version, User login '''and''' Experiment status''' | + | *'''Client Version''', |
+ | *'''User login ''' | ||
+ | *and''' Experiment status''' | ||
− | Green dots mean that the | + | Green dots mean that the '''SBHS client''' can connect to the server and the '''client''' version you are using is the latest. |
− | User login and Experiment status is red because i have still not logged in and the experiment is not running. | + | '''User login''' and '''Experiment''' status is red because i have still not logged in and the experiment is not running. |
|- | |- | ||
Line 320: | Line 302: | ||
Type your '''username''' and '''password'''. | Type your '''username''' and '''password'''. | ||
− | This username and password is the same | + | This '''username''' and '''password''' is the same that we used to book a '''slot'''. |
− | Click on login. | + | Click on '''login'''. |
Line 328: | Line 310: | ||
− | Expect the message '''Ready to execute scilab code | + | Expect the message '''Ready to execute scilab code'''. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
Line 347: | Line 321: | ||
− | This should open '''Scilab''' automatically | + | This should open '''Scilab''' automatically. |
− | + | It should also open the file in '''Scilab''' editor. | |
|- | |- | ||
Line 357: | Line 331: | ||
Type the command '''getd space dot dot slash common files '''and press '''Enter''' key. | Type the command '''getd space dot dot slash common files '''and press '''Enter''' key. | ||
− | |||
− | |||
− | |||
|- | |- | ||
Line 366: | Line 337: | ||
− | + | On the Menu bar, lick on '''Execute '''option and then click on '''File with echo '''. | |
If the network is working properly, it will open an '''Xcos''' diagram, else it will show error on the '''Scilab''' console. | If the network is working properly, it will open an '''Xcos''' diagram, else it will show error on the '''Scilab''' console. | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| '''step test''' '''Xocs''' diagram opens up >> Point to '''Heat '''and '''Fan''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| '''step test''' '''Xocs''' diagram opens up >> Point to '''Heat '''and '''Fan''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Once the '''step test | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Once the '''step test Xocs''' diagram opens up, we can set the experiment parameters such as '''Heat''' and '''Fan.''' |
|- | |- | ||
Line 384: | Line 351: | ||
− | I will put the | + | I will put the '''initial value''' = 30, '''final value''' = 45 and '''step time '''= 300. |
− | Similarly, I will set the '''fan''' to be constant at 50% which is the default value | + | Similarly, I will set the '''fan''' to be constant at 50% which is the default value. |
|- | |- | ||
Line 393: | Line 360: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Now let us save and execute the '''xcos diagram.''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Now let us save and execute the '''xcos diagram.''' | ||
− | To execute, click on the '''start''' button on the menu bar | + | To execute, click on the '''start''' button on the menu bar. |
|- | |- | ||
Line 409: | Line 376: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point as per narration | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point as per narration | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| You can see that it shows the values of '''current | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| You can see that it shows the values of '''current iteration, heat, fan, temperature''' and '''time left''' for '''experimentation'''. |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point to the '''log file name''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point to the '''log file name''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| It shows the '''log | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| It shows the '''log file name''' it has created for this experiment. |
|- | |- | ||
Line 419: | Line 386: | ||
click on show video | click on show video | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Switch to the browser | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Switch to the browser. |
− | + | Click on '''show video'''. | |
− | It will give a live video feed of the SBHS you are currently accessing. | + | It will give a live video feed of the '''SBHS''' you are currently accessing. |
|- | |- | ||
Line 435: | Line 402: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Resume the recording >> Point to the graph shown | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Resume the recording >> Point to the graph shown | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| After sufficient time of experiment, the '''graph''' obtained is as shown. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| After sufficient time of experiment, the '''graph''' obtained is as shown. | ||
− | |||
− | |||
− | |||
|- | |- | ||
Line 459: | Line 423: | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Open this folder and locate your log file. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Open this folder and locate your '''log file'''. |
− | Read the '''log''' | + | Read the '''log file''' name as '''year month date hours minutes seconds dot txt''' |
− | Use this '''log''' | + | Use this '''log file''' for further analysis. |
|- | |- | ||
Line 473: | Line 437: | ||
In this tutorial we learnt | In this tutorial we learnt | ||
− | What are the software installations required to do a remote experiment on SBHS | + | *What are the software installations required to do a remote experiment on '''SBHS''' |
− | + | *How to use the '''SBHS virtual labs''' website | |
− | + | *How to use the '''python based SBHS client''' application | |
− | How to use the SBHS virtual labs website | + | *How to execute the '''scilab''' code of an experiment |
− | + | ||
− | + | ||
− | How to use the python based SBHS client application | + | |
− | + | ||
− | + | ||
− | How to execute the scilab code of an experiment | + | |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Show slide | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Show slide | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Watch the video available at the following link | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Watch the video available at the following link. |
Line 497: | Line 455: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Show slide | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Show slide | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| The Spoken Tutorial Project Team | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| The Spoken Tutorial Project Team | ||
+ | *Conducts workshops using spoken tutorials. | ||
+ | *Gives certificates to those who pass an online test | ||
− | + | For more details, please write to '''contact at spoken-tutorial.org''' | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | For more details, please write to contact at spoken-tutorial.org | + | |
|- | |- | ||
Line 517: | Line 471: | ||
More information on this Mission is available at: [http://spoken-tutorial.org/NMEICT-Intro http://spoken-tutorial.org/NMEICT-Intro] | More information on this Mission is available at: [http://spoken-tutorial.org/NMEICT-Intro http://spoken-tutorial.org/NMEICT-Intro] | ||
− | + | This is Rupak Rokade from IIT Bombay signing off. | |
− | + | ||
Revision as of 08:04, 6 January 2015
Title of script: Using SBHS virtual laboratory
Author: Rupak Rokade
Keywords: SBHS, Virtual labs, tutorial
| |
---|---|
Show Slide | Welcome to the spoken tutorial on Using Single Board heater System Virtual labs on Windows OS |
Show Slide | In this spoken tutorial we will learn about:
|
Show Slide
Pre-requisite |
As a pre-requisite, watch the following tutorials
1. Introduction to SBHS and 2. Introduction to Xcos.
|
Show Slide
Pre-requisite |
Ensure that Scilab 5.3.3 is installed on your computer.
sbhs.os-hardware.in/downloads
|
Show slide | Scilab 5.3.3 installation is mandatory because all SBHS experiment Scilab codes are written using Scilab 5.3.3
This is because a software is always backward-compatible, never forward-compatible. |
I have already installed Scilab 5.3.3.
| |
Demo as per narration | Open a web browser.
In the address bar, type os-hardware.in This is the website for open source hardware. |
click on SBHS image | Click on the project SBHS. |
Click on Downloads | On the left hand side, click on Downloads. |
Demo as per narration | Click on the download link for SBHS Scilab codes for windows
It will download the Scilab code. |
Go to the Desktop and point to the file. | Save it on the Desktop.
Here it is. |
Right-click on it >> show Extract here. | The file downloaded will be in zip format.
|
<<PAUSE>> | |
Now let us see the SBHS Virtual labs website. | |
Switch to browser | Switch to the web browser again. |
Click on Virtual Labs | On the left hand side, click on the link Virtual Labs. |
This is the interface from where one can gain access to do remote experiments on SBHS. | |
Point to Login/Register | A first time user needs to register once, by clicking on Login/Register option. |
Show the registration form | After this, a form has to be filled and submitted.
|
Enter username
Enter Password |
I will now login with an already registered account.
I will enter my username and password. |
Point to “Book Slot”, “View/Delete Slot” | After a successful login, a user has access to Book Slot, View/Delete Slot etc.
In our case, a slot lasts for 55 minutes of every hour. |
Click on Book Slot option | After clicking on the Book Slot option, the client will have two choices. |
Point to Current Slot and Future Slot | One can either book Current Slot or a Future Slot |
Point to Book Now and then to Book future slot | Book Now option will appear only if the current slot is vacant.
It will allow two non-consecutive slots to be booked, each day. |
Click on Book Current Slot | I will click on Book Now option. |
You will receive an acknowledgement, with your booking details on the top side.
| |
Switch to the Desktop >> open the downloaded folder | Open the folder you downloaded and saved on the Desktop. |
Point to the folders: StepTest and common_files | You can see that there is a StepTest folder and common_files folder.
|
Open the common_files folder.
| |
Switch to Slides | Do not change the contents of config file if
|
Switch to config file | Put the value of use proxy as Yes with Y capital.
|
Open StepTest folder | Open the StepTest folder. |
Open run.vbs | Locate and double-click on the file run. |
Point to the various parameters | It will open the python based SBHS client application.
|
Point to Login >>
type username type password click on login |
It will also give you an option to login.
This username and password is the same that we used to book a slot. Click on login.
|
Switch to StepTest folder | Switch to the StepTest folder which has the experiment files. |
Double-click on “stepc.sce” | Double-click on the stepc file.
It should also open the file in Scilab editor. |
Switch to Scilab console >> Type getd ../common_files | Switch to the Scilab console.
|
Switch to Scilab editor >> Click on Execute >> click on File with echo | Switch to the scilab editor.
|
step test Xocs diagram opens up >> Point to Heat and Fan | Once the step test Xocs diagram opens up, we can set the experiment parameters such as Heat and Fan. |
Demo | I will set the heat to vary from 30% to 45% after 300 seconds.
|
Save and execute | Now let us save and execute the xcos diagram.
To execute, click on the start button on the menu bar. |
If there is no error, it will open a plot window. | |
Point to the 3 graphs | It will consist of three graphs, Heat, Fan and Temperature from top to bottom. |
Switch to SBHS client | Switch to the SBHS client. |
Point as per narration | You can see that it shows the values of current iteration, heat, fan, temperature and time left for experimentation. |
Point to the log file name | It shows the log file name it has created for this experiment. |
Switch to the web browser
click on show video |
Switch to the browser.
Click on show video. It will give a live video feed of the SBHS you are currently accessing. |
Pause the recording | This is a real experiment and will take some time to complete.
|
Resume the recording >> Point to the graph shown | After sufficient time of experiment, the graph obtained is as shown. |
Click on Stop button on xcos window | I will stop the simulation by clicking on the stop button on Xcos window. |
Close SBHS client | Close the SBHS client window after the experiment is over. |
switch to the experiment folder >> open logs folder >> point to your username folder | Now, switch to the experiment folder and open the logs folder.
|
Open username folder >> locate log file
|
Open this folder and locate your log file.
|
Show slide | Let us summarise.
In this tutorial we learnt
|
Show slide | Watch the video available at the following link.
|
Show slide | The Spoken Tutorial Project Team
|
Show slide | Spoken Tutorial Project is a part of the Talk to a Teacher project.
This is Rupak Rokade from IIT Bombay signing off.
|