Difference between revisions of "Single-Board-Heater-System/C2/Using-SBHS-Virtual-Labs-on-Windows/English-timed"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "{| Border=1 | <center>'''Time'''</center> | <center>'''Narration'''</center> |- |00:01 | Welcome to the spoken tutorial on Using '''Single Board heater System Virtual labs ''...")
 
Line 5: Line 5:
 
|-
 
|-
 
|00:01
 
|00:01
| Welcome to the spoken tutorial on Using '''Single Board heater System Virtual labs '''on''' Windows OS'''
+
| Welcome to the '''spoken tutorial''' on '''Using Single Board heater System Virtual labs on Windows OS'''.
  
 
|-
 
|-
 
| 00:08
 
| 00:08
| In this spoken tutorial we will learn about: Software installations required on the remote users computer
+
| In this spoken tutorial, we will learn about: * Software installations required on the remote users' computer
  
 
|-
 
|-
 
| 00:15
 
| 00:15
| Using '''SBHS''' website  
+
|* Using '''SBHS''' website  
  
 
|-
 
|-
 
| 00:17
 
| 00:17
| Performing a '''Step test''' experiment remotely
+
|* Performing a '''Step test''' experiment remotely.
  
 
|-
 
|-
 
|00:21
 
|00:21
| As a pre-requisite, watch the following tutorials  '''Introduction to SBHS '''and '''Introduction to Xcos'''.
+
| As a pre-requisite, watch the following tutorials- '''Introduction to SBHS '''and '''Introduction to Xcos'''.
  
 
|-
 
|-
Line 29: Line 29:
 
|-
 
|-
 
| 00:33
 
| 00:33
| I am recording this tutorial on a '''Windows-7''' '''32-bit''' Operating System
+
| I am recording this tutorial on a '''Windows-7''' '''32-bit''' Operating System.
  
 
|-
 
|-
Line 37: Line 37:
 
|-
 
|-
 
| 00:42
 
| 00:42
|'''Scilab '''can be downloaded from '''sbhs dot os hyphen hardware dot in slash downloads '''OR '''www dot scilab dot org'''
+
|Scilab can be downloaded from '''sbhs dot os hyphen hardware dot in slash downloads '''OR '''www dot scilab dot org'''.
  
 
|-
 
|-
 
| 00:56
 
| 00:56
|Please note that you will need '''Internet''' connectivity to install '''Scilab.'''
+
|Please note that you will need internet connectivity to install Scilab.
  
 
|-
 
|-
 
| 01:01
 
| 01:01
| All '''SBHS '''experiment '''Scilab''' codes are written using '''Scilab 5.3.3 '''and is the recommended version.
+
| All '''SBHS '''experiment Scilab codes are written using '''Scilab 5.3.3 '''and is the recommended version.
  
 
|-
 
|-
 
| 01:10
 
| 01:10
|A higher version of '''Scilab''' will work equally well.
+
|A higher version of Scilab will work equally well.
  
 
|-
 
|-
 
| 01:14
 
| 01:14
|However, code modified in a higher version of '''Scilab''' cannot be re-used in the lower version.
+
|However, code modified in a higher version of Scilab cannot be re-used in the lower version.
  
 
|-
 
|-
Line 61: Line 61:
 
|-
 
|-
 
| 01:26
 
| 01:26
|Now, the next step is to download the experiment '''Scilab''' code.
+
|Now, the next step is to download the experiment Scilab code.
  
 
|-
 
|-
Line 69: Line 69:
 
|-
 
|-
 
| 01:33
 
| 01:33
|In the address bar, type '''os hyphen hardware dot in''' and press the '''Enter''' key
+
|In the address bar, type: '''os hyphen hardware dot in''' and press the '''Enter''' key.
  
 
|-
 
|-
 
| 01:42
 
| 01:42
|This is the website for '''opensource''' hardware
+
|This is the website for '''opensource hardware'''.
  
 
|-
 
|-
Line 81: Line 81:
 
|-
 
|-
 
| 01:50
 
| 01:50
| On the left hand side, click on '''Downloads'''
+
| On the left hand side, click on '''Downloads'''.
  
 
|-
 
|-
 
| 01:54
 
| 01:54
| Click on the download link for '''SBHS Scilab codes for Windows'''
+
| Click on the download link for '''SBHS Scilab codes for Windows'''.
  
 
|-
 
|-
 
| 02:02
 
| 02:02
|It will download the '''Scilab''' code.
+
|It will download the '''Scilab code'''.
  
 
|-
 
|-
 
| 02:04
 
| 02:04
| Save it on the '''Desktop.'''  
+
| '''Save''' it on the Desktop.
  
 
|-
 
|-
 
| 02:07
 
| 02:07
|Here it is.
+
|Here it is!
  
 
|-
 
|-
Line 105: Line 105:
 
|-
 
|-
 
| 02:12
 
| 02:12
|Extract the content of this zip file on the '''Desktop.'''
+
|'''Extract''' the content of this zip file on the Desktop.
  
 
|-
 
|-
 
| 02:16
 
