Skip to content Skip to navigation

Connexions

You are here: Home » Content » GPIB Configuration with MAX (Windows Only)

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the author

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • National Instruments

    This module is included in aLens by: National InstrumentsAs a part of collection:"LabVIEW Graphical Programming Course"

    Comments:

    "A full introductory course on programming with LabVIEW."

    Click the "National Instruments" link to see all content affiliated with them.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

GPIB Configuration with MAX (Windows Only)

Module by: National Instruments

Summary: In this exercise, our objective is to use MAX to examine the GPIB interface settings, detect instruments, and communicate with an instrument.

  1. Power off the NI Instrument Simulator and configure it to communicate through GPIB by setting the following left bank of switches on the side of the box.
    Figure 1
    Figure 1 (simgpib.png)
  2. Power on the NI Instrument Simulator and verify that both the Power and Ready LEDs are lit.
  3. Launch MAX by either double-clicking the icon on the desktop or by selecting Tools>>Measurement & Automation Explorer in LabVIEW.
  4. Expand the Devices and Interfaces section to display the installed interfaces. If a GPIB interface is listed, the NI-488.2 software is correctly loaded on the computer.
  5. Select the GPIB interface and click the Properties button on the toolbar to display the Properties dialog box.
  6. Examine but do not change the settings for the GPIB interface, and click the OK button.
  7. Make sure the GPIB interface is still selected in the Devices and Interfaces section and click the Scan for Instruments button on the toolbar.
  8. Expand the GPIB board section. One instrument named Instrument0 appears.
  9. Click Instrument0 to display information about it in the right pane of MAX. The NI Instrument Simulator has a GPIB primary address (PAD) of 2.
  10. Click the Communicate with Instrument button on the toolbar. An interactive window appears. You can use it to query, write to, and read from that instrument.
  11. Type *IDN? in Send String and click the Query button. The instrument returns its make and model number in String Received. You can use this window to debug instrument problems or to verify that specific commands work as described in the instrument documentation.
    Figure 2
    Figure 2 (querywindow.png)
  12. Type MEAS:DC? in Send String and click the Query button. The NI Instrument Simulator returns a simulated voltage measurement.
  13. Click the Query button again to return a different value.
  14. Click the Exit button.
  15. Set a VISA alias for the NI Instrument Simulator so you can use the alias instead of having to remember the primary address.
    1. While Instrument0 is selected in MAX, click the VISA Properties button to display the Properties dialog box.
    2. Type devsim in the VISA Alias field and click the OK button. You will use this alias throughout this lesson.
  16. Select File>>Exit to exit MAX.

Comments, questions, feedback, criticisms?

Send feedback