Published using Google Docs
Labview Teaching 2013
Updated automatically every 5 minutes

LabVIEW for CHEM-5161 & 5181 Teaching Schedule

Resources:

A) Learn Labview  - 9 modules – several videos of several minutes for each module

A2) Learn Data Acquisition – 3 modules – several videos of several minutes for each module

B) Labview Basics  - 12 modules – html pages

C) Self-Paced Training  - 40 modules, videos with exercises in pdf

Other LabVIEW Resources

"LabVIEW for Everyone", Wells and Travis

"LabVIEW Graphical Programming", Johnson and Jennings

"A Software Engineering Approach to LabVIEW", Conway and Watts

www.ni.com

LAVA - http://lavag.org/

ALARM - https://decibel.ni.com/content/groups/alarm

NI Alliance - http://www.ni.com/alliance/

Class 1 – Thu November 21 – David, Rainer, Jose

        Introduction to LabVIEW – Overview of key elements

Required Reading before Class 1

Optional Reading

Resources from B and C can be used for further clarification.  Students can choose which format they find most useful.

Goals:  (to be completed in homework before class, reviewed in class)

Topics of discussion:

Class Activities:

- Homework is posted at http://tinyurl.com/hw-5181 and http://cires.colorado.edu/science/groups/volkamer/wiki/index.php/CHEM5161#Lecture_Schedule 


Class 2 – December 5 – Don Jose, Ken

        Debugging and Documentation – Synthetic Data Example

Required reading before Class 2

Homework (due before the start of class)

Optional Reading

Class Goals:

Topics of discussion:

Class Activities:

Homework assignment for 3rd class - 5 minutes

- Open “USB 6008 P controller w simulated data.vi”.

- Debug it so that it runs.  Note that debugging does not include removing the simulated error in “Simulated AO Data.vi”.

- Add error clusters to Simulated AI Data.vi.

- Add error chaining between Simulated AI Data.vi and Simulated AO Data.vi.

- Add logic so that the loop stops if there is an error.

- Document the code according to best practices

  - consider icons, VI descriptions, labels and explanatory text, control and indicator descriptions, etc.

- Add a plot of the input and the output channels over time

- The Simulated AI Data.vi contains a timing function that causes the VI to run at approximately 10 Hz.

- Add diagnostic code that measures the time each loop cycle takes, and display that loop time in a graph or chart.

- Add some sort of timing function to the main loop of the main VI that causes the loop to run at 1 Hz.  (The timing in the Simulated AI Data.vi can be left as is.)


Class 3 – December 10 – David, Don

        Data Acquisition – Don's example with hardware

Required reading before Class 3

Homework (due before the start of class)

 - see above

Optional Reading

Class Goals:

Topics of discussion:

Class Activities:


Class 4 – December12 – David, Rainer

        Review Don's program and Advanced Topics

Required reading before Class 4

Homework due at start of class

- revise the homework VI you did for Class 3, replacing simulated data in and out with real data in and out

- add file writing to log set point, error, and output

- be sure to write channel names as a column headers at the beginning of the file

Class Goals:

Topics of discussion:

        Best Practices in LabVIEW

        Advanced Topics – Things to Think about Going Forward

Class Activities: