Handshaking between computer and measuring instruments – characteristics of ieee488 bus – use of Labview and plain C programming for instruments control - “user space” and “kernel space” programming with the Linux operating system – an example kernel module for data acquisition. With laboratory activity.
Manuals and on line help for Labview and gpib and C library.
Learning Objectives
Use of handshacking protocols in the computer-instrumentation links. Handling of the synchronization problems. Design and setup of measurement procedures for experiments in physics. Programming in the Labview environment; programming in C, both in “user space” and in “kernel space”.
Office hours: every day by arrangement (email: carla@fi.infn.it – tel. 055 457 2055)
website: studenti.fisica.unifi.it/~carla
Type of Assessment
Discussion on the laboratory activity.
Course program
Handshaking between computer and measuring instruments – characteristics of ieee488 bus – use of Labview and plain C programming for instruments control - “user space” and “kernel space” programming - “kernel space” programming with the Linux operating system – an example kernel module for data acquisition.
Laboratory activity:
(This list is an indication only. Actual laboratory experience may differ, depending also on the available instruments.)
Labview: Data read through an ADC channel and extraction of the Fourier spectrum. Control of a VCO through a DAC channel and determination of the frequency response of a linear network.
C language: Control of a power supply and a voltmeter through an ieee488 bus and determination of the I-V relationship for a non-linear crcuit element. Signal sampling and synchronization. Implementation of a negativefeedback loop for control of process.
Use of C in kernel space: implementation of a simple driver under the control of the computer interrupt system.