开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Readings from 436A power meter using 82357B USB-GPIB?


 

Hello,

Thanks for the suggestions. I tried to figure out how to do low-level communication, but don't seem to find any way.?
I hope I'm just missing something trivial here. If anyone has an example of communicating with the 436 (or similar - old HP-IB) using 82357 USB-GPIB, preferably using the VISA library, that would be the best - that would give a good starting point for digging further.

Regards,
? Staffan


 

And if you're into Linux, there is a GPIB driver package available with bindings for python and perl. It's at



and supports USB adapters as well as older boards.

John
----

On 11/18/18 11:14 AM, Leo Bodnar wrote:
Staffan,
Have a look at python
I am from the generation that used to use FORTRAN IV and punchcards but you have to move up with times at some point.
Python has a few?idiosyncrasies that drive me mad but it's here to stay
I am using python as a goto choice for all my GPIB needs now.
Leo
On 18 Nov 2018, at 15:55, Staffan wrote:

Hello,

I can control the instrument so I guess termination is correct, but reading isn't working. I'd really like to do the low level byte by byte communication, but anyone knows hos to do this with 82357? Any hints would be highly appreciated!

Regards,
? Staffan


 

Staffan,

Have a look at python?

I am from the generation that used to use FORTRAN IV and punchcards but you have to move up with times at some point.
Python has a few?idiosyncrasies that drive me mad but it's here to stay

I am using python as a goto choice for all my GPIB needs now.

Leo


On 18 Nov 2018, at 15:55, Staffan wrote:

Hello,

I can control the instrument so I guess termination is correct, but reading isn't working. I'd really like to do the low level byte by byte communication, but anyone knows hos to do this with 82357? Any hints would be highly appreciated!

Regards,
? Staffan


 

Hello,

I can control the instrument so I guess termination is correct, but reading isn't working. I'd really like to do the low level byte by byte communication, but anyone knows hos to do this with 82357? Any hints would be highly appreciated!

Regards,
? Staffan


 

Many older instruments don't use the EOI line, but also "Must" have the correct command terminator byte (if one is specified) no more, no less..

It'll all be documented in the individual instruments manual.? The fun bit these days is getting "modern" bus controllers to play nice with older non IEE488.2 devices.

Don't rely on the more modern high level function calls, start with the low level byte by byte stuff, and run a bus traffic capture too, guessing Agilent has an equivalent to NI's 'I/O Trace' (was NI Spy) program.

Regards

Dave B (G0WBX)


 

开云体育

Hi re? HPIB

?

I am not a computer programmer but I either use? HP basic 4.1 with a HP computer that has a HPIB port

?or ?national instruments lab view ?on windows xp ??and the hardware is either a NI card for the PC or a NI ???USB converter

Paul B ??south cost UK

?


From: [email protected] [mailto:[email protected]] On Behalf Of Staffan
Sent: 18 November 2018 10:16
To: [email protected]
Subject: Re: [HP-Agilent-Keysight-equipment] Readings from 436A power meter using 82357B USB-GPIB?

?

Hello,

?

Thanks for the suggestion. I have tried this, but it doesn't seem?to work. Any recommendations to how I should configure Interactive IO? I will use Visual Basic in Excel for later programming - hopefully using Agilent VISA libraries...

?

In general, anyone with experience of communicating over USB-GPIB 82357 with _very_ old instruments (single character commands etc...)? Is there a fundamental limitation?

?

Is there any way of performing low level communication/control of the 82357, i.e., controlling the separate digital lines?

?

Regards,

? Staffan?

?

On Sun, Nov 18, 2018 at 2:45 AM Daun Yeagley <daun@...> wrote:

Hi Staffan

Yes, you need to meter to be in addressable mode (or as you say, "normal").
If you use the interactive IO, you would use the "Send and Read"..? Type the command to fetch the reading in the text box, and use the "Send and Read" button, which will set the computer as the talker, send the command, and then it sets it up so the meter is the talker.? You should see the results show up in the history below.? It puts the actual results there, with no additional formatting so you can see exactly what it sends back.? Of course you can also do it individually using the separate "Send Command" and "Read Response" as well. The "Send and Read" just combines the two actions.
What language do you plan to use for your program?

Daun

On 11/17/2018 4:52 PM, Staffan wrote:

Hello,

