Agilent Technologies 82357A manual Changing Modes of Operation, Setting Timeout Floor Values

Page 40

Using the 82357A

Setting Configuration Parameters

Changing Modes of Operation

If your system has multiple 82357As configured (multiple mode of operation), the only way to change from multiple mode of operation back to the single mode of operation is:

1Unplug all 82357As from the system.

2Run Connection Expert (click the blue IO icon and click Agilent Connection Expert).

3Delete all 82357A configurations by selecting each USB/GPIB icon in the explorer view and clicking Delete (or delete all except one configuration).

4Reattach and reconfigure a single 82357A.

Setting Timeout Floor Values

Example: Query Timeout Floor (VISA)

Example: Query TimeOut Floor (SICL)

The 82357A has a default timeout “floor” value that is an internal requirement to ensure reliable USB communication. The 82357A will not allow timeouts LESS than the floor value. (By default, VISA/SICL timeouts are set to an infinite time.)

To programmatically determine the timeout floor, you can set the timeout to a very small value, such as 1 msec, and then query for the actual timeout floor value. VISA and SICL examples follow.

tval = 1;// Try to set timeout to 1 msec err = viSetAttribute(id, VI_ATTR_TMO_VALUE, tval_in);

...

err = viGetAttribute(id, VI_ATTR_TMO_VALUE, &tval_out);

...

printf("Set timeout to [%d], actual timeout that resulted [%d]\n",

 

tval_in, tval_out );

tval = 1;

// Try to set timeout to 1 msec

err = itimeout(id, tval_in);

...

err = igettimeout(id, &tval_out);

...

printf("Set timeout to [%d], actual timeout that resulted [%d]\n", tval_in, tval_out );

40

Chapter 2

Image 40
Contents USB/GPIB Interface Converter Page Contents Guide Contents Guide General Information Installing the 82357A Installing the 82357A Steps to Install the 82357A Before You Install the 82357ABefore You Install the 82357A Check Your ShipmentCheck System Requirements Installing Agilent IO Libraries Suite Checking for Installed Agilent IO LibrariesInstalling Agilent IO Libraries Suite ‰ Click Start Run Connecting the 82357A 82357A Hardware DescriptionConnecting the 82357A to Your PC Connecting the 82357A to a USB Hub USB Cable 82357A Sequence Windows XP Only Observing Windows Plug and Play ManagerIntroduction Hardware Installation dialog box appears Typical Windows Plug and Play Manager SequenceConnecting the 82357A Connecting the 82357A Configuring the 82357A Setting 82357A Default ConfigurationConnecting Multiple 82357As. An Agilent 82357A USB/GPIB Configuring the 82357A Setting 82357A Custom Configuration Configuring the 82357A Connection Expert Connecting Gpib Instruments Connecting a Single Gpib InstrumentConnecting Multiple Gpib Instruments Programming via the 82357A Establishing Instrument CommunicationProgramming Gpib Instruments Accessing Visa Sicl Manuals ConfigurationIntroduction to IO InterfaceTypical System Installation 82357 USB/GPIB Interface Using the 82357A Using the 82357A Modes of Operation Initial 82357A Operating StatesSingle Mode Features Multiple Mode Features Introduction to 82357A Operating Modes Single 82357A Operation Multiple 82357A Operation SRQ OperationSetting Configuration Parameters Changing Configuration ParametersSetting Timeout Floor Values Changing Modes of OperationIntroduction Setting T1 Value With Visa Setting 82357A High-Performance OperationSetting T1 Value With Sicl Setting Configuration Parameters Chapter Troubleshooting the 82357A Troubleshooting the 82357A Troubleshooting Flowchart Observe the LED StatesFor telephone and web assistance, see Contacting Agilent on Hardware Checks Reboot the PCCheck USB Cables, USB Interface, Host PC Check Device Manager Verify Agilent IO Libraries Suite Installation Software Installation ChecksCheck Suspend/Resume Operation Software Installation Checks Verify 82357A USB Driver Installation \Windows\inf\agt3579x.infSoftware Configuration Checks Checking IO Control OperationCheck USB Scanner Check for usbscan.sys Windows 98 SE Only Assigning usbscan Driver to the 82357A 82357A Service Information Service/Support InformationContacting Agilent 82357A User’s Guide Information 82357A User’s Guide Information Guide Contents Guide General Information Government Restricted RightsWarranty Information Trademark InformationPrinting History Copyright InformationDeclaration of Conformity 82357A Specifications 82357A Specifications Technical Specifications General RequirementsSupplementary Information Gpib Modes Operation SupportedIndex IndexIndex Page 82357-90002