Lesson 1 - Setting Up Hardware PDF
Lesson 1 - Setting Up Hardware PDF
ni.com/training
What You Need To Get Started
ni.com/training
File Locations
Exercises LabVIEW
Root Directory <or>
Solutions Core 1
ni.com/training
Instructional Methods
Demonstrations
Concept
Quizzes
Exercise
Development
Lecture Topic Exercise
ni.com/training
Getting The Most Out Of This Course
• Ask questions!
• Experiment with hands-on exercises to understand the
methods used
• Explore solutions
• Implementations explore a possible solution—you may find
a better one
ni.com/training
Courses
New User Experienced User
LabVIEW Core 1 LabVIEW Core 3 Managing Software
Engineering in LabVIEW
LabVIEW Core 2
Skills learned: LabVIEW OOP System
• Modular application Design
Skills learned:
• LabVIEW environment development Advanced Architectures
navigation • Structured design and in LabVIEW
• Dataflow programming development practices
Skills learned:
• Use of common design • Inter-application • Manage a LabVIEW project from
techniques communication and design to deployment
ni.com/training
Course Learning Map
Lesson 1 Lesson 4 Lesson 7
Developing Modular
Setting Up Hardware Implementing a VI
Applications
ni.com/training
Course Goals
ni.com/training
8
Lesson 1
Setting Up Hardware
TOPICS
A. DAQ Hardware E. Serial Port
B. Using DAQ Software Communication
C. Instrument Control F. Using Instrument Control
D. GPIB Software
ni.com/training
Setting Up Hardware
ni.com/training
10
A. DAQ Hardware
1. Signal
2. Terminal Block
3. Cable
4. DAQ Device
5. Computer
ni.com/training
11
DAQ Hardware – Terminal Block & Cable
ni.com/training
12
DAQ Hardware – DAQ Device
ni.com/training
13
DAQ Hardware – Analog Input
ni.com/training
14
DAQ Hardware – Analog Output
ni.com/training
15
DAQ Hardware – Digital I/O
• Digital signals:
− Electrical signals that transfer digital data (on/off, high/low, 1/0)
using a wire
− Used to control or measure digital or finite state devices, such
as switches and LEDs
− Used to transfer data
• program devices
• communicate between devices
− Use digital signals as clocks or triggers to
control or synchronize other measurements
ni.com/training
16
DAQ Hardware – Counters
ni.com/training
17
B. Using DAQ Software – Configuration
ni.com/training
18
Simulating a DAQ Device
ni.com/training
19
Exercise 1-1
Concept: Measurement and Automation Explorer
DISCUSSION
C. Instrument Control
ni.com/training
C. Instrument Control
ni.com/training
D. GPIB
GPIB (general purpose
interface bus) is a
standard interface for
communication between
instruments and controllers
from various vendors
ni.com/training
24
GPIB
ni.com/training
25
E. Serial Port Communication
Serial communication
• Transmits data between a computer and a peripheral
device, such as a programmable instrument or another
computer
• Uses a transmitter to send data one bit at a time over a
single communication line to a receiver
• Best method when data transfer rates are low, or you must
transfer data over long distances
• Most computers have one or more serial ports, so you do
not need any extra hardware other than a cable
ni.com/training
26
F. Using Instrument Control Software
ni.com/training
27
Exercise 1-2
Concept: GPIB Configuration with MAX
DISCUSSION
Summary—Quiz
ni.com/training
Summary—Quiz Answer
ni.com/training
Summary—Quiz
ni.com/training
Summary—Quiz Answers
ni.com/training