Just got hold of an old HP436A power meter and would like to do some automated measurements. Controlling the instrument is simple using the 82357B USB-GPIB module (I can set range etc), but reading data? As a first step I'd like to test using Agilent Interactive IO from Connection Expert. If that works, I'm fairly sure I can get it working in a program also.?
The 436 is set to NORMAL, i.e., not TALK ONLY. It does have the HP-IB option 022 installed. My guess is that I need to address the instrument to Talk in some other way than the "Read Response" used in Interactive IO.

Anyone with experience of this?

Regards,
? Staffan

?

--
Daun E. Yeagley II, N8ASB

No virus found in this message.
Checked by AVG -
Version: 2016.0.8048 / Virus Database: 4793/15883 - Release Date: 08/14/18
Internal Virus Database is out of date.


 

Hello,

Thanks for the suggestion. I have tried this, but it doesn't seem?to work. Any recommendations to how I should configure Interactive IO? I will use Visual Basic in Excel for later programming - hopefully using Agilent VISA libraries...
?
In general, anyone with experience of communicating over USB-GPIB 82357 with _very_ old instruments (single character commands etc...)? Is there a fundamental limitation?

Is there any way of performing low level communication/control of the 82357, i.e., controlling the separate digital lines?

Regards,
? Staffan?

On Sun, Nov 18, 2018 at 2:45 AM Daun Yeagley <daun@...> wrote:
Hi Staffan

Yes, you need to meter to be in addressable mode (or as you say, "normal").
If you use the interactive IO, you would use the "Send and Read"..? Type the command to fetch the reading in the text box, and use the "Send and Read" button, which will set the computer as the talker, send the command, and then it sets it up so the meter is the talker.? You should see the results show up in the history below.? It puts the actual results there, with no additional formatting so you can see exactly what it sends back.? Of course you can also do it individually using the separate "Send Command" and "Read Response" as well. The "Send and Read" just combines the two actions.
What language do you plan to use for your program?

Daun


On 11/17/2018 4:52 PM, Staffan wrote:
Hello,

Just got hold of an old HP436A power meter and would like to do some automated measurements. Controlling the instrument is simple using the 82357B USB-GPIB module (I can set range etc), but reading data? As a first step I'd like to test using Agilent Interactive IO from Connection Expert. If that works, I'm fairly sure I can get it working in a program also.?
The 436 is set to NORMAL, i.e., not TALK ONLY. It does have the HP-IB option 022 installed. My guess is that I need to address the instrument to Talk in some other way than the "Read Response" used in Interactive IO.

Anyone with experience of this?

Regards,
? Staffan

--
Daun E. Yeagley II, N8ASB


 

开云体育

Hi Staffan

Yes, you need to meter to be in addressable mode (or as you say, "normal").
If you use the interactive IO, you would use the "Send and Read"..? Type the command to fetch the reading in the text box, and use the "Send and Read" button, which will set the computer as the talker, send the command, and then it sets it up so the meter is the talker.? You should see the results show up in the history below.? It puts the actual results there, with no additional formatting so you can see exactly what it sends back.? Of course you can also do it individually using the separate "Send Command" and "Read Response" as well. The "Send and Read" just combines the two actions.
What language do you plan to use for your program?

Daun


On 11/17/2018 4:52 PM, Staffan wrote:
Hello,

Just got hold of an old HP436A power meter and would like to do some automated measurements. Controlling the instrument is simple using the 82357B USB-GPIB module (I can set range etc), but reading data? As a first step I'd like to test using Agilent Interactive IO from Connection Expert. If that works, I'm fairly sure I can get it working in a program also.?
The 436 is set to NORMAL, i.e., not TALK ONLY. It does have the HP-IB option 022 installed. My guess is that I need to address the instrument to Talk in some other way than the "Read Response" used in Interactive IO.

Anyone with experience of this?

Regards,
? Staffan

--
Daun E. Yeagley II, N8ASB


 

Hello,

Just got hold of an old HP436A power meter and would like to do some automated measurements. Controlling the instrument is simple using the 82357B USB-GPIB module (I can set range etc), but reading data? As a first step I'd like to test using Agilent Interactive IO from Connection Expert. If that works, I'm fairly sure I can get it working in a program also.?
The 436 is set to NORMAL, i.e., not TALK ONLY. It does have the HP-IB option 022 installed. My guess is that I need to address the instrument to Talk in some other way than the "Read Response" used in Interactive IO.

Anyone with experience of this?

Regards,
? Staffan