Single-Board-Heater-System/C2/Using-SBHS-Virtual-Labs-on-Windows/English
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.
|