![](/images/new-backgrounds/1204416/20441679x1.webp)
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 |