Discussion Forums are temporarily in read only mode. All forums are visible but posting is not possible. Please check back shortly.

Thread: How USB addresses look like when many?


Permlink Replies: 3 - Pages: 1 - Last Post: Apr 2, 2012 2:34 PM Last Post By: connectivity Threads: [ Previous | Next ]
SergeK

Posts: 3
Registered: 03/28/12
How USB addresses look like when many?
Posted: Mar 28, 2012 4:46 AM
Click to report abuse...   Click to reply to this thread Reply
I'm new to communicate with Agilent devices from C++ code. If I need viOpen() several different matrices and muxes in two chassis - how USB addresses will look like? For example I have 2x 34980A, one with 4 muxes like 3492xA inside, and another one with 2x 3493xA matrices. Both chassis are connected to 2 different USB ports. How will all their VISA addresses look like? Please anybody give me a sample. We did not receive our hardware yet but I need to write a software before.

Edited by: SergeK on Mar 28, 2012 5:00 AM
connectivity

Posts: 66
Registered: 03/29/12
Re: How USB addresses look like when many?
Posted: Mar 29, 2012 2:50 PM   in response to: SergeK in response to: SergeK
Click to report abuse...   Click to reply to this thread Reply
Attachment usb.png (142.9 KB)
You can communicate to all of the cards/switches in a 34980A using one VISA connection. You address the specific cards when you send the SCPI commands that open/close switches. The easiest way to get the USB address for the 34980A is to open Agilent Connection Expert and copy the USB address (when you physically get the 34980A’s).

We also have a new free tool called Command Expert that I think will be useful to you (http://ww.agilent.com/find/commandexpert). It allows you to build a sequence of SCPI commands to control your instrument(s) and then export that sequence of commands into environments such as VISA/C++. Another great feature is that you can work in an offline mode, so you can get started on your project without the physical instruments. Once you have your instrument, you can grab the VISA address out of Agilent Connection Expert and connect to the live system.
SergeK

Posts: 3
Registered: 03/28/12
Re: How USB addresses look like when many?
Posted: Mar 30, 2012 12:16 AM   in response to: connectivity in response to: connectivity
Click to report abuse...   Click to reply to this thread Reply
Thanks. Am I right when thinking "Agilent USB address DOES NOT have something like device number inside"? In other words - USB addresses are different but they do not have any info about sequence of chassis connection. From them I cannot find out which chassis was connected first but which was second. Is that right?
connectivity

Posts: 66
Registered: 03/29/12
Re: How USB addresses look like when many?
Posted: Apr 2, 2012 2:34 PM   in response to: SergeK in response to: SergeK
Click to report abuse...   Click to reply to this thread Reply
---
"Thanks. Am I right when thinking "Agilent USB address DOES NOT have something like device number inside"? In other words - USB addresses are different but they do not have any info about sequence of chassis connection. From them I cannot find out which chassis was connected first but which was second. Is that right?"
---
You are correct.

USB VISA addresses are static, and don’t say anything about when a device was connected.

The address format is:
USBboard::manufacturer ID::model code::serial number::USB interface number::INSTR
WHERE
Board is usually 0,
manufacture ID will be a value assigned to an instrument manufacturer,
model code will be a number specific to the model of the instrument,
serial number is the serial number of the instrument, and
USB interface number is usually 0.

Point your RSS reader here for a feed of the latest messages in all forums