Thread: Visual Basic 6.0,via USB,how to communicate with 34410A


Permlink Replies: 2 - Pages: 1 - Last Post: May 30, 2012 6:46 PM Last Post By: ranguree
ranguree

Posts: 2
Registered: 05/28/12
Visual Basic 6.0,via USB,how to communicate with 34410A
Posted: May 28, 2012 7:41 PM
Click to report abuse...   Click to reply to this thread Reply
Attachment example2.zip (4.3 KB)
I just want my 34410A to Test the DC voltageļ¼Œand return the data.
I have already tried the examples offered in the cd,but it seems not to work.
As the attached file,when I run it,the answer is "unknown resource".
connectivity

Posts: 66
Registered: 03/29/12
Re: Visual Basic 6.0,via USB,how to communicate with 34410A
Posted: May 29, 2012 3:08 PM   in response to: ranguree in response to: ranguree
Click to report abuse...   Click to reply to this thread Reply
Attachment usbVISA.png (173.0 KB)
Hi Ranguree,

1)Please download IO Libraries version 16.2 and install it if you do not already have it. http://www.agilent.com/find/iosuite.
2) The example uses the IVI-COM driver which can be downloaded here: http://www.home.agilent.com/sec/editorial.jspx?cc=US&lc=eng&ckey=1639470&nid=-33228.536908384&id=1639470 (version 1.0.22).
2) Reestablish your USB connection with the 34410A, hit refresh all in the program Agilent Connection Expert. This will create a connection to your box and give you a VISA address to use in your example program (please see attachement).
3) Copy and replace the VISA Address found in Agilent Connection Expert into the first paramater of the 34401.Initialize statment. We are replacing the existing LAN VISA string with your valid USB one.

At this point you should be able to connect to your DMM.
ranguree

Posts: 2
Registered: 05/28/12
Re: Visual Basic 6.0,via USB,how to communicate with 34410A
Posted: May 30, 2012 6:46 PM   in response to: connectivity in response to: connectivity
Click to report abuse...   Click to reply to this thread Reply
It works now.Thanks a lot.

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