30.01.2015 Views

the integration of visual basic programming language into physics ...

the integration of visual basic programming language into physics ...

the integration of visual basic programming language into physics ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>language</strong>s like C++). This thing has advantages (such as running <strong>the</strong> applications without compiling or<br />

<strong>the</strong> portability across platforms) and disadvantages (such as <strong>the</strong> need <strong>of</strong> a virtual machine to interpret<br />

<strong>the</strong> code) [10].<br />

One <strong>of</strong> <strong>the</strong> primary roles <strong>of</strong> <strong>the</strong> Visual Basic <strong>language</strong> is that <strong>the</strong> user can create complex<br />

applications in a short period <strong>of</strong> time and he can use relatively simple dedicated computer systems<br />

(such as data bases – Visual Basic can use any systems <strong>of</strong> data base management known so far,<br />

directly or by using ODBC).<br />

The use <strong>of</strong> <strong>the</strong> Visual Basic <strong>language</strong> is a general one, being used for simple, educational<br />

applications but also for complex ones (such as games). Theoretically anybody (more or less<br />

experienced) can use Visual Basic because it‟s a simple <strong>programming</strong> <strong>language</strong> [10].<br />

The primary role <strong>of</strong> <strong>the</strong> calculators is decreasing <strong>the</strong> working time. By taking out <strong>the</strong> time<br />

spent on doing calculations <strong>of</strong> <strong>the</strong> experimental data, <strong>the</strong> working time is decreased.<br />

The calculators made in Visual Basic are easy to use. The user types in <strong>the</strong> experimental data<br />

and by pressing a button he receives <strong>the</strong> final value instantly [3].<br />

Ano<strong>the</strong>r major role <strong>of</strong> <strong>the</strong>se applications is that <strong>the</strong> user is able to save <strong>the</strong> experimental data<br />

and export it <strong>into</strong> an Excel table. By doing this he can use it later for o<strong>the</strong>r projects.<br />

We think that integrating this s<strong>of</strong>tware in <strong>the</strong> laboratory <strong>physics</strong> lesson increases <strong>the</strong> lesson<br />

quality and develops <strong>the</strong> motivation for <strong>the</strong> experimental methods <strong>of</strong> matter investigation.<br />

II.<br />

BUILDING THE APPLICATIONS<br />

We will use one <strong>of</strong> <strong>the</strong> calculators (<strong>the</strong> “Minimum Deviation Experimental Method”<br />

calculator) in order to show you how it was created. The Graphic User Interface is presented below<br />

(Figure 1).<br />

Figure 1. The GUI for <strong>the</strong> “Minimum Deviation Experimental Method”<br />

2.1 Designing <strong>the</strong> GUI (Graphic User Interface)<br />

We start by setting <strong>the</strong> window size in Visual Basic. Next we can edit <strong>the</strong> title, icon and <strong>the</strong><br />

window properties (Figure 2).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!