Labview程式設計(一)
Labview Programming(I)
| 節 | 週二 |
|---|---|
2 09:00–09:50 | Labview程式設計(一) SC160 3 節連堂 |
3 10:10–11:00 | |
4 11:10–12:00 |
* 根據陽明交大上課時間表所列
This course is for beginners of Labview. We learn what is labview and how to use it. This labview can be used for machine control, data collection, and data analysis. In later part of this course, those advanced techniques will be introduced showing example.
1. Homework and Assignments: submit homework via e-mail 2. Exams and Quizzes: two times paper test as a midterm exam and a final exam 3. Evaluation and Grading Policy: based on attendance, quality of homeworks, and exams. 4. Pedagogy and other supplementary information (websites, TAs, handouts and/or databases): detail will be announced in the first class of this course
- Introduction and data analysis
- Demonstrate data collection and machine control
| 週次 | 主題 |
|---|---|
| 第 1 週 | Introduction |
| 第 2 週 | Basic functions (modular programming) |
| 第 3 週 | Basic functions (repetition and loops) |
| 第 4 週 | Basic functions (Arrays and Clusters) |
| 第 5 週 | Basic functions (plotting data) |
| 第 6 週 | Basic functions (case structure and function node) |
| 第 7 週 | Basic functions (string and File I/O) |
| 第 8 週 | mid term exam |
| 第 9 週 | Introductions for demonstration and DIY exercise C# and Visual Studio (for calling dynamic-link library (dll)) installation of software how to make dll (.NET framework 4.0 based) |
| 第 10 週 | Introductions for demonstration and DIY exercise Arduino (for Analog I/O) basic functions installation of developing environment software how to write/send a code Virtual Instrument Software Architecture (VISA) for instrument control (via serial/GPIB/...) for read/write with Arduino (via virtual serial) |
| 第 11 週 | 1. Demonstration for instrument control machine control (motorized stage by VISA Read/Write) 2. Demonstration (or DIY exercise) for DAQ analog input (using Arduino + thermometer IC) analog-like output by PWM (using Arduino + earphone) 3. DIY exercise to call external dll a) easy one by .NET framework 4.0 based (C#) make your own dll and call it b) traditional one (C/C++/...) call Win32API of kernal32.dll (already in windows) |
| 第 12 週 | Additional topics (curve fitting for data analysis) Linear fitting (by least square method) Non-linear fitting |
| 第 13 週 | Additional topics local and global variable (share parameter in VI or between VIs) networking via TCP/UDP (communicate between computers) |
| 第 14 週 | Additional topics event driven programming (sleep until event) |
| 第 15 週 | final exam |
| 第 16 週 | (occasional date) |
All the slides of PPT files will be uploaded on the web site of this course. (e-campus system). Manuals provided in PDF format (user manual) will be used as reference in this course. They are freely available in the web site of National Instruments.
- 地點
- SC507 (Lecturer: Atsushi Yabushita)
- 時間
- detail will be announced in the first class of this course
- 聯絡方式
- room: SC507 tel: Ext. 56197 e-mail: yabushita@mail.nctu.edu.tw