| 02:16
| To do so, '''right-click''' on it and choose '''Extract''' '''here.'''
+
| To do so, right-click on it and choose '''Extract Here.'''
  
 
|-
 
|-
 
| 02:23
 
| 02:23
|The contents inside this folder, will be discussed at a later part of this tutorial.
+
|The contents inside this folder will be discussed at a later part of this tutorial.
  
 
|-
 
|-
 
| 02:29
 
| 02:29
| Now let us see the '''SBHS Virtual labs''' website.
+
| Now, let us see the '''SBHS Virtual labs''' website.
  
 
|-
 
|-
 
| 02:33
 
| 02:33
| On the left hand side, click on the link '''Virtual''' '''Labs.'''
+
| On the left hand side, click on the link '''Virtual Labs.'''
  
 
|-
 
|-
 
| 02:37
 
| 02:37
| This is the interface from where one can gain access to do remote experiments on '''SBHS'''.
+
| This is the '''interface''' from where one can gain access to do remote experiments on '''SBHS'''.
  
 
|-
 
|-
Line 133: Line 133:
 
|-
 
|-
 
| 02:55
 
| 02:55
| After this, a form has to be filled and submitted.
+
| After this, a '''form''' has to be filled and submitted.
  
 
|-
 
|-
 
| 03:00
 
| 03:00
|An activation link is emailed to the user after the form is submitted successfully.
+
|An activation link is emailed to the user after the '''form''' is submitted successfully.
  
 
|-
 
|-
 
| 03:06
 
| 03:06
|The link received in the email, should be used to complete the registration process.
+
|The '''link''' received in the email should be used to complete the registration process.
  
 
|-
 
|-
 
| 03:12
 
| 03:12
|Note that the activation process may not be immediate. It may take a few minutes
+
|Note that the activation process may not be immediate. It may take a few minutes.
  
 
|-
 
|-
Line 165: Line 165:
 
|-
 
|-
 
| 03:41
 
| 03:41
|In our case, a '''slot''' lasts for 55 minutes of every hour
+
|In our case, a '''slot''' lasts for 55 minutes of every hour.
  
 
|-
 
|-
Line 173: Line 173:
 
|-
 
|-
 
| 03:53
 
| 03:53
| One can either book '''Current Slot''' or a '''Future Slot'''
+
| One can either book '''Current Slot''' or a '''Future Slot'''.
  
 
|-
 
|-

Revision as of 07:41, 16 December 2016

