Author Topic: HP 34401A 3457A 3456A 3478A Standalone Software  (Read 22713 times)

0 Members and 1 Guest are viewing this topic.

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
HP 34401A 3457A 3456A 3478A Standalone Software
« on: June 12, 2021, 08:17:33 pm »
Hi, I couldn't find a standalone software for HP 34401A so I built one. It only works on Windows 10, 8, and 7. You will need a USB to Serial Adapter and a Null Modem cable/adapter to use this software. The software is free and open source, so you can download the source code and modify if for your own use.

I also created similar software for HP 3457A, 3478A, and 3456A, require an AR488 Arduino GPIB Adapter (https://github.com/Twilight-Logic/AR488). I have also created VISA GPIB version of these softwares however I will not provide any support for those, I tested them with NI-VISA 20.0 and Agilent 82357B Adapter, they may or may not work for you.

HP 34401A (RS232 + Null Modem or AR488 Arduino GPIB)
GitHub Link: https://github.com/Niravk1997/HP-Agilent-Keysight-34401A-Control-and-Data-Logging-Software
Download: https://github.com/Niravk1997/HP-Agilent-Keysight-34401A-Control-and-Data-Logging-Software/releases

HP 3457A (AR488 Arduino GPIB)
GitHub Link: https://github.com/Niravk1997/HP-3457A-Software
Download: https://github.com/Niravk1997/HP-3457A-Software/releases

HP 3456A (AR488 Arduino GPIB)
GitHub Link: https://github.com/Niravk1997/HP-3456A-Software
Download: https://github.com/Niravk1997/HP-3456A-Software/releases

HP 3478A (AR488 Arduino GPIB)
GitHub Link: https://github.com/Niravk1997/HP-3478A-Software
Download: https://github.com/Niravk1997/HP-3478A-Software/releases

HP Data Log Graphing Utility
GitHub Link: https://github.com/Niravk1997/HP-Data-Log-Graphing-Utility
Download: https://github.com/Niravk1997/HP-Data-Log-Graphing-Utility/releases

HP 34401A (RS232 + Null Modem or AR488 Arduino GPIB)


HP 3457A (AR488 Arduino GPIB)


HP 3456A (AR488 Arduino GPIB)


HP 3478A (AR488 Arduino GPIB)


Graph Window:


Create Math Waveforms:


Graph Markers:


Measurement Table:
« Last Edit: June 26, 2021, 04:51:31 am by Nx-1997 »
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8010
  • Country: us
Re: HP 34401A Standalone Software
« Reply #1 on: June 12, 2021, 08:25:25 pm »
Very nice!
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: dmderev

Online joeqsmith

  • Super Contributor
  • ***
  • Posts: 11951
  • Country: us
Re: HP 34401A Standalone Software
« Reply #2 on: June 12, 2021, 10:21:25 pm »
Nice looking interface. 

Online tv84

  • Super Contributor
  • ***
  • Posts: 3322
  • Country: pt
Re: HP 34401A Standalone Software
« Reply #3 on: June 13, 2021, 08:45:51 am »
Awesome job!  :clap:
 

Offline HighVoltage

  • Super Contributor
  • ***
  • Posts: 5549
  • Country: de
Re: HP 34401A Standalone Software
« Reply #4 on: June 13, 2021, 10:00:51 am »
Looks very good, I will give it a try
There are 3 kinds of people in this world, those who can count and those who can not.
 

Offline blackdog

  • Frequent Contributor
  • **
  • Posts: 758
  • Country: nl
  • Please stop pushing bullshit...
Re: HP 34401A Standalone Software
« Reply #5 on: June 14, 2021, 07:01:39 pm »
Hi Nx-1997, :-)
Tonight I managed to pair my 34401A with your HP34401A software.
Some comments, but first my thanks for sharing this software!

I had started last week with an RS232 USB dongle, but with three different computers, this dongle did not want to work properly.
I have a special measurement computer that has only 1 RS232 port and the sad thing is that I still have a plug-in card with two RS232 ports on it but there is no PCI slot left in this computer...
So I ordered two RS232 to USB cables with another chipset in it and now I hope that those will work. :-)

1e
In the graphics module, the bottoms of the letters of the menu are cut off.


