HP 8903B HPIB/GPIB read problems - diyAudio
Go Back   Home > Forums > Design & Build > Equipment & Tools

Equipment & Tools From test equipment to hand tools

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 13th March 2012, 02:17 AM   #1
diyAudio Member
 
Join Date: May 2005
Location: Virginia
Default HP 8903B HPIB/GPIB read problems

Greetings,

I am trying to control a newer ('95) HP 8903B with an 82357B USB-HPIB controller and the Agilent 15.5 IO libraries. I want to use P. Millet's software and also write my own.

I can send data, but I can't read anything back. I just get timeout errors. I've tried essentially every setting possible on the controller. I can control and read back from all my other HP instruments (ranging from 1980-2000) so I'm pretty sure it's not the USB-HPIB adapter.

Intensive web searching leads me to believe that many others are having the same problem. I suspect a malfunction in this otherwise flawless instrument. Has anyone encountered this and actually found a solution?

I posted something similar to the HP/Agilent equipment group a few days ago.

Jonathan
  Reply With Quote
Old 13th March 2012, 04:56 AM   #2
diyAudio Member
 
luvdunhill's Avatar
 
Join Date: Jul 2006
I have the exact same problem. Looking forward to a solution.
  Reply With Quote
Old 13th March 2012, 06:13 PM   #3
macboy is offline macboy  Canada
diyAudio Member
 
Join Date: Oct 2003
Location: Ottawa, Canada
Check if the instrument is in Talk-only or listen-only modes. You do not want either of those modes. Use special function 21.0 for that. (just to be perfectly clear, press [2] [1] [.] [0] [SPCL]). The address, in binary, will be displayed in the left display, and in the right display is another 3-bit binary number representing Talk-only, Listen-only, and (HP-IB)IRQ. So you should see 000 or 001 in the right display, otherwise you need to disable Talk-only or Listen-only. There is a DIP switch inside the instrument for that. The procedure to access and set the DIP switch is covered in the manual on page 2-5.
  Reply With Quote
Old 13th March 2012, 06:36 PM   #4
diyAudio Member
 
Join Date: May 2005
Location: Virginia
Nope; that's not it. The instrument is not in talk-only or listen-only mode. The right hand display shows "001". (I've read all of the user's manual and a good chunk of the service manual, and can't find anything in the settings that I haven't tried.)

It's either a weird incompatibility with HP's own 82357B or there's something in the hardware that is prone to failure, as far as I can tell. Unfortunately I don't have any other GPIB controllers to compare with.
  Reply With Quote
Old 13th March 2012, 10:11 PM   #5
tomchr is offline tomchr  United States
diyAudio Member
 
tomchr's Avatar
 
Join Date: Feb 2009
Location: Greater Seattle Area
Could it be a read-after-write issue? The 8903 doesn't support that.

With the 8903B in any mode you should be able to transmit command "RR" (Read Right) and get the reading of the right display output to the GPIB. I use (pseudo code):

Transmit "RR"
Delay 200 ms
Read GPIB

I'm having no issues with my 8903A and Prologix GPIB-USB and GPIB-LAN controllers.

~Tom
__________________
21st Century Maida Regulator, Universal Filament Regulator, Damn Good 300B, Novar Spud, and more...
Neurochrome : : Audio - http://www.neurochrome.com/audio - Engineering : : Done : : Right
  Reply With Quote
Old 14th March 2012, 01:45 PM   #6
diyAudio Member
 
luvdunhill's Avatar
 
Join Date: Jul 2006
Mine says 00010 000. I assumed that it was an issue with the USB GPIB adapter.
  Reply With Quote
Old 14th March 2012, 03:58 PM   #7
diyAudio Member
 
LafeEric's Avatar
 
Join Date: May 2010
Do you have the correct line termination set? Incorrect line terminations will leave the instrument waiting for the end of the request.
  Reply With Quote
Old 17th August 2012, 05:41 PM   #8
Luke_g is offline Luke_g  Italy
diyAudio Member
 
Join Date: Feb 2006
Location: Marche
Hi,

I'm having the same issue as other guys here and tried several things but no solution.

I can get good result from Pete's Millett softwares "Frequency Response" and "THD vs F", but the "THD vs Level/Power" routines gives a GPIB error on instrument "ERROR 24" during the execution and than a bad result in terms of graphic result: I get just a vertical line on the THD vs Level/Power curve!

Did you find a solution meanwhile?

Cheers,

Luca.
  Reply With Quote
Old 19th August 2012, 07:26 PM   #9
klewis is offline klewis  United States
diyAudio Member
 
klewis's Avatar
 
Join Date: Sep 2007
Blog Entries: 36
Quote:
Originally Posted by stevens69 View Post
Greetings,

I am trying to control a newer ('95) HP 8903B with an 82357B USB-HPIB controller and the Agilent 15.5 IO libraries. I want to use P. Millet's software and also write my own.

I can send data, but I can't read anything back. I just get timeout errors. I've tried essentially every setting possible on the controller. I can control and read back from all my other HP instruments (ranging from 1980-2000) so I'm pretty sure it's not the USB-HPIB adapter.

Intensive web searching leads me to believe that many others are having the same problem. I suspect a malfunction in this otherwise flawless instrument. Has anyone encountered this and actually found a solution?

I posted something similar to the HP/Agilent equipment group a few days ago.

Jonathan
I have an HP8903A, and never had luck using Pete's compiled interface. I ended up purchasing the student addition of VEE. Pete was kind enough to send me the VEE code and I was able to get Pete's code to run.

For simple I/O using the Agilent Connection expert, you need to double click the instrument (my 8903's address is 28) then select properties, then turn off the Auto- Identify feature. The instrument will now have a green check mark next to it. This will allow you to send it commands with the I/O feature.

The syntax for sending command with the I/O function is as shown in the manual, except with a "*" in front of the command.

Because I purchase the student addition of VEE, I can't compile anything otherwise I would share compiled files. If you own VEE, I would be happy to share the stuff I've made.

Don't know if this helps, happy to try and answer any questions.

Ken
Attached Images
File Type: png Properties_unselect_Auto_Idnfy.png (152.8 KB, 157 views)
File Type: png syntax.png (19.8 KB, 151 views)
  Reply With Quote
Old 22nd August 2012, 10:47 PM   #10
Luke_g is offline Luke_g  Italy
diyAudio Member
 
Join Date: Feb 2006
Location: Marche
Default Mr.Millett's "THD vs Voltage/Power" fixed

Hi All,

I have fixed my issue with Mr. Millett's "THD vs Voltage/Power".
For clarification the above issue comes out only with those GPIB adapters (mainly USB to GPIB) that are not able to add automatically the "EOL" command to each WRITE command send to the instrument.

Original Millett's softwares "voltage_v2.vxe" and "power_v2.vxe" have a missing "EOL" on the command WRITE TEXT "M1" . This missing EOL causes the instrument to produce an "ERROR 24" during its setting to "AC LEVEL" mode (operated by M1 instruction) and for this the subsequent voltage reading is not correct producing voltage spikes in the reading and finally in the graph THD vs. Voltage/Power.

I have fixed the native VEE files, that Mr.Millett has kindly provided to me, by adding the EOL command to the above said line (attached line detail on one print screen), installed an evaluation version of VEE (7.0) and then producing the RUN TIME version of the 2 fixed files.

Thought the software were not mine and kindly supplied by Mr.Millett I have sent him an e-mail to inform about the bug I have found and how to fix so please kindly ask him for the solution or wait for him to publish the updated files for HP8903B on his website (if he will).

Bye,

Luca.

P.S. All the 4 softwares from Mr.Millett now works perfectly on both XP and 7 OS with VEE RUN TIME 9.2 patched to 9.22 and using the BMJD TECH S82357 USB to GPIB adapter.
Attached Images
File Type: jpg bug fix.JPG (49.1 KB, 149 views)
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Differences between HP 8903A and HP 8903B cl84 Equipment & Tools 2 16th June 2010 07:34 PM
Problem with HP 8903B distortion analyzer HighTower Solid State 6 26th December 2008 03:16 AM
hp-8903B advice?? idealinnovat Tubes / Valves 14 5th September 2008 11:23 PM
HP 8903B w/manual Michael Rothacher Swap Meet 0 27th November 2002 04:42 PM


New To Site? Need Help?

All times are GMT. The time now is 12:07 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2