Jump to content

Detect identical USB equipment yet distinguish which USB card they


labviewman

Recommended Posts

I have 2 identical Agilent DMMs that are connected to the tester via USB. I can easily detect them via 'Find VISA Resource' using USB?*::0x0957::0x0618::?*::INSTR for the search item. Since the serial#'s of the DMMs are not fixed (DMMs will be replaced with identical equipment when calibration is needed), I can't use them (w/o some code to prompt the user to decide...which I hate do allow to make a decision) to determine which DMM I am talking to.

Since part of the output of the 'Find VISA Resource' gives the USB board it is plugged into I figured for $30 I can easily determine which DMM to use for function A (i.e. if the response is USB1, than I know DMM1 is connected to that USB port), but, it still returns back USB0. I now have 2 USB cards for a total of 8 USB ports, but 'Find VISA Resource' returns the same info on each port, and if I compare all the VISA properties I read on each USB port (with the DMM plugged-in), they are all identical.

I checked NI's site, but something is going on to their site...can't get into much of the knowledgebase and the forums are not working well.

I'm sure I'm not the first one to come across this, so I'm am hoping someone else can offer some advice.

Thanks,

Todd

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.