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

Thread: USB Communication error with 33522A


Permlink Replies: 7 - Pages: 1 - Last Post: Dec 18, 2012 4:21 AM Last Post By: Leif Dams Threads: [ Previous | Next ]
Ted85

Posts: 4
Registered: 06/04/12
USB Communication error with 33522A
Posted: Jun 4, 2012 2:40 AM
Click to report abuse...   Click to reply to this thread Reply
Attachment Double_pulse.arb (36.7 KB)
Hi,

I have downloaded a Agilent benchlink builder software in order to communicate from my PC to 33522A with USB interface. My device is connected and I can send commands following Agilent interactive I/O. I have seen demo on youtube but in spite of instructions, I have an unspecified error:

Object reference not set to an instance of an object.
Please provide the information below to Agilent technologies
at Agilent.Wfe.Gui.SendToInstrDlg.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()

So I can't directly send a .arb (attached file Double_pulse.arb) file from the builder software to 33522A.

However, I can load this file according to USB stick, in 33522A without communications problems. It's a good solution but in my application I'd rather directly send data to my instrument from the builder.

Can you help me about error message and the procedure?

Best regards
rakesh

Posts: 17
Registered: 04/20/12
Re: USB Communication error with 33522A
Posted: Jun 4, 2012 10:01 PM   in response to: Ted85 in response to: Ted85
Click to report abuse...   Click to reply to this thread Reply
Hello ..

I request you to please uninstall the software and install it back. Also there is a latest version(3.00.00) is available on web.

I request you to please try with that and let me know in case you have still faced the issue. Please find below the web link the get the latest bits:

http://www.home.agilent.com/agilent/editorial.jspx?cc=SG&lc=eng&ckey=2039094&nid=-536902257.977229&id=2039094
Ted85

Posts: 4
Registered: 06/04/12
Re: USB Communication error with 33522A
Posted: Jun 5, 2012 5:28 AM   in response to: rakesh in response to: rakesh
Click to report abuse...   Click to reply to this thread Reply
Hello

First of all, thank you for your response.

I have followed your recommandation about the latests bits. I have still faced the same issue:

System error message:
Input string was not in a correct format.

Please provide the information below to Agilent technologies:
at Agilent.Wfe.Gui.MainForm.DispatchCommand(GUICmds eGUICmds, Object obj)
at Agilent.Wfe.Gui.MainForm.p(Object A_0, EventArgs A_1)
at DevComponents.DotNetBar.BaseItem.RaiseClick(eEventSource source)
at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.PopupItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.ButtonItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.ItemContainer.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.ItemControl.OnMouseUp(MouseEventArgs e)
at DevComponents.DotNetBar.RibbonBar.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at DevComponents.DotNetBar.ItemControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Is a firmware trouble? I don't know exactly where it comes from because I have sent a .arb file from the builder to my device and it is the same procedure as youtube video.
rakesh

Posts: 17
Registered: 04/20/12
Re: USB Communication error with 33522A
Posted: Jun 6, 2012 2:32 AM   in response to: Ted85 in response to: Ted85
Click to report abuse...   Click to reply to this thread Reply
Hello..

So you are saying you are getting this error while sending .arb file to your instrument using our software.

Please provide me some more information :
1.What is your operating system?
2.Whats language you are choosing in regional and language setting?
3.what is language option you are choosing in Software?
4.Did you try on some other machine and facing the same problem?
5.Did you try to uninstall Matlab if not please uninstall Matlab and let Software installer to install it back.

Thanks,
Rakesh
Ted85

Posts: 4
Registered: 06/04/12
Re: USB Communication error with 33522A
Posted: Jun 6, 2012 5:21 AM   in response to: rakesh in response to: rakesh
Click to report abuse...   Click to reply to this thread Reply
Hello

Yes I'm getting this error when I'm sending the .arb to my instrument with Agilent Benchlink Waveform builder.

1.What is your operating system? Windows XP version 2002 service Pack 3
2.Whats language you are choosing in regional and language setting? French
3.what is language option you are choosing in Software?*English*
4.Did you try on some other machine and facing the same problem? Yes, only with 33521A. I have the same problem
5.Did you try to uninstall Matlab if not please uninstall Matlab and let Software installer to install it back.I uninstalled Matlab and nothing has changed, I have the same error message

Ted85
rakesh

Posts: 17
Registered: 04/20/12
Re: USB Communication error with 33522A
Posted: Jun 6, 2012 11:08 PM   in response to: Ted85 in response to: Ted85
Click to report abuse...   Click to reply to this thread Reply
Hello,

I tried at my end with the same settings but failed to reproduce the error. I am able to send the waveform from my SW to instrument easily.

If you are importing the waveform in the software then you need to skip METADATA from the file(first 8 rows in this case) and software will give you the warning message also.

Also you need to clip the waveform because the voltage level here is higher then the instrument limit.

Did you try using some other PC if not please try it and let me know the results.

Also what is the firmware version you are using?
Also please do send me "DWFE_Log.txt" file lying in C:\Program Files\Agilent Technologies\Agilent BenchLink Waveform Builder\Bin location.

Thanks,
Rakesh
Ted85

Posts: 4
Registered: 06/04/12
Re: USB Communication error with 33522A
Posted: Jun 7, 2012 3:37 AM   in response to: rakesh in response to: rakesh
Click to report abuse...   Click to reply to this thread Reply
Hello

I tried with another PC and I have the same result!!

When I send *IDN? from the I/O interface to my instrument, I can read this information about the Firmware:
1.11-1.19-1.01-46-00.

With Notepad, I have see the first 8 rows of my .arb file, so the file format is 1.10 while the firmware starts with 1.11. Thus, how can I change the file format from my software? Is it finally the main problem?

Otherwise, you have requested to me to send the DWFE_Log.txt but following the past (C:\Program Files\Agilent Technologies\Agilent BenchLink Waveform Builder\Bin location) I have not this kind of file.

Ted85
Leif Dams

Posts: 2
Registered: 12/18/12
Re: USB Communication error with 33522A
Posted: Dec 18, 2012 4:21 AM   in response to: Ted85 in response to: Ted85
Click to report abuse...   Click to reply to this thread Reply
I have the same problem. When trying to Send the data to the instrument the program crash. I am running Windows 7 with Matlab and Visual Studio 2012 installed on the same computer.

The problem is that I have absolutely no idea of what to do. The error message displayed before the program crash does not help to search for a solution.

Have you managed to solve this or have you given it up?


Leif


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