Time
Narration
00:01 Welcome to the spoken tutorial on Using Single Board heater System Virtual labs on Windows OS.
00:08 In this spoken tutorial, we will learn about: * Software installations required on the remote users' computer
00:15 * Using SBHS website
00:17 * Performing a Step test experiment remotely.
00:21 As a pre-requisite, watch the following tutorials- Introduction to SBHS and Introduction to Xcos.
00:29 These are available on the spoken tutorial website.
00:33 I am recording this tutorial on a Windows-7 32-bit Operating System.
00:39 Ensure that Scilab is installed on your computer.
00:42 Scilab can be downloaded from sbhs dot os hyphen hardware dot in slash downloads OR www dot scilab dot org.
00:56 Please note that you will need internet connectivity to install Scilab.
01:01 All SBHS experiment Scilab codes are written using Scilab 5.3.3 and is the recommended version.
01:10 A higher version of Scilab will work equally well.
01:14 However, code modified in a higher version of Scilab cannot be re-used in the lower version.
01:22 I have already installed Scilab 5.3.3.
01:26 Now, the next step is to download the experiment Scilab code.
01:31 Open a web browser.
01:33 In the address bar, type: os hyphen hardware dot in and press the Enter key.
01:42 This is the website for opensource hardware.
01:46 Click on the project SBHS.
01:50 On the left hand side, click on Downloads.
01:54 Click on the download link for SBHS Scilab codes for Windows.
02:02 It will download the Scilab code.
02:04 Save it on the Desktop.
02:07 Here it is!
02:09 The file downloaded will be in zip format.
02:12 Extract the content of this zip file on the Desktop.
02:16 To do so, right-click on it and choose Extract Here.
02:23 The contents inside this folder will be discussed at a later part of this tutorial.
02:29 Now, let us see the SBHS Virtual labs website.
02:33 On the left hand side, click on the link Virtual Labs.
02:37 This is the interface from where one can gain access to do remote experiments on SBHS.
02:46 A first time user needs to register once, by clicking on the Login/Register option.
02:55 After this, a form has to be filled and submitted.
03:00 An activation link is emailed to the user after the form is submitted successfully.
03:06 The link received in the email should be used to complete the registration process.
03:12 Note that the activation process may not be immediate. It may take a few minutes.
03:18 I will now login with my registered account.
03:22 I will enter my username and password.
03:28 After a successful login, a user has access to Book Slot, View/Delete Slot etc.
03:36 A slot is the time duration in which you can perform an experiment.
03:41 In our case, a slot lasts for 55 minutes of every hour.
03:47 After clicking on the Book Slot option, the client will have two choices.
03:53 One can either book Current Slot or a Future Slot.
03:58 Book Now option will appear only if the current slot is vacant.
04:03 Book future slot option will always be available.
04:07 It will allow two non-consecutive slots to be booked, each day.
04:12 I will click on the Book Now option
04:15 You will receive an acknowledgement, with your booking details appearing on the top side.
04:22 The slot booking part is over. Let us now run a simple Step Test experiment, downloaded from the website.
04:31 Open the folder you downloaded and saved on the Desktop.
04:36 You can see that there is a StepTest folder and a common files folder
04:45 Do not move any of the folders from their location.
04:48 If the directory structure is changed, the experiment will not execute.
04:53 If you want one experiment to be copied elsewhere, make sure you copy the common files folder, too.
05:00 However, make sure the common files folder is always outside the experiment folder.
05:07 Open the common files folder. Open the file config
05:13 This file is used to do the proxy settings.
05:17 Do not change the contents of config file if you are inside IIT Bombay OR
05:24 You are outside IIT Bombay and using an open network.
05:29 For example, at home or using a mobile internet
05:34 Change the contents of config file if you are outside IIT Bombay and using a proxy network.
05:42 For example, at an institute, office etc.
05:47 Put the value of use proxy as Yes with Y capital.
05:53 Change the other details as per the proxy network which you are on.
05:58 Save and close this file.
06:01 Open the StepTest folder.
06:05 Locate and double click on the file run
06:09 It will open the python based SBHS client application.
06:13 Note that the first time execution of this file will take a minute to open the SBHS client.
06:21 It will show various parameters of the experiment like
06:25 SBHS Connection, Client Version, User login and Experiment status
06:32 Green dots mean that the sbhs client can connect to the server.
06:38 It also shows that the client version I am using is the latest.
06:44 User login and Experiment status is red because I have still not logged in and the experiment is not running.
06:54 It will also give you an option to login.
06:58 Type your username and password.
07:03 This username and password is the same as you used to book a slot.
07:08 Click on login.
07:11 Ensure that you login on the booked date and time, with correct login details.
07:16 Expect the message Ready to execute scilab code.
07:21 Switch to the StepTest folder which has the experiment files.
07:26 Double-click on the stepc file.
07:29 This should open Scilab automatically.
07:33 It should also open the file in Scilab editor.
07:37 If it doesn't, click on the File menu. Click on Open a file
07:44 Choose the file stepc and click on Open
07:50 Switch to the Scilab console.
07:53 Type the command getd space dot dot slash common files and press Enter.
08:03 Switch to the scilab editor.
08:06 On the Menu bar, click on Execute option and then click on File with echo
08:14 If the network is working properly, it will open an Xcos diagram.
08:20 If it doesn't, it will show error on the Scilab console.
08:25 Using the step test Xocs diagram, we can set the experiment parameters such as Heat and Fan.
08:34 Double-click on each block to change its parameters.
08:39 I will set the heat to vary from 30% to 45% after 300 seconds.
08:46 I will put the initial value as 30, final value equal to 45 and step time equal to 300.
08:59 Similarly, I will set the fan to be constant at 50% which is the default value.
09:08 Now let us save and execute the xcos diagram.
09:13 To execute, click on the Start button on the menu bar.
09:18 If there is no error, it will open a plot window.
09:22 It will consist of three graphs, Heat, Fan and Temperature from top to bottom.
09:31 Switch to the SBHS client.
09:34 It shows the values of current iteration, heat, fan, temperature and time left for experimentation.
09:44 It shows the log file name it has created for this experiment.
09:49 Switch to the browser. Click on Show video option.
09:56 It will give a live video feed of the SBHS you are currently accessing.
10:01 This is a real experiment and will take some time to complete.
10:05 I will pause this recording for some time and then resume again.
10:11 After sufficient time of experiment, the graph obtained is as shown.
10:16 I will stop the simulation by clicking on stop button available on the Xcos window.
10:24 Close the SBHS client window after the experiment is over.
10:29 Now, switch to the experiment folder and open the logs folder.
10:36 It will have a folder named after your username.
10:40 Open this folder and locate your log file.
10:45 Read the log file name as year month date hours minutes seconds dot txt
10:54 Use this log file for further analysis.
10:58 Let us summarise.
11:00 In this tutorial we learnt, What are the software installations required to do a remote experiment on SBHS
11:09 How to use the SBHS virtual labs website
11:12 How to use the python based SBHS client application
11:16 How to execute the Scilab code of an experiment
11:20 Watch the video available at the following link
11:23 It summarises the Spoken Tutorial project.
11:26 If you do not have good bandwidth, you can download and watch it
11:30 The Spoken Tutorial Project Team, Conducts workshops using spoken tutorials.
11:35 Gives certificates to those who pass an online test
11:39 For more details, please write to contact at spoken-tutorial.org
11:46 Spoken Tutorial Project is a part of the Talk to a Teacher project.
11:50 It is supported by the National Mission on Education through ICT, MHRD, Government of India
11:57 More information on this Mission is available at: [1]
12:10 Thanks for joining, This is Rupak Rokade from IIT Bombay signing off. Thank You

Contributors and Content Editors

Nancyvarkey, PoojaMoolya, Sandhya.np14