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

Thread: GPIB Errors - C#


Permlink Replies: 2 - Pages: 1 - Last Post: May 26, 2011 2:34 PM Last Post By: maxavier
jcousineau

Posts: 5
Registered: 12/02/10
GPIB Errors - C#
Posted: May 2, 2011 11:23 AM
Click to report abuse...   Click to reply to this thread Reply
I am writing some automation code using VS-C#.

While doing a repeated reading using a for loop, I get a series of errors as follows; HRESULT = 8004003c, HRESULT = 80040011 (x4)...

I have searched high an low for what these errors mean and I can't find them anywhere. Is there a place I can get a full listing of these errors?

Thanks
Steven Lee

Posts: 28
Registered: 11/12/09
Re: GPIB Errors - C#
Posted: May 26, 2011 2:34 PM   in response to: jcousineau in response to: jcousineau
Click to report abuse...   Click to reply to this thread Reply
Hi,

Would you be able to provide more information on the setup.

1. Which instrument are you using?
2. What set of commands are you sending over?

Once we get more context in terms of the setup, we'll be able to help with the error code. Thanks.

Steven
maxavier

Posts: 1
Registered: 10/01/13
Re: GPIB Errors - C#
Posted: Oct 1, 2013 4:50 PM   in response to: jcousineau in response to: jcousineau
Click to report abuse...   Click to reply to this thread Reply
I encountered the 80040011 error with this code:

Agilent34401 dmm1 = new Agilent34401(7);

The problem was I didn't have the meter with address 7 plugged in. Looks like it pops up when you have an invalid address.

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