Author Topic: 3458A calram  (Read 18181 times)

0 Members and 1 Guest are viewing this topic.

Offline Alex Nikitin

  • Super Contributor
  • ***
  • Posts: 1165
  • Country: gb
  • Femtoampnut and Tapehead.
    • A.N.T. Audio
Re: 3458A calram
« Reply #25 on: November 16, 2015, 03:41:02 pm »
Apologies for a slight offtopic.

I've checked CALNUM on the HP3458A we've just received (bought used) and it is 54. The unit is supposed to be calibrated recently. Does that number look OK for quite an old meter?

Cheers

Alex
 

Offline alanambroseTopic starter

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: gb
Re: 3458A calram
« Reply #26 on: November 16, 2015, 04:20:19 pm »
Hi Alex,

It's a bit hard to tell. You can figure a rough idea of the manufacturing date either from the date codes on the chips or the device serial number (maybe from the geller labs page).

Then either 90 day cals for a serious production device or annual cals for a non-critical lab device. (And since the earliest ship was ~89 that means at least some 90 day cals.) Bear in mind that the device generally gets more stable as time goes on anyway.

But 54 cals at say min $500 a pop means someone wanted the device kept up to spec.

Alan
 
“A foolish consistency is the hobgoblin of little minds"
 

Offline pelule

  • Frequent Contributor
  • **
  • Posts: 513
  • Country: de
  • What is business? It’s other people’s money
Re: 3458A calram
« Reply #27 on: November 20, 2015, 09:46:11 pm »
Quote
Quote from: alanambrose on November 15, 2015, 05:01:59 AM


    And yes, I agree, it would be helpful to totally blank the display.

    Alan


This "problem" is solved already. See 3458A repair thread.

Simply send the command DISP OFF,'    ' to the 3458A.

Frank
I had the idea, to program the function key with that command, like I have done with the "TEMP?" function.
But I had no success yet and get error 106 String exceeds range
I used the command
DEFKEY 1, "DISP OFF, ' '"
The problem is to define the ".
Has anyone a good idea?
BR
PeLuLe

You will learn something new every single day
 

Online Dr. Frank

  • Super Contributor
  • ***
  • Posts: 2382
  • Country: de
Re: 3458A calram
« Reply #28 on: November 20, 2015, 10:59:35 pm »
As described in the manual, that's not possible, if programming the function keys directly.
Quotation marks are not allowed in the DEFKEY command.

Maybe the intrinsic BASIC works.
As you can send that command via GPIB from an external program, this should also be possible with an internal program.
Therefore, you might first define a subprogram in nonvolatile RAM, just one line, which sends this command to the instrument.
Then you assign the call of this subroutine to the desired function key.

I never used the BASIC of the 3458A, but that might very probably do the job.

PS: That BASIC might also solve your running average problem. More tricky, though.
Frank
« Last Edit: November 20, 2015, 11:24:58 pm by Dr. Frank »
 

Online Dr. Frank

  • Super Contributor
  • ***
  • Posts: 2382
  • Country: de
Re: 3458A calram
« Reply #29 on: November 21, 2015, 12:20:39 am »
Bright idea   O0 .. works like a charm  :-+
this TP procedure defines F1 for the call of the program, and also defines the single line sub routine.

procedure SET_F1_BLANK_HP3458;
begin
   clrscr;
   InitCEC;
   SetTimeOut(10000);
   cmd:= 'DEFKEY DEFAULT';     {clear F1 .. F9}
   sendstr(HP3458);
   cmd:= 'DEFKEY 1,"CALL DISP_BLANK"';   {call BASIC Program on F1}
   sendstr(HP3458);
   cmd:= 'SCRATCH';            {delete all BASIC elements from nvRAM}
   sendstr(HP3458);
   cmd:= 'SUB DISP_BLANK';               {start of subroutine}
   sendstr(HP3458);
   cmd:= 'DISP OFF,''   ''';             {single line of code...in that BASIC context, that's no direct command to 3458A }
   sendstr(HP3458);
   cmd:= 'SUBEND';                       {end of subroutine}
   sendstr(HP3458);

   Goto_Local(HP3458);
   EndCEC;
 end;

Frank
« Last Edit: November 21, 2015, 12:24:26 am by Dr. Frank »
 

Offline TiN

  • Super Contributor
  • ***
  • Posts: 4543
  • Country: ua
    • xDevs.com
Re: 3458A calram
« Reply #30 on: November 21, 2015, 04:09:35 am »
Python-snake version:

Quote
# Python Display-off F7 key define GPIB app
# http://xdevs.com/fix/hp3458a/
import sys
import Gpib

inst = Gpib.Gpib(0,3) # Instrument GPIB Address = 3
inst.clear()
inst.write("DEFKEY 7,\"CALL DISP_BLANK\"")
inst.write("SCRATCH")
inst.write("SUB DISP_BLANK")
inst.write("DISP OFF,\"  \"")
inst.write("SUBEND")

Programms only F7, as I already had some other macros on other buttons.
YouTube | Metrology IRC Chat room | Let's share T&M documentation? Upload! No upload limits for firmwares, photos, files.
 

Offline pelule

  • Frequent Contributor
  • **
  • Posts: 513
  • Country: de
  • What is business? It’s other people’s money
Re: 3458A calram
« Reply #31 on: January 06, 2017, 11:11:14 pm »
I used a "quick&dirty" way. It may of interrest for others, not able to program.
I used the Agilnt USB-to-GPIB clone with installed Agilent Commuication Libraries and entered thme in interactive GPIB command tool.
Entered the following commands (defined F0 key):
   END ALWAYS
   DEFKEY 0,"CALL DISP_BLANK"
   SCRATCH
   SUB DISP_BLANK
   DISP OFF,"
   SUBEND

Note: DISP OFF," is the short form of DISP OFF," "
You will learn something new every single day
 

Offline texaspyro

  • Super Contributor
  • ***
  • Posts: 1407
Re: 3458A calram
« Reply #32 on: January 07, 2017, 03:43:09 am »

Now, it would be useful to try and get MWRITE working. This guy seems to have made some progress at least:


I wrote the HP3458A program (based upon the excellent work that PHK did) that John (ke5fx) includes in his GPIB Toolkit package.

I wanted to add a calram restore capability, but, as PHK discovered,  writing to the cal ram is protected by several different mechanisms and you have to call some internal subroutines to get write access.  This subroutines are in different locations depending upon the firmware.  Writing a general purpose tool to do that would be a big problem...

 

Offline bingo600

  • Super Contributor
  • ***
  • Posts: 1987
  • Country: dk
Re: 3458A calram
« Reply #33 on: January 07, 2017, 01:31:41 pm »
I wrote the HP3458A program (based upon the excellent work that PHK did) that John (ke5fx) includes in his GPIB Toolkit package.

Hi texaspyro  ;)  :-+

