Chapter 2 Application Examples
© National Instruments Corp. 2-5 NI-488.2 User Manual for Windows
GPIB Cable
Computer Oscilloscope
INIT
Trigger
Oscilloscope to
Get Reading
Finished
Reading?
CLEAN UP
Yes
No
ibclr
ibtrg
Clear
Command
Request Data
from
Oscilloscope "CURV?"
Clear
Oscilloscope
ibwrt
Define Task to Be Done
When Oscilloscope is
Triggered
Trigger
Command
1
2
3
4
5
6Read Data
from
Oscilloscope
Display
Waveform
Data
7
8
"WAV=TRIG"
ibwrt
ibrd
Figure 2-2. Program Flowchart for Example 2