Ni-488.2 Program Shell; Figure 3-2. General Program Shell Using Ni-488.2 Routines - National Instruments NI-488.2M Software Reference Manual

For os/2
Hide thumbs Also See for NI-488.2M:
Table of Contents

Advertisement

Developing Your Application

NI-488.2 Program Shell

Figure 3-2 is a flowchart of the steps to create your application program using
NI-488.2 routines.
Make a Low-Level Call
• Address Devices to Listen (SendSetup)
• Send Data to Addressed Listener
(SendDataBytes)
• Address Device to Talk (ReceiveSetup)
• Receive Data from Addressed Talker
(RcvRespMsg)
and so on

Figure 3-2. General Program Shell Using NI-488.2 Routines

NI-488.2M SRM for OS/2
START
Initialize Specified GPIB
Interface (SendIFC)
Are All Boards
Open?
Making
Low-Level
High-Level or
Low-Level Call?
Finished GPIB
Programming?
Close Board
(ibonl)
Are All Boards
Closed?
END
No
Yes
High-Level
Make a High-Level Call
• Send Data to Device (Send)
• Receive Data from Device
(Receive)
• Clear Device (DevClear)
• Serial Poll Device
(ReadStatusByte)
and so on
No
Yes
No
Yes
3-14
© National Instruments Corp.
Chapter 3

Advertisement

Table of Contents
loading

Table of Contents