Agilent Technologies manual 82350B Installation and Configuration Guide

Page 55

Troubleshooting Guidelines

2

The default behavior of the 82350 driver is to use Polling mode for transfers of 256 bytes or less and to use Interrupt mode for larger transfers. You can modify this default behavior by doing the following:

SICL: The SICL ihint(id, hint) function can be called to modify the read/write behavior for on a SICL session. The hint values allowed are:

1I_HINT_DONTCARE (default value) Use Interrupt mode for transfer requests larger than 256 bytes, otherwise, use Polling mode.

2I_HINT_USEPOLL Use the Polling mode.

3I_HINT_IO Use the Interrupt mode.

VISA: The VISA viSetAttribute(vi, VI_ATTR_ DMA_ALLOW_EN, attrValue) function can be called to modify the read/write behavior for a VISA session. The VI_ATTR_DMA_ALLOW_EN values allowed are:

VI_TRUE (default value) Use Interrupt mode for transfer requests larger than 256 bytes, otherwise, use Polling mode.

VI_FALSE Use the Polling mode.

Some additional factors to consider are:

The settings discussed above are per session. This means you can open multiple sessions to a device and set different transfer modes for different sessions. The actual mode used will then depend on which session you are using for the read/write calls.

In both SICL (with hint =

I_HINT_DONTCARE) and VISA (with

VI_ATTR_DMA_ALLOW_EN = VI_TRUE), the size of the read request (as specified by bufsize in a SICL iread() or count

in a VISA viRead() function call) will determine the mode used even if the number of bytes actually read is less.

82350B Installation and Configuration Guide

43

Image 55
Contents PCI Gpib Manual Part Number Safety Notices Safety Symbols Page General Safety Information Environment Conditions Regulatory Markings Page Declaration of Conformity Contents Specifications and Information Installing and Configuring 182350B system overview Getting StartedCheck your shipment Before you installSystem requirements Windows XP Service Pack 3 or later1Ghz 32- bit x86, 1GHz 64- bit x64, no support for Itanium64 Create an emergency repair disk Checking for installed Agilent IO Libraries Installing the Agilent IO Libraries SuiteInstalling and Configuring Installing Agilent IO Libraries Suite Click Start Run Installing and Configuring the 82350 If you accept the Typical Installation, click Next and pro Installing and Configuring the 82350 When you are done selecting features, click Next Installing and Configuring the 82350 T E Installing the 82350 in your PC Connecting your instruments4Remove the PC cover Connecting instruments to Installing and Configuring 8Connecting a single Gpib instrument Example Connecting Multiple Gpib Instruments Installing configuration files Configuring10Agilent Connection Experts Configuring the 82350 interface11Configure Gpib card parameters System Installing and Configuring the 82350 Verifying instrument communication Communicating with your instruments12Agilent Interactive IO Programming your instrumentsAccessing Programming Manuals and Help Example Gpib Interface Configuration 13Interface configuration for multiple instruments Troubleshooting Guidelines 1Troubleshooting overview Troubleshooting OverviewHardware Checks Check cables/connections/powerCheck Device Manager Number ffffffff Troubleshooting Guidelines 82350B Installation and Configuration Guide Software Checks Disable Connection Expert Auto-Discovery82350B Installation and Configuration Guide Set 82350 Read/Write Performance Mode 82350B Installation and Configuration Guide Troubleshooting Guidelines Agilent IO Libraries Suite Checks Check IO Libraries Suite installationCheck IO Control operation Install IO Libraries Suite if 82350 was installed first Windows XP/Vista/7 Specifications Information General Requirements +5V PCI General CharacteristicsAccessing an Electronic Copy of this Guide URL Contacting AgilentSpecifications and Information Gpib IndexWeb sites, Agilent Contact us