2e
The main menu shows the measured value, e.g. the voltage of my 10V DC LAB reference.
Below the measured value are then the minimum value and the maximum value and finally the average value.
I would like to be able to reset the minimum and average value with a button, is that possible, I have not been able to find this function yet.


3e
I am also missing another feature and that is the "Null" button.

4e
On my 34461A and 34465A multimeters I often use this Null button and set the scale to e.g. 1PPM/Div
Is it possible that you could apply something similar to this software as well?

Here the 34401A is used to measure my LAB reference.
The 34401A has been on for less than 1 hour so there is the warm up drift to be seen here.
The value of the vertical scale jumps back and forth, the last "0" is omitted and this gives a jittery picture.


For now, these are my comments, I think the software is a nice piece of work!  :-+

Thanks and kind regards,
Bram
Necessity is not an established fact, but an interpretation.
 
The following users thanked this post: Nx-1997

Online coromonadalix

  • Super Contributor
  • ***
  • Posts: 6732
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #6 on: June 14, 2021, 07:11:40 pm »
for the dongles   

Please check the vid pid to know what chipset is in there,  some pl2303 chipset are not supported in win10

If you can find true FTDI dongles   they will work well  the ftdi clone will need a downgraded driver version, if not they will bust but can be recovered.

Some ch340 dongle works fine too
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #7 on: June 14, 2021, 08:29:11 pm »
Thanks for the feedback. I normally use the cheap ch340 USB to Serial adapters found on AliExpress for few dollars. They work just fine, after updating the drivers.

1e. The cut off is due to windows 7. This issue is not present on windows 10. It seems Microsoft do not really care about providing proper support for .net framework on windows 7, since they stopped supporting the OS in 2020. I am certain that this is a Windows 7 theme issue.

2e. You can reset those MIN, MAX, AVG values by double clicking on them. So double click on any of those values and they all should reset. Also, keep in mind that the AVG value is an exponential moving average, its not an actual calculated average. More info here: https://stackoverflow.com/a/50854247

3e/4e. I have no plans on adding math functionalities such as Null. You could create a subtraction math waveform through the graph window. I know it is not the same, but it will have to do for now.

The “0” being emitted is due array of data type double. Trailing zeros are removed, in c#, the trailing zeros are removed from floating-point numeric type double. This is also true for Keysight Benchvue DMM software measurement table, it also removes trailing zeros. This non-issue is not present in data logging feature of the software as data captured from the 34401A is stored directly into text files without any modifications.

Also, speech synthesizer on Windows 7 only has one voice (female) installed, and it is not good.

I have attached a special version of the software that should fix the menu cut off problem, compiled just for Window 7 classic theme.
« Last Edit: June 14, 2021, 08:35:52 pm by Nx-1997 »
 

Offline blackdog

  • Frequent Contributor
  • **
  • Posts: 758
  • Country: nl
  • Please stop pushing bullshit...
Re: HP 34401A Standalone Software
« Reply #8 on: June 14, 2021, 09:37:04 pm »
Hi Nx-1997, :-)

Thanks for compiling for Windows-7 this is much appreciated!

It is also the case with me that for certain measurements I use older equipment with the corresponding older OS.
That's just the way life is, no modern drivers for my 24Bit soundcard etc. so that's why I'm still using Windows 7 on my measurement computer.

As for the zeros at the end being omitted, I know it e.g. BenchVue is also the case.
I have also reported this to KeySight and other behaviors of this software that are not really confortable.

I can live without the "Null" button, can always correct this in excel after an export if needed.

The speech synthesizer I will not use soon, my measurement computer has no real sound output, I mean for the normal Windows sounds.
The 24Bit sound card is connected to other measurement equipment.

Look, your W7 version is running and also the reset of the average values I tested.


Thanks again for your efforts!

Regards,
Bram
Necessity is not an established fact, but an interpretation.
 
The following users thanked this post: Nx-1997

Offline blackdog

  • Frequent Contributor
  • **
  • Posts: 758
  • Country: nl
  • Please stop pushing bullshit...
Re: HP 34401A Standalone Software
« Reply #9 on: June 15, 2021, 06:07:40 am »
Hi Nx-1997, :-)

I found a few more small graphics bugs in the Graphing Module in the W7 version of your software.
The issue is the falloff of text in the next tab sheets below the graph.

Math (All Samples)
Math (N Samples)
Misc


