Számítógépes mérésvezérlés

A Fizipedia wikiből
A lap korábbi változatát látod, amilyen Fuge (vitalap | szerkesztései) 2022. február 18., 15:52-kor történt szerkesztése után volt.


Tartalomjegyzék

Course data

  • Course name: Computer Controlled Measurements
  • Neptun code: BMETE11AF38 (old code: BMETE11AF10)
  • Requirements: 0/0/2/F/3
  • Language: English
  • Responsible lecturer: Dr. Halbritter András
  • Instructor: Gergő Fülöp
  • Requirements to pass:
    • Completion of programming exercises (first 2 classes).
    • Passing the written short tests and completion of all the measurement control exercises. In case of justified absence, you have the possibility to retake 2 experiments.
    • Handing in reports of the exercises within the deadline.
  • Grading:
    • Short tests before each measurement control exercise (max. 20 pts each)
    • Reports (max. 100 pts each)
    • Each test and report must have at least a pass (2) grade.
    • Total: 480 pts, the final grade is determined as per the table below,
< 40%: fail (1)
40% - 55%: pass (2)
55% - 70%: satisfactory (3)
70% - 85%: good (4)
85% < : excellent (5)
  • In case a report, measurement control program or written test is not the result of independent work, it will automatically be evaluated to be the maximum score multiplied by negative one, regardless of the degree of copying.


Topics

The participants gain experience in computer controlled measurements and in the programming of scientific instruments and data acquisition system. To this end the following topics are covered: communication with the instruments via serial, GPIB, and USB ports. Programming of data acqusitin cards. Programming of complex measurement control platforms, plotting and saving the data, programming of timelines, in situ data analysis. The course consists of 4 hour long computer laboratory exercises every second week. In the first part of the semester fundamental programming skills are obtained through simple example programs. In the second part the participants individually program complex measurement control and data analysis platforms, like nonlinear curve fitting by Monte Carlo method, full computer control of a digital multimeter, digital oscilloscope program using a data acquisition card.


Időrend

A 2017/2018 tavaszi félévben:

Téma Időpont
Programozás 1. 2019.02.04
Programozás 2. 2019.02.11.
Önálló mérés 1. (ZH+JK) 2019.02.25.
Önálló mérés 2. (ZH+JK) 2019.03.04.
Önálló mérés 3. (ZH+JK) 2019.03.25.
Önálló mérés 4. (ZH+JK) 2019.04.01.
Pótlás 1. 2019.04.29.
Pótlás 2. 2019.05.06.


Pótlási lehetőség: egyedi egyeztetés alapján.

A jegyzőkönyvek beadási határideje a mérést követő vasárnap 24 óra. Beküldés elektronikusan a mérésvezetőnek a (MyDAQ1 & MyDAQ2) valamint (DMM & MonteCarlo) címre.

Önálló mérések beosztása

Mérőpár Neptun-kód Dátum
2019.02.25. 2019.03.04. 2019.03.25. 2019.04.01.
1 YLBMLU myDAQ1 DMM myDAQ2 MonteCarlo
AR1WBX
2 TQ53G3 myDAQ1 DMM myDAQ2 MonteCarlo
OAE3PZ
3 C7B1AQ myDAQ1 DMM myDAQ2 MonteCarlo
FNZMVE
4 D91WR0 myDAQ1 DMM myDAQ2 MonteCarlo
ZWP4BP
5 EQTJRU DMM myDAQ1 MonteCarlo myDAQ2
KC05TF
6 V25I5L DMM myDAQ1 MonteCarlo myDAQ2
FQQBVR
7 W9FXR3 DMM myDAQ1 MonteCarlo myDAQ2

Installing Visual Studio

We use Visual Studio 2017 in the lab computers. For working on your own PC, download and install the Community edition of Visual Studio 2017 or 2019 from the link below:

https://visualstudio.microsoft.com/vs/older-downloads/

You should install Visual Studio with .NET workload.

Installing NI DAQmx

In case you would like to use your own PC for working with the myDAQ card, you also need to install the NI-DAQmx library. Download and install it from here: https://www.ni.com/hu-hu/support/downloads/drivers/download.ni-daqmx.html#348669

The installer has a lot of options. You will need NI MAX (Measurement & Automation Explorer), and .NET 4.5 support.


Tematika

Programozás 1.

Visual Studio 2005 használata, alapvető .NET objektumok kezelése.

Slides

"Hello World!" program

XY data

Programozás 2.

Slides

Input file with (x,y) data pairs (Suruasd.txt)

Véletlenszámok grafikus megjelenítése

Eltelt idő mérése


3. diasor

Önálló mérések

Az önálló mérések során a hallgatók négy különböző összetett feladatot oldanak meg:

Az óra elején egy rövid írásbeli számonkéréssel ellenőrizzük a hallgatók felkészültségét. A mérőpárokat a fenti táblázat szerint osztjuk be.

A jegyzőkönyv és forráskód beküldési határideje a mérést követő vasárnap 24 óra. A forráskódot a következő módon célszerű elküldeni: csomagoljuk be pl. zip-be az egész projekt könyvtárat, majd a fájl kiterjesztését változtassuk meg .zip-ről pl. .zzz-re. Erre azért van szükség, mert sok email-szolgáltató szűri a csatolmányok tartalmát, és ha a .zip fájl futtatható fájlt tartalmaz (.exe kiterjesztéssel), akkor a .zip fájlt nem engedi csatolni.

Eredmények

Mérőpár valamint neptun kód szerint a következő linken található: Eredmények2019.


Megtekintési lehetőség

A laborgyakorlatok idején és megbeszélt időpontokban.