Anda di halaman 1dari 4

Lesson 4

Instrument driving, Data Acquisition and Waveforms


You Will Learn: A. GPIB demos B. About plug-in data acquisition (DAQ) boards C. About the organization of the DAQ VIs D. How to perform a single analog input E. About the DAQ Wizards F. About waveform analog input G. How to write waveforms to file H. How to output an analog signal I. How to use counter/timers J. USB DAQ--NI-DAQ mx Base devices
1

Instrument Control Overview


Control any instrument if you know the following: Type of connector on the instrument Type of cables needed Electrical properties involved Communication protocols used Software drivers available
Instruments Computer

GPIB Communication
GPIB Instrument GPIB Interface GPIB Cable

GPIB Hardware Specifications


Max cable length between devices = 4 m (2 m average) Max cable length = 20 m Max number of devices = 15 (2/3 powered on)

ed pt s ed d do e IB ed e ed Pvis es 2 a com88.1 H m re pos rov uc 8. be 4 co .2 ns 48 8 E o app od 8 tr pr 8 be sig 48 EE 48 IEE in 8 8 de IE E E - IB PI EE S48 S4 IE HP IE H HP SC H


EE IE

48

DIO1 DIO2 DIO3 DIO4 EOI DAV NRFD NDAC IFC SRQ ATN SHIELD

13

12 24

DIO5 DIO6 DIO7 DIO8 REN GND (TW PAIR W/DAV) GND (TW PAIR W/NRFD) GND (TW PAIR W/NDAC) GND (TW PAIR W/IFC) GND (TW PAIR W/SRQ) GND (TW PAIR W/ATN) SIGNAL GROUND

1965

1975

1987

1990

1992 1993 1999


3 4

GPIB Software Architecture Windows

Detecting GPIB Board and Instruments


Measurement & Automation Explorer (MAX)

Use SR830.vi to control the lock-in amplifier, and Scan_freq1.vi to do a frequency scan

Use Tek2440_Graphed.vi to control the Oscilloscope and measure sine Wave from the lock-in:0.05V,Sweeps5E-4And trigger Auto with lock-in 30 mV at 1KHz

Use Tek2440_Graphed1.vi to control the Oscilloscope and measure the pulse from the trigger:0.05V,Sweeps2E-8And trigger Auto

10

Others: spectrometerAndor software SR245computer interface .

The fundamental task of all measurement systems is the measurement and/or generation of real-world physical signals. Measurement devices help you acquire, analyze, and present the measurements you take.
We acquire and convert physical signals, such as voltage, current, pressure, and temperature, into digital formats and transfer them into the computer. Popular methods for acquiring data: plug-in DAQ and instrument devices, GPIB instruments, PXI (PCI eXtensions for Instrumentation) instruments, and RS-232 instruments.

Overview

11

Data acquisition (DAQ) library supports all DAQ boards LabVIEW uses the NI-DAQ driver-level software DAQ boards for Analog I/O Digital I/O Counter/timer I/O Data acquisition system components

12

DAQ Software Architecture Windows


Windows Device Manager LabVIEW for Windows DAQ Library VIs nidaq32.dll for Windows
DAQ-STC

DAQ Hardware Configuration


Measurement & Automation Explorer (MAX) by selecting Tools>>Masurement & Automation Explorerin LabVIEW

Windows Registry DAQ Device

View Configure and Test

13

14

Hardware Connections
BNC-2120 SC-2075

Hardware Connections
Note: The channels available depends on the DAQ card we use. For instance, DAQCard-AI-16E-4 NI lent to us, there is no output channels available Lets configure the Card with Measurement & Automation Explorer

SCB-68

15

16

Measurement Fundamentals
In Analytical Instrumentation, we convert physical phenomena into data, using a transducer to convert a physical phenomenon into an electrical signal.

Summary of signal sources and masurement systems

DAQ VI Organization in LabVIEW software


Analog Input Analog Output Digital I/O Counter Calibration and Configuration Signal Conditioning

A. labVIEW Traditional NI-DAQ

17

18

J. USB DAQ--NI-DAQ mx Base devices

I/O Connector

$195 CAD!!!

19

20

Lets try remote VI: 472ai 472ao

21

Anda mungkin juga menyukai