Controlling the PXB Using USB

The USB interface can be used to control the PXB using a PC. Connect a Type-A to Type-B 5 pin cable from the rear panel TMC (test and measurement class) Type B USB 2.0 port on the PXB to a USB port of the computer. The Type-A front panel connectors on the PXB can be used to connect a mouse, a keyboard, or a USB 1.1/2.0 flash drive (USB media). Many functions provided by GPIB, including GET, non-SCPI remote languages, and remote mode are available using the USB interface.

The PXB’s USB 2.0 interface supports USBTMC or USBTMC-USB 488 specifications.

 

View the following topics for additional information.

Configuring the USB Interface

  1. Connect the USB cable (part number 82357-61601) between the PC and the PXB’s rear panel 5-pin Master USB connector.

  2. On the PC, ensure that Windows displays the Found New Hardware Wizard.

  1. Click Next until the wizard completes.

  2. If a second Found New Hardware Wizard appears, continue to click Next until that wizard completes as well.

These wizards place the installed USB drivers in the appropriate locations for Windows to recognize the device.

  1. In the Assign USB device alias dialog in the Alias name field, change the VISA alias name if desired.Closed
    Illustration...

    Agilent recommends that you refer to USB instruments using a VISA alias, instead of using the instrument's VISA address. The VISA address for a USB device is tied to a specific instrument because the instrument's product number is part of the address. When using the VISA address, you cannot swap instruments without modifying your source code and recompiling. With the alias, you can just delete the alias from the USB instrument that was removed and then add the alias to the new USB instrument.

 

  1. Under Show this dialog, select the desired option, then click OK.

  2. On the PC, click the Agilent IO Control Closedicon in the lower-right of the Windows desktop.

  3. Select Agilent Connection Expert from the pop-up menu.

  4. In the Connection Expert explorer pane, select the USB instrument connection currently connected to the PXB. ClosedIllustration...

  5. In the USB Instrument pane, note that an IDN query (identification string) was done indicating that a USB connection to the PXB has been made. If you click the Change Properties..., you can clear Auto-identify this instrument, if desired. ClosedIllustration...

  1. Expand the USB connection to view the VISA alias. ClosedIllustration...

  1. If you want to change the alias name, click Change Properties....

  2. Change the VISA alias name in the VISA alias field, then click OK. ClosedIllustration...

  3. Close the Agilent Connection Expert.

Return to top

Verifying the USB Connection

  1. On the PC, click the Agilent IO Control Closedicon in the lower-right of the Windows desktop.

  2. Select Agilent Connection Expert from the pop-up menu.

  3. In the Connection Expert explorer pane, select the USB instrument connection's VISA alias name currently connected to the PXB. (You can also select instrument name.) ClosedIllustration...

  4. Select the Interactive IO from the Connection Expert tool bar. The Agilent Interactive IO dialog box is displayed. ClosedIllustration...

  5. With the *IDN? command in the Command box, click Send & Read. ClosedIllustration...

    The default command is the Identification (IDN) query, which outputs an identifying string. The response will show the following information:

    <company name>, <model number>, <serial number>, <firmware revision>

  6. Close the Agilent Interactive IO dialog box, then close the Agilent Connection Expert.

USB Programming Interface Example

Refer to the Agilent IO Libraries documentation and the Agilent IO Libraries programming examples for information on how to open a session with an instrument.

Troubleshooting the USB Interface

Using Interactive IO

Use the Agilent Connection Expert Interactive IO available in the Agilent IO Libraries Suite to verify instrument communication over the USB interface as described above in Verifying the USB Connection.

If You Have Problems

  1. If the USB device is not recognized, disconnect it from the PXB, and then re-connect it.

  2. If the PXB will not boot up, disconnect the USB cable and reboot the PXB. Do not reconnect the USB cable until the boot up process has completed.

Return to top