Wanna play along , or is "The Lady" still taking your time ?? .. Maybe she should be in the image
https://www.eevblog.com/forum/metrology/raspberry-pi23-logging-platform-for-voltnuts/

/Bingo
« Last Edit: January 07, 2017, 01:35:41 pm by bingo600 »
 

Offline dr.diesel

  • Super Contributor
  • ***
  • Posts: 2214
  • Country: us
  • Cramming the magic smoke back in...
Re: 3458A calram
« Reply #34 on: January 07, 2017, 03:59:58 pm »
Unknown history on my unit.  Looks like someone has replaced U121 and U122, wonder why they left U132?


Online TheSteve

  • Supporter
  • ****
  • Posts: 3752
  • Country: ca
  • Living the Dream
Re: 3458A calram
« Reply #35 on: January 07, 2017, 04:32:21 pm »
They did the bare minimum to get it to pass the self test. The main memory nvrams do seem to die before the Cal nvram. They also may not have a programmer to read/write the nvram. No matter the reason you will want to swap it out.
VE7FM
 

Offline dr.diesel

  • Super Contributor
  • ***
  • Posts: 2214
  • Country: us
  • Cramming the magic smoke back in...
Re: 3458A calram
« Reply #36 on: January 07, 2017, 04:55:45 pm »
No matter the reason you will want to swap it out.

Yup!  Just saved the data via the Linux utility that bingo600 provided above, thank you Sir.  A new DS1220AD-150+ will be added to my next DK order.

Offline bingo600

  • Super Contributor
  • ***
  • Posts: 1987
  • Country: dk
Re: 3458A calram
« Reply #37 on: January 07, 2017, 06:30:34 pm »
Yup!  Just saved the data via the Linux utility that bingo600 provided above, thank you Sir.  A new DS1220AD-150+ will be added to my next DK order.

You're welcome  ;)

Actually i ought to replace all 3 in my 58' too

/Bingo
 

Offline texaspyro

  • Super Contributor
  • ***
  • Posts: 1407
Re: 3458A calram
« Reply #38 on: January 12, 2017, 09:44:07 pm »

Hi texaspyro  ;)  :-+

Wanna play along , or is "The Lady" still taking your time ?? .. Maybe she should be in the image


I've hacked up Lady Heather lots of times to do logging/plotting and instrument control.  It provides a nice base of capabilities and now runs on Windows, Linux, macOS, and FreeBSD.  Heather's plotting, logging, and drawing routines are fairly generic.  So are the keyboard menu routines once you figure out how they work (lotsa luck with that).

For instance, if you dig through the source code you will find references to "luxor" which is my LED / power analyzer / swiss army knife device. 

I've been looking at prasimix's SCPI power supply...  Heather knows about SCPI... 

V 5.0 added support for writing/reading log files in XML format besides the standard  simple ASCII logs. It's fairly easy to add new data types to.

I just added support for allowing up to 10 external com links (serial/USB or TCP/IP).  Makes it easy to talk to things in addition to a GPSDO... Time interval counter, anyone?


 
The following users thanked this post: dr.diesel

Offline mimmus78

  • Supporter
  • ****
  • Posts: 676
  • Country: it
Re: 3458A calram
« Reply #39 on: February 06, 2017, 12:44:29 am »
I have defined a key for this. You don't need quote if you are not displaying any message, so just this will do:

  DISP MSG,

and yes you can do this by just the front panel.

8)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf