Physics 3620/6620 Spring 2008
Electronics II
Automated data Acquisition and Computer Interfacing
Jan 10: Powerpoint Part of Lecture Written Notes Part of Lecture
Jan 15: Written Lecture Notes A useful web page on Op-Amps to help you with Lab 1 Another tutorial on Op Amps to help you with Lab #1 A tutorial on Lock-in Amplifiers (with a different perspective on application)
Jan 17: Written Notes on A/D Conversion
Jan 22: Powerpoint Notes on A/D and D/A
Jan 24: Powerpoint Notes on Digitization and Digital filters A Presentation on integraL transforms someone else made
Jan 29 Written otes on Digital Filters
Jan 31 PowerPoint Notes on Digital Filters Introduction to (x86) computers
Feb 05 Introduction to Labview (from NI)
Feb 07 Powerpoint notes on Number Representations The start of a Labview Program to convert unsigned integer individual bits
Feb 12 Powerpoint iinstruction on 4-bit signed integer to Boolean encoder and simulation of a 4-bit logical adder circuit A 4-bit signed integer to Boolean encoder (brute force method involving case structures) Labview VI to add two 4-bit signed integers using brute force simulated discrete logic
Feb 14 Powerpoint Presentation on State Machines Even_odd example 1 Even_odd example 2 Coke Machine Example (zipped archive) from NI Some text (Conway & Watts 6.1 and 6.2) on State Machine and GUI Washing MAchine Example from Conway & Watts Demo 1 on using buttons Demo 2 on buttons
Previous Midterms for Practice
Feb 19 PowerPoint Presentation on the ADR101 and RS232 interface PowerPoint Presentation on Arrays in Labview "toggle.vi" Example of array of controls "leds.vi" Example of array of constants "rand1.vi" Example of filling a 1D array with auto-indexing from a "for-"loop "rand2.vi" Example of filling a 2D array with an outer while loop (indexing enabled) and inner for-loop
Feb 21 PowerPoint Presentation on running a PTH temperature sensor (similar in nature to the ADR101) through a serial port on Labview Example of serial programming with the PTH board in Labview Second half of Presentation on Arrays in Labview Example VI of indexed array input and some string functions PowerPoint Presentation on SubVI's Example of subVI to calculate slope with edited icon, non-zero default inputs and documentation Example of calling program without inputs for the slope subVI Example of HTML documentation made using the "print" command for slope.vi Example of HTML documentation made using the "print" command for slope_subvi.vi
Feb 26 Powerpoint Presentation on Parallel Ports Example of writing/reading the parallel port using "Out Port.vi" and "In Port.vi" Example of writing to the parallel port using VISA drivers (requires a device on the other end that does hand-shaking unlike the previous case) Powerpoint presentation on Clusters under Labview Simple example VI with clusters Error Clusters added to serial PTH program from last class
Feb 28 Review for the upcoming Midterm
Mar 04 Midterm test and solutions Labview implementation of the multiplier circuit
Mar 06 PowerPoint Presentation on Waveforms Example of using "Basic Function Generator.vi (generates waveforms)" Example of using the Signal Generation by Duration.vi PowerPoint Presentation on Charts and Graphs Example of Charts Example of graphing one input waveform Example of graphing two input waveforms Example of X-Y graph (Lissajou figures)
Mar 11 PowerPoint Slides on "polled loop" for Lab 9 Example of polled loop PowerPoint Slides on DAQmx devices (applicable to Lab 10)
Mar 13 PowerPoint presentation on Strings and File I/O Example of using "Build Text" express VI Cont Acq&Graph Voltage-To File(Binary).vi Open_Create_Replace File.vi wtmf_express_example.vi rfmf_express_example.vi PowerPoint presentation: GPIB Primer Guide for simulating NI-DAQmx (e.g. PCI-6024E we have in the PCs) devices
URL for downloading DAQ-mx 8.5 (make sure you install drivers for the older versions) so that you can simulate a PCI-6024E: http://ftp.ni.com/support/softlib/multifunction_daq/nidaqmx/8.5/NIDAQ850.exe
Mar 25 PowerPoint Presentation on Event Handling and Message Queues Example of 3 buttons: polled loop Example of 3 buttons: Event Structure Example of LIsbox (not discussed in Class) Example of 3 buttons: Queues
Mar 27 PowerPoint Presentation on using the TKTDS1K2K labview drivers for the TDS2002 storage scope Driver file tktds1k2k.zip Instruction for installing the tkTDS1K2K drivers (note the drivers have already been installed for you) Example programs: TKTDS1K2K Getting Started.vi TKTDS1K2K Example.vi
Apr 01 Powerpoint PResentation on Graphical Object-Oriented Programming (GOOP) Part 1
Apr 03 Powerpoint PResentation on Graphical Object-Oriented Programming (GOOP) Part 2 PowerPoint Presentation of step-by-step instruction to create a new GOOP class named "TrafficLight" (no implementation yet) "blank" TrafficLight class (no actual implementation): TrafficLight.llb
Apr 08 PowerPoint Presentation on GOOP: step-by-step instruction to complete the "TrafficLight" Class The completed class in TrafficLight.llb (w/o the main VI) Main GUI TrafficLight.vi (may not work as is: provided as guide only)
Apr 10 PowerPoint Presentation on Run-Time Menu bars and other GUI gadgets qmh_ccj.vi qmh_menu.vi qmh_ring.vi qmh_enum.vi qmh_list.vi Queued Message Handler.vi josh_apr10_bball.zipPowerPoint Presentation on Networking with Labview (part 1) Data Server.vi Data Client.vi
Apr 15 PowerPoint Presentation on Labview Project Explorer, Formula Nodes, Error Handling, Building Standalone Applications and Distribution ZIP files Example: exa01.zip (containing exa01.proj and associated files made by the project itself) PowerPoint Presentation on Labview MathScript math01.vi math01.m (exported from math01.vi) waveform01.m
Apr 17 PowerPoint Presentation on Labview Networking with emphasis on DataSocket Server publish.vi subscribe.vi get_http.vi
Apr 22 (Last Class): PowerPoint Presentation on VI Server
| App Class Properties and Class Methods.vi | |
| VI Object Properties and VI Object Methods.llb | |
| Example3.vi | subvi.vi |