Chapter 2 Application Examples
© National Instruments Corp. 2-17 NI-488.2 User Manual for Windows
Computer
Strain
Gauge 1
INIT
CLEAN UP
SendList
WaitSRQ
FindRQS
Strain
Gauge 2
Strain
Gauge 3
Request
Service
Receive
Done for
the
Day?
1
7
GPIB Cable GPIB Cable
GPIB Cable
Yes
No
Wait for 1 or More
Strain Gauges to
Request Service
3
No
Did You Request
Service?
Did You Request
Service?
Yes
Serial Poll Each
Strain Gauge
Until One
Requesting
Service is
Located
4
Response
Get a Reading
From Strain
Gauge
5
No
Yes
Provide
Whatever
Service is
Required
Does the
Gauge Need
Service?
6
Mixture is Ready.
Display "Remove
Mixture"
Message
"SRQ=HI"
Configure Strain
Gauges to
Request Service
When They
Have a Reading
2
Figure 2-7. Program Flowchart for Example 7