Difference between revisions of "Single-Board-Heater-System/C2/Using-SBHS-Virtual-Labs-on-Windows/English"
Nancyvarkey (Talk | contribs) |
Nancyvarkey (Talk | contribs) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
{| style="border-spacing:0;" | {| style="border-spacing:0;" | ||
− | ! | + | ! <center>'''Visual Cue'''</center> |
− | ! <center>Narration</center> | + | ! <center>'''Narration'''</center> |
|- | |- | ||
| 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;"| Welcome to the spoken tutorial on Using '''Single Board heater System Virtual labs '''on''' Windows OS''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Welcome to the spoken tutorial on Using '''Single Board heater System Virtual labs '''on''' Windows OS''' | ||
+ | |||
+ | |- | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Just show slide, no narration | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Although this tutorial demonstrates using a Windows OS, the process remains same for Linux OS, unless specified. | ||
|- | |- | ||
Line 19: | Line 23: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| In this spoken tutorial we will learn about: | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| In this spoken tutorial we will learn about: | ||
− | + | # Software installations required on the remote users computer | |
− | # Software installations required on the remote | + | |
# Using '''SBHS''' website | # Using '''SBHS''' website | ||
# Performing a '''Step test''' experiment remotely | # Performing a '''Step test''' experiment remotely | ||
Line 27: | Line 30: | ||
| 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 | ||
− | Pre-requisite | + | <u>Pre-requisite</u> |
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| As a pre-requisite, watch the following tutorials | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| As a pre-requisite, watch the following tutorials | ||
− | + | # '''Introduction to SBHS '''and | |
− | + | # '''Introduction to Xcos'''. | |
− | + | ||
− | + | ||
These are available on the '''spoken tutorial '''website. | These are available on the '''spoken tutorial '''website. | ||
− | |||
− | |||
− | |||
|- | |- | ||
| 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;"| | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"|I am recording this tutorial on a '''Windows-7''' '''32-bit''' Operating System |
|- | |- | ||
| 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 | ||
− | Pre-requisite | + | <u>Pre-requisite</u> |
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Ensure that '''Scilab | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Ensure that '''Scilab '''is installed on your computer. |
− | '''Scilab | + | '''Scilab '''can be downloaded from |
− | '''sbhs.os-hardware.in/downloads''' | + | *'''sbhs.os-hardware.in/downloads '''OR |
+ | *'''www.scilab.org''' | ||
− | Please note that you will need ''' | + | 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;"| Just show slide, no narration | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Linux users have to install '''Scilab''' via the '''Synaptic Package Manager'''. | ||
+ | |||
+ | |||
+ | Or download a portable '''Linux''' version of '''Scilab''' from links mentioned in the previous 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: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;"| | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| All '''SBHS '''experiment '''Scilab''' codes |
+ | *are written using '''Scilab 5.3.3 ''' | ||
+ | *and is the recommended version. | ||
+ | |||
+ | A higher version of '''Scilab''' will work equally well. | ||
− | |||
− | + | However, code modified in a higher version of '''Scilab''' cannot be re-used in the lower version. | |
|- | |- | ||
Line 72: | Line 81: | ||
− | Now the next step is to download the experiment '''Scilab''' code | + | Now, the next step is to download the experiment '''Scilab''' code. |
|- | |- | ||
Line 78: | Line 87: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Open a web browser. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Open a web browser. | ||
− | In the address bar, type '''os | + | In the address bar, type '''os hyphen hardware.in''' |
− | This is the website for | + | This is the website for '''opensource''' hardware. |
|- | |- | ||
Line 88: | Line 97: | ||
|- | |- | ||
| 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.''' |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Demo as per narration | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Demo 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;"| Click on the download link for '''SBHS Scilab codes for | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Click on the download link for '''SBHS Scilab codes for Windows.''' |
+ | |||
It will download the '''Scilab''' code. | It will download the '''Scilab''' code. | ||
Line 100: | Line 110: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Save it on the '''Desktop.''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Save it on the '''Desktop.''' | ||
− | |||
− | |||
Here it is. | Here it is. | ||
|- | |- | ||
− | | 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;"| Just show slide, no narration |
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;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;"| Linux users have to download '''SBHS Scilab''' code for '''Linux''', carefully choosing between '''32''' and '''64 bit'''. |
|- | |- | ||
− | | 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;"| The file downloaded will be in '''zip''' format. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| The file downloaded will be in '''zip''' format. | ||
Line 116: | Line 124: | ||
Extract the content of this zip file on the '''Desktop.''' | Extract the content of this zip file on the '''Desktop.''' | ||
− | + | |- | |
− | To do so, '''right-click''' on it and choose '''Extract here.''' | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Right-click on it >> show '''Extract''' '''here.''' |
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| To do so, '''right-click''' on it and choose '''Extract here.''' | ||
Line 124: | Line 133: | ||
|- | |- | ||
| 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;"| | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| <<PAUSE>> |
|- | |- | ||
| 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;"| Now let us see the '''SBHS Virtual | + | | 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 see the '''SBHS Virtual Labs''' website. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
Line 140: | Line 145: | ||
|- | |- | ||
| 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;"| This is the interface from where one can gain access to do remote experiments on '''SBHS'''. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| This is the interface |
+ | *from where one can gain access | ||
+ | *to do remote experiments on '''SBHS'''. | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Login/Register''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Login/Register''' | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| A first time user needs to register once, by clicking on '''Login/Register''' option. | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| A first time user needs to register once, by clicking on the '''Login/Register''' option. |
|- | |- | ||
Line 151: | Line 158: | ||
− | An activation link is | + | An activation link is emailed to the user after the form is submitted successfully. |
Line 157: | Line 164: | ||
− | Note that the activation process may not be immediate. | + | Note that the activation process may not be immediate. |
+ | |||
+ | It may take a few minutes. | ||
|- | |- | ||
Line 163: | Line 172: | ||
Enter Password | Enter Password | ||
− | | 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 | + | | 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 my registered account. |
I will enter my '''username''' and '''password'''. | I will enter my '''username''' and '''password'''. | ||
Line 174: | Line 183: | ||
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 | + | | 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 186: | Line 196: | ||
|- | |- | ||
| 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 '''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 '''slot is''' vacant. |
− | + | '''Book future slot''' option will always be available. | |
+ | |||
It will allow two non-consecutive '''slots''' to be booked, each day. | It will allow two non-consecutive '''slots''' to be booked, each day. | ||
Line 195: | Line 206: | ||
|- | |- | ||
| 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 the '''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 on the top side. | + | | 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 appearing on the top side. |
Line 213: | Line 224: | ||
|- | |- | ||
| 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 ''' | + | | 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 a '''common files '''folder |
Line 222: | Line 233: | ||
− | If you want one experiment to be copied elsewhere, make sure you copy the ''' | + | If you want one experiment to be copied elsewhere, make sure you copy the '''common files''' folder, too. |
− | However, make sure the ''' | + | 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: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''' | |
− | Open the file '''config''' | + | |
Line 241: | Line 250: | ||
|- | |- | ||
| 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 '''config''' | + | | 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 |
+ | *You are inside '''IIT Bombay''' OR | ||
+ | *You are outside '''IIT Bombay''' and using an '''open network'''. | ||
− | + | For example, at home or using a '''mobile internet.''' | |
− | + | ||
− | + | |- | |
− | Change the contents of '''config''' | + | | 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;"|Change the contents of '''config file''' if |
− | + | *You are outside '''IIT Bombay''' and using a '''proxy network.''' | |
+ | *For example, 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 | + | | 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. |
Line 259: | Line 270: | ||
− | Save and close this file. | + | Save and close this file. |
|- | |- | ||
Line 267: | Line 278: | ||
|- | |- | ||
| 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 | + | | 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: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. | + | | 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''' | + | 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''', | *'''Client Version''', | ||
− | *'''User login ''' | + | *'''User login '''and |
− | * | + | *'''Experiment status''' |
− | Green dots mean that the ''' | + | Green dots mean that the '''sbhs client''' can connect to the '''server'''. |
− | '''User login''' and '''Experiment''' status is red because | + | It also shows that the '''client version''' I am using is the latest. |
+ | |||
+ | |||
+ | '''User login''' and '''Experiment''' status is red because I have still not logged in and the experiment is not running. | ||
|- | |- | ||
Line 302: | Line 316: | ||
Type your '''username''' and '''password'''. | Type your '''username''' and '''password'''. | ||
− | This '''username''' and '''password''' is the same | + | This '''username''' and '''password''' is the same you used to book a '''slot'''. |
+ | |||
Click on '''login'''. | Click on '''login'''. | ||
Line 310: | Line 325: | ||
− | Expect the message '''Ready to execute | + | Expect the message '''Ready to execute Scilab code.''' |
|- | |- | ||
Line 320: | Line 335: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| '''Double-click''' on the '''stepc '''file. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| '''Double-click''' on the '''stepc '''file. | ||
+ | |- | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Just show slide, no narration | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Double clicking may not work for '''Linux''' users. | ||
− | This should open '''Scilab''' automatically. | + | If so, open the file manually inside the '''Scilab''' editor using the File menu. |
+ | |||
+ | |- | ||
+ | | 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;"|This should open '''Scilab''' automatically. | ||
It should also open the file in '''Scilab''' editor. | It should also open the file in '''Scilab''' editor. | ||
+ | |||
+ | |- | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Demo | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| If it doesn't, click on the '''File''' menu. | ||
+ | |||
+ | Click on '''Open a file.''' | ||
+ | |||
+ | Choose the file '''stepc '''and click on '''Open.''' | ||
+ | |||
+ | |- | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Just show slide, no narration | ||
+ | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Please check the current working directory using the command '''pwd'''. | ||
+ | |||
+ | The working directory should be '''StepTest'''. | ||
+ | |||
+ | |||
+ | If not, it has to be changed using the '''Change Current Directory''' option available in '''File''' menu. | ||
|- | |- | ||
Line 330: | Line 369: | ||
− | Type the command '''getd space dot dot slash common files '''and press '''Enter''' | + | Type the command '''getd space dot dot slash common files '''and press '''Enter'''. |
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Switch to '''Scilab editor >> '''Click on '''Execute >> '''click on F'''ile with echo''' | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Switch to '''Scilab editor >> '''Click on '''Execute >> '''click on F'''ile with echo''' | ||
− | | 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 ''' | + | | 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 '''Scilab''' editor. |
− | On the | + | On the menu bar, click on '''Execute '''option and then click on '''File with echo.''' |
− | If the network is working properly, it will open an '''Xcos''' diagram, | + | If the '''network''' is working properly, it will open an '''Xcos''' diagram. |
+ | |||
+ | |||
+ | If it doesn't, 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 | + | | 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;"| | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Using the '''step test Xocs''' diagram, we can set the experiment parameters such as '''Heat''' and '''Fan.''' |
+ | |||
+ | |||
+ | Double-click on each block to change its parameters. | ||
|- | |- | ||
Line 351: | Line 396: | ||
− | I will put the '''initial value''' | + | I will put the '''initial value''' as 30, '''final value''' equal to 45 and '''step time '''equal to 300. |
Line 358: | Line 403: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Save and execute | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Save and execute | ||
− | | 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 ''' | + | | 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 ''' | + | To execute, click on the '''Start''' button on the menu bar. |
|- | |- | ||
Line 368: | Line 413: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point to the 3 graphs | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Point to the 3 graphs | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| It will consist of three graphs, '''Heat | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| It will consist of three graphs, '''Heat, Fan''' and '''Temperature''' from top to bottom. |
|- | |- | ||
Line 376: | Line 421: | ||
|- | |- | ||
| 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;"| | + | | 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 values of '''current iteration, heat, fan, temperature''' and '''time left''' for '''experimentation'''. |
|- | |- | ||
Line 388: | Line 433: | ||
| 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 ''' | + | Click on '''Show video''' option. |
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 405: | Line 450: | ||
|- | |- | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Click on '''Stop '''button on '''xcos''' window | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;"| Click on '''Stop '''button on '''xcos''' window | ||
− | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| I will stop the simulation by clicking on the ''' | + | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| I will stop the simulation by clicking on the '''Stop''' button available on the '''Xcos''' window. |
|- | |- | ||
Line 423: | Line 468: | ||
− | | 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 435: | Line 480: | ||
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Let us summarise. | | style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;"| Let us summarise. | ||
− | 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 '''SBHS virtual labs''' website | ||
− | *How to use the '''python based SBHS client''' | + | *How to use the '''python''' based '''SBHS client application''' |
− | *How to execute the ''' | + | *How to execute the '''Scilab''' code of an experiment |
|- | |- | ||
Line 450: | Line 495: | ||
− | If you do not have good bandwidth, you can download and watch it | + | If you do not have good bandwidth, you can download and watch it. |
|- | |- | ||
Line 459: | Line 504: | ||
− | For more details, please write to | + | For more details, please write to contact at spoken-tutorial.org |
|- | |- | ||
Line 471: | Line 516: | ||
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. | + | |
+ | Thanks for joining, This is Rupak Rokade from IIT Bombay signing off. | ||
Latest revision as of 09:22, 22 August 2017
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 |
Just show slide, no narration | Although this tutorial demonstrates using a Windows OS, the process remains same for Linux OS, unless specified. |
Show Slide | In this spoken tutorial we will learn about:
|
Show Slide
Pre-requisite |
As a pre-requisite, watch the following tutorials
These are available on the spoken tutorial website. |
I am recording this tutorial on a Windows-7 32-bit Operating System | |
Show Slide
Pre-requisite |
Ensure that Scilab is installed on your computer.
|
Just show slide, no narration | Linux users have to install Scilab via the Synaptic Package Manager.
|
Show slide | All SBHS experiment Scilab codes
|
I have already installed Scilab 5.3.3.
| |
Demo as per narration | Open a web browser.
In the address bar, type os hyphen hardware.in This is the website for opensource 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.
|
Go to the Desktop and point to the file. | Save it on the Desktop.
|
Just show slide, no narration | Linux users have to download SBHS Scilab code for Linux, carefully choosing between 32 and 64 bit. |
The file downloaded will be in zip format.
| |
Right-click on it >> show Extract here. | To do so, right-click on it and choose Extract here.
|
<<PAUSE>> | |
Now let us see the SBHS Virtual Labs website. | |
Click on Virtual Labs | On the left hand side, click on the link Virtual Labs. |
This is the interface
| |
Point to Login/Register | A first time user needs to register once, by clicking on the Login/Register option. |
Show the registration form | After this, a form has to be filled and submitted.
It may take a few minutes. |
Enter username
Enter Password |
I will now login with my 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.
|
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.
|
Click on Book Current Slot | I will click on the Book Now option |
You will receive an acknowledgement, with your booking details appearing 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 a common files folder
|
Open the common files folder.
| |
Switch to Slides | Do not change the contents of config file if
For example, at home or using a mobile internet. |
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 you used to book a slot.
|
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. |
Just show slide, no narration | Double clicking may not work for Linux users.
If so, open the file manually inside the Scilab editor using the File menu. |
This should open Scilab automatically.
It should also open the file in Scilab editor. | |
Demo | If it doesn't, click on the File menu.
Click on Open a file. Choose the file stepc and click on Open. |
Just show slide, no narration | Please check the current working directory using the command pwd.
The working directory should be StepTest.
|
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 | Using the step test Xocs diagram, 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 | 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 option. 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 available on the 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.
|