And the software is still running well after over 8 hours of operation.  ;)



When my USB-RS232 cables arrive, I will also test your software with my HP6632A Power Supply.

Kind regards,
Bram
Necessity is not an established fact, but an interpretation.
 

Offline mc172

  • Frequent Contributor
  • **
  • Posts: 489
  • Country: gb
Re: HP 34401A Standalone Software
« Reply #10 on: June 15, 2021, 01:12:08 pm »
Very nice, thanks! :-+
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #11 on: June 15, 2021, 01:16:02 pm »
Hi, blackdog

Thanks for pointing that out. I have fixed those issues and attached the software with this post. In the coming few weeks I will try to implement the null functionality as well as add some other features. Also, I will create an offline graph viewing utility so users can graph their logged data.
 
The following users thanked this post: coromonadalix, jusaca, mc172

Offline beanflying

  • Super Contributor
  • ***
  • Posts: 7375
  • Country: au
  • Toys so very many Toys.
Re: HP 34401A Standalone Software
« Reply #12 on: June 15, 2021, 02:40:39 pm »
Look forward to having a play tomorrow after some sleep :-+

I have been using the Agilent/Keysight software here https://www.eevblog.com/forum/testgear/help-need-keysight-34461a-dmm-data-logging-to-xl/ for my 34401A and 34461A which when you get the link sorted works well too.
Coffee, Food, R/C and electronics nerd in no particular order. Also CNC wannabe, 3D printer and Laser Cutter Junkie and just don't mention my TEA addiction....
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3038
  • Country: dk
    • Tests
Re: HP 34401A Standalone Software
« Reply #13 on: June 15, 2021, 03:15:06 pm »
Another option for software is TestController https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/
It can log and control more than one device at a time.
 

Offline Frex

  • Regular Contributor
  • *
  • Posts: 133
  • Country: fr
Re: HP 34401A Standalone Software
« Reply #14 on: June 15, 2021, 04:57:38 pm »
Hello,

First, thank you to share this excellent work !
Very well done interface with extensive features.
(Even if I don''t have yet tried it).

I have already an Agilent 82357B IEE488 to USB  adapter,
does it can with it ? (I suppose not).
I ask this because using IEE488 instead of RS232 allow much
faster data-logging rate.

Best regards.
Frex
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #15 on: June 15, 2021, 05:21:11 pm »
Hi, Frex

GPIB port is supported via an AR488 Arduino GPIB adapter, offers faster sample capture rate. Here is the GitHub link for the adapter: https://github.com/Twilight-Logic/AR488
I also have a Agilent 82357B adapter but I have no plans to support it for now.
 

Offline Frex

  • Regular Contributor
  • *
  • Posts: 133
  • Country: fr
Re: HP 34401A Standalone Software
« Reply #16 on: June 15, 2021, 05:48:14 pm »

Ok, thank you.
I have an unused Arduino board available,
that would be a good manner to use it .  ^-^

Frex
 

Offline hugo

  • Regular Contributor
  • *
  • Posts: 172
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #17 on: June 15, 2021, 11:26:07 pm »
Hi Nx-1997,

Thank you for making this nice looking software interface available, is there a way to save the measurement, min, max, avg color?

Thanks
 
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #18 on: June 15, 2021, 11:41:50 pm »
Hi, Hugo

Currently there is no way to save display panel colors as I didn't really think it was that important. But if you want a specific color other than blue by default I would be happy to compile a special version with the default color you want.
 

Offline beanflying

  • Super Contributor
  • ***
  • Posts: 7375
  • Country: au
  • Toys so very many Toys.
Re: HP 34401A Standalone Software
« Reply #19 on: June 16, 2021, 03:26:29 am »
Downloaded, tweaked some parity settings and hooked right up  :-+ On communication settings can you make it retain those set on exit if it isn't to much trouble (minor niggle)?

I will do some more playing when I have time but it beats the hell out of doing battle Multiple packages for the Agilent freebie already :-+ Lots on nice features I haven't got to but being able to switch the display on or off is  :-+ :-+
Coffee, Food, R/C and electronics nerd in no particular order. Also CNC wannabe, 3D printer and Laser Cutter Junkie and just don't mention my TEA addiction....
 

Offline blackdog

  • Frequent Contributor
  • **
  • Posts: 758
  • Country: nl
  • Please stop pushing bullshit...
Re: HP 34401A Standalone Software
« Reply #20 on: June 16, 2021, 08:30:10 am »
Hi,

Just an update on the 34401 software that is still running on my test computer.
This is not the latest version that Nx-1997 made for W7, but this is a test that I am running for a few more days to gain confidence in the stability of this software.

What I really like is that there is no need to run a very large bulk of other software to do standard data logging on e.g. the 34401A.
When I have some more time again, I will also test my KeySight 34461 and the 34465A.

The picture below nicely shows the drift of my 34401A, which is the warm-up drift and the drift that every measuring instrument has as a result of the temperature variation of the measuring space and a bit of the measuring cables used.
The source is a 10V LAB reference built in an oven at 45C.
The drift of my 34401A is about 1PPM per degree Celsius between 20 and 30 Celsius at the 10V DC range.



I received an email this morning that the USB-RS232 adapters will be delivered this afternoon, I will be waiting like a dog behind the mailbox.  :-DD

Kind regards,
Bram
Necessity is not an established fact, but an interpretation.
 

Offline HighVoltage

  • Super Contributor
  • ***
  • Posts: 5549
  • Country: de
Re: HP 34401A Standalone Software
« Reply #21 on: June 16, 2021, 10:33:07 am »
My old RS232 to USB adapter will not work with your software, not sure why.
I have ordered a new one that should arrive soon.

There are 3 kinds of people in this world, those who can count and those who can not.
 

Offline beanflying

  • Super Contributor
  • ***
  • Posts: 7375
  • Country: au
  • Toys so very many Toys.
Re: HP 34401A Standalone Software
« Reply #22 on: June 16, 2021, 10:45:28 am »
My old RS232 to USB adapter will not work with your software, not sure why.
I have ordered a new one that should arrive soon.

I was running mine on 7 bits and Even parity on the 34401A if it helps same settings on the software.
Coffee, Food, R/C and electronics nerd in no particular order. Also CNC wannabe, 3D printer and Laser Cutter Junkie and just don't mention my TEA addiction....
 

Offline mnementh

  • Super Contributor
  • ***
  • Posts: 17541
  • Country: us
  • *Hiding in the Dwagon-Cave*
Re: HP 34401A Standalone Software
« Reply #23 on: June 16, 2021, 01:35:37 pm »
...I received an email this morning that the USB-RS232 adapters will be delivered this afternoon, I will be waiting like a dog behind the mailbox.  :-DD

Kind regards,
Bram



We all know that feeling all too well. ;)

mnem
 :-DMM
alt-codes work here:  alt-0128 = €  alt-156 = £  alt-0216 = Ø  alt-225 = ß  alt-230 = µ  alt-234 = Ω  alt-236 = ∞  alt-248 = °
 

Offline blackdog

  • Frequent Contributor
  • **
  • Posts: 758
  • Country: nl
  • Please stop pushing bullshit...
Re: HP 34401A Standalone Software
« Reply #24 on: June 16, 2021, 01:51:38 pm »
Hi,

Yes, the USB to RS232 adapters have arrived!
I was able to use the old RS232 Null modem cable from the Symantec Firewalls I had bought over 15 years ago, so the cables are now long enough, to be connected normally.

The screenshot shows that now my HP6632 Power Supply is connected and the three graphs on the right side are from top to bottom the Voltage, Current and the bottom one the power supplied to my Dummy Resistor.
The other graph on the lower left is still the measurement of the 34401A DMM.



This is a picture of the measurement setup, the Heatkit Dummy Resistor is set to 8 Ohms and is connected to the black box that is on top of the Heatkit resistor.
This black box is 4-wire, so sensing was used to compensate for wiring losses.


The 34401 is also visible in this picture, just not connected properly for the smallest possible Seeback voltage, but that is not important for now.

Nx-1997
I am really happy with your software and will explore both packages further.
One more note, this computer only sees about 2% extra processor load when both programs are running.
The system is an i7 860(2.8GHz) and 12GB memory, W7 64Bit. (DELL Precision T1500)

So there is still plenty of processor power left for other measurements!  :-+

Regards,
Bram
« Last Edit: June 16, 2021, 02:22:52 pm by blackdog »
Necessity is not an established fact, but an interpretation.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf