Developing Your Application Chapter 3

NI-488.2 User Manual for Windows 3-12 © National Instruments Corp.

NI-488.2 Program Shell

Figure 3-2 is a flowchart of the steps to create your application program using NI-488.2

routines.

No
END
Make a High-Level CallMake a Low-Level Call
No
• Send Data to Device (Send)
• Receive Data from Device
(Receive)
• Clear Device (DevClear)
• Serial Poll Device
(ReadStatusByte)
and so on
• 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
Low-Level High-Level
Yes
Close Board
(ibonl)
Are All Boards
Closed?
Finished GPIB
Programming?
Making
High-Level or
Low-Level Call?
Initialize Specified GPIB
Interface (SendIFC)
START
Yes
Are All Boards
Initialized?
Yes
No

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