# Programming in LabView and Simulating in FEMLab – Übersicht

• Übersicht

## Informationen zur Vorlesung

### Zeit und Ort

Time: Di 10-12 Uhr c.t.
Place: Schellingstr. 4 (H), H 206

We offer a hands-on course on programming in biophysical (and other) experiment setups with Labview. The second half will introduce to the intricacies of finite element calculations of partial differential equations using Femlab. Course is a "Schlüsselqualifikation" without mark or test, but can be also treated in special cases as Seminar. Value: 3CP.

-------- Please bring your own Notebook! ---------

Preliminary Time table:

19.10. Introduction. Installation of Labview, Useful Preferences

26.10. For-Loops, Shift Registers, Autoindexing, Array Operators. Stack Example

2.11. Runge Kutta: First Clusters, Arrays and Shift Registers. Runge Kutta Example

9.11. Runge Kutta as subvi, Cluster, saving clusters as Controls. Programs as ZIP

16.11. Wiederholung: Arrays etc. Interferenz-Programm debuggen. Interferenz-Programm Function-Generator

23.11. Image loading and saving (Program), Nonlinear Fitting with Levenberg-Marquardt (Program)

30.11. Fitting and CINs, DLLs, Two-dimensional Gaussian Fit, Errors from Fit, Calling DOS

7.12. Hardware: Analog input, output, Digital input, output (DA and DA VIs)

14.12. Introduction to Igor Plot programm

21.12. Femlab: First steps: Wind channel and thermophoresis in axial geometry (Femlab File)

11.1. Femlab: Navier Stokes and Diffusion (model file)

18.1. Femlab:  Window_Insulation, pn-Übergang (model files)

25.1. Femlab: Reading Solution with Matlab, Conducting Copper, Wave function, Quantum Mechanics, Hydrogen Atom (model files)

1.2. Resistive Heating and others (pn-onedim_try)

8.2. Optional Oral exam

Topics include:

Front Panel, Block Diagram

Setting Preferences, ignoring Express bs

Simple + Example

{} while(boolean);

for(co=0;co<N;co++) {}

if(boolean) {} else {}

this then that .... (sequence)

Auto indexing

Debugging: probe, light, breakpoints

Data formats, representation, Format & precision

Enums, Saving Controls

Structures, Array handling

Strings

Shift register, Typical use

Error Cluster

Mathematical Routines, Fitting

Peeking into LabView Routines

Searching Examples

Instrument Drivers

Simple Measurement VIs: AO, AI, TTL

File IO

Clusters

Arrays

Shift Register in common App

OpenG

Pictures and Vision

Keyboard functions

Waveform Format from NI

GPIB, RS232, VISA

Complex Measurement Sequences, M-Series, Operating Systems

Shift register, Typical use

Problems when programming large projects

Local Variables, Property Nodes (typical uses)

DDE: transfer to Igor

Programming CIN Node: complete

Calling a DLL

Calling Mathlab routines: full control over FEMLab from Labview

Verantwortlich für den Inhalt: Dieter Braun