Author Topic: HP 34401A 3457A 3456A 3478A Standalone Software  (Read 18605 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 »
 

Online bdunham7

  • Super Contributor
  • ***
  • Posts: 7729
  • 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.
 

Online joeqsmith

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

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3212
  • 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: 5453
  • 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: 736
  • 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

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5795
  • 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: 736
  • 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: 736
  • 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: 487
  • 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: 7358
  • 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: 2899
  • 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: 116
  • 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: 116
  • 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
 

Online hugo

  • Regular Contributor
  • *
  • Posts: 165
  • 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: 7358
  • 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: 736
  • 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: 5453
  • 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: 7358
  • 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: 736
  • 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.
 

Offline mnementh

  • Super Contributor
  • ***
  • Posts: 17541
  • Country: us
  • *Hiding in the Dwagon-Cave*
Re: HP 34401A Standalone Software
« Reply #25 on: June 16, 2021, 03:08:55 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.

Good work!  :clap: And thanks for making me revisit the AR488 project; I didn't know aboot the addition of BT support via HC05/HC06 modules; that adds Android support via a number of similar APKs, as well as greatly simplified remote logging to any Windoze laptop using your app.  :-+

Do you intend to make multi-channel support happen? Has anyone here tried running multiple instances simultaneously...? *looks at bean*  ;)

mnem
 :-/O
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: 736
  • Country: nl
  • Please stop pushing bullshit...
Re: HP 34401A Standalone Software
« Reply #26 on: June 16, 2021, 06:20:46 pm »
Hi,

I have an old GPIB cable and a handful of Arduino Nano Microcontrollers lying around.
That calls for a test with with the AR488 software!

Just looked up the old GPIB cable, look at the insulation of this cable.
Surely you don't expect that from a Rohde & Schwarz product...


I cut the cable in half and then provide the two pieces with new insulation.
Furthermore I think I will build the Arduino Nano in a small box with a USB cable attached.
If it works I will show the result here.

Regards,
Bram
Necessity is not an established fact, but an interpretation.
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #27 on: June 16, 2021, 06:30:37 pm »
Alright, I have created the data log graphing utility. This utility allows users to graph their logged data. This software will graph data from my HP 34401A, 3457A, 3456A, and 3478A softwares. Just drag and drop your data log file onto the defined drag & drop area or click browse to navigate to your file. Then just click Graph Data button. I have added an example data log file so anyone can try this software out.

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



Also, you can control multiple 34401As by opening multiple instances of the software. The attached screenshot below shows how I control two HP 3456A by opening two instances of the software, this requires two AR488 Adapters.

I should have the 34401A null feature implemented by tomorrow, hopefully.
 
The following users thanked this post: hugo, tv84, SHF, mnementh

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #28 on: June 21, 2021, 07:03:04 am »
Thank you to everyone for testing the software and giving me feedback.

I have implemented the 34401A’s Null function. When Null On button is pressed, the meter puts the most recent measured value into its offset register. Then it starts to subtract this null value from each of the measurements. You can set the offset value manually by typing that value into the input field and pressing the set button. The “Null?” Button asks the meter whether the null function is active or not. The “Value?” button ask meter for the value stored in its offset register. The meter disables the null function when overload occurs. Also, the null function is not available for Diode check and continuity. Null function can be enabled or disabled at any time.

Users can now save their COM settings, simply press the save button to do this. This means that the next time you run the software, your COM settings will automatically be loaded.

A new option has been added to the config menu. The “Local Exit” button will lift the remote status from the 34401A and exit the software. The 34401A will continue to take measurements without having the user to press the Shift (Local) key on the front panel. Only works for AR488 and RS232 versions.

Display panel text colors can be loaded through the Settings.txt file. Simply enter your own RGB values in place of the default values. Do not change the format of the text file, just replace the numbers. RGB values must be between 0 and 255.

Display measurement prefix can also be automatically set via the Settings.txt file. If you want full SI prefix range then set the “TRUE,Partial_SI_Prefix” to “FALSE,Partial_SI_Prefix”.
Partial SI prefix includes milli, kilo, mega, and giga.
Full SI prefix includes pico, nano, micro, milli, kilo, mega, giga, and tera.

I also added 15 additional math waveforms for all samples and N samples. Also, keep in mind if any measurement results in a null (no number) or infinity, that measurement is set to 0 in the math waveform. For example, if measurement sample is -1 then performing log (-1) = error, in this case the result will be set to 0 in the generated math waveform. See source code for more insight.

Fastest sample capture speed can be achieved by going to the config menu and selecting Sampling Only option.
 
The following users thanked this post: SHF, jusaca, beanflying

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #29 on: June 21, 2021, 07:04:20 am »
A new N Sample Graph window has been added. N is a user select value. This window allows you see the latest N Samples. Once, N samples have been captured by the software, they will be graphed onto the graph window, represented by Waveform_1.
You can also enable more waveforms, as N sample data gets captured, the newly acquired data is inserted into Waveform_1, while the old data from Waveform_1 will get inserted into Wavefrom_2, and the old data from Wavefrom_2 gets inserted into Waveform_3 and so on. The data is discarded after Waveform_10.
N Sample Data → Wavefrom_1 → Wavefrom_2 → Wavefrom_3 → Wavefrom_4 → Wavefrom_5 → Wavefrom_6 → Wavefrom_7 → Wavefrom_8 → Wavefrom_9 → Wavefrom_10 → Discarded.
All Waveforms are overlapped. Waveform_1 is in the front while Waveform_10 is at the very back.

Here I am measuring a 1Hz Sine wave, generated by my HP 3325A. There is no trigger feature. You can enable or disable the number of waveforms you want to see.



I am not sure how helpful this window is. Here I am measuring DC Motor current.



There is no end goal to this Graph Window, I am just playing around.
 
The following users thanked this post: tv84, SHF

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #30 on: June 21, 2021, 07:08:16 am »
Support for Visa GPIB has been added. This allows users with GPIB adapter/Card that utilize VISA software to use this software.

With any VISA software you install, it must have VISA.NET Shared Components Version 5.8 installed.
See here for more info: https://github.com/vnau/IviVisaNetSample

For those with 82357B GPIB Adapter:
1.   Download Keysight IO Library suite 2021, then download NI VISA 20.0 software.
2.   Configure the Keysight IO software to use NI VISA as primary visa.
3.   For the GPIB-USB, check the “Enable Keysight GPIB cards for 488 programs” option.
4.   Open NI VISA Interactive control and wait unit you see HP 34401A’s GPIB address on the list, then close the interactive window.
5.   Open the HP 34401A software, click on config menu then click connect. The select GPIB device window should open, the list should show the GPIB devices. Select your HP 34401A GPIB address by
        double clicking on it from the list. Click the *IDN? Button, you should see your 34401A’s IDN message. Then just click connect.
       
Users who have the GPIB-USB-HS GPIB adapter only need to install NI Visa 20.0 with default settings, that should work.

I had issues with Keysight Visa, see Keysight VISA Error Image, so I downloaded NI Visa 20. After switching to NI Visa, I have had no issues. I ran the software for 11 hours, with fastest sampling settings, with no issues.

More testing is needed. If this version works for some people, I might be able to port my other DMM softwares for VISA GPIB cards/adapters.

I also could not get the 1000 readings per second. With the 82357B Adapter, I could only get around 200 samples per seconds. I tried Keysight’s recommend commands for fast sampling, but that did not work. The HP 34401a software is not the issue, it can handle 371000 samples in 1 second, I benchmarked it by feeding dummy data.

If anyone has any experience with getting 1000 readings per second from HP 34401A with IVI Visa.Net library, let us know.

GitHub Link: https://github.com/Niravk1997/HP-Agilent-Keysight-34401A-Control-and-Data-Logging-Software
Download Link:  https://github.com/Niravk1997/HP-Agilent-Keysight-34401A-Control-and-Data-Logging-Software/releases

If you wish to compile the software from source code, then:
1.   Download the latest visual studio community, on windows computer, and during the installation process select .net desktop development and continue installing it.
2.   Download the project from GitHub and navigate to the scr folder. Choose which version you want to compile and open that folder.
3.   Click on the HP 34401A.csproj or HP 34401A.sln file, visual studio will open the project. From there you can press the green start button to run, the library files will automatically be downloaded.
« Last Edit: June 21, 2021, 07:52:06 am by Nx-1997 »
 
The following users thanked this post: blackdog, SHF, mankan, trebejo

Offline jusaca

  • Supporter
  • ****
  • Posts: 69
  • Country: de
Re: HP 34401A Standalone Software
« Reply #31 on: June 21, 2021, 06:55:37 pm »
Wow dear god you are active in development :D
I was quite keen on playing around with your software on the weekend and was wondering why my 34401A could not connect - only to find out that I used a gender changer instead of a null modem adapter... Well, new adapter should arrive tomorrow ;)
 
The following users thanked this post: Nx-1997

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #32 on: June 21, 2021, 07:02:17 pm »
In the coming days, I will add support for VISA GPIB adapters for my other DMM apps, namely HP 3457A, 3456A, and 3478A. ^-^ Currently those are only supported via AR488 GPIB Adapter.
 

Offline blackdog

  • Frequent Contributor
  • **
  • Posts: 736
  • Country: nl
  • Please stop pushing bullshit...
Re: HP 34401A Standalone Software
« Reply #33 on: June 21, 2021, 07:40:55 pm »
Hi Nx-1997,  ;)

This evening I had a little time to spare and tested your latest version of the 34401A logger software, the proof is the picture below. THANKS!


I have not finished my Arduino with GPIB cable yet, but I have already made a table with the colors of my cable how they should be mounted to the Arduino Nano.

In the same measurement computer, I also have a KeySight PCI 82350B controller.
So when your GPIB software is ready, I can test with that too.

Keep op the good work!

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

Online hugo

  • Regular Contributor
  • *
  • Posts: 165
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #34 on: June 22, 2021, 01:13:22 am »
It is getting better and better ... thanks.

On the main display panel the "Range" should be "Function" right?  ;)
 

Online tomeo.gonzales

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ro
Re: HP 34401A Standalone Software
« Reply #35 on: June 25, 2021, 09:32:27 pm »
Hi Nx-1997,
Very nice program.
I was able to use it with 82357B GPIB adapter but I have difficulties finding a correct serial cable.
Can you please publish the pinout of your serial cable (including the null-modem adapter).
I have a computer with a RS232 interface and I want to make a serial cable for it.
Maybe you can also include the pinout for the serial cable in the PDF user manual.
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #36 on: June 25, 2021, 10:53:25 pm »
Hi, tomeo.gonzales

These are the serial adapters I have tested working and they are the only ones I have. I bought them from Aliexpress. The blue and the black one have the fake 340 chip and they both work just fine, no issues. The grey one is a UGreen branded, it has a genuine PL2303 chip and it also works just fine. The null modem adapter is a female to female one, also bought from Aliexpress.

The HP 34401A user manual provides the serial pinouts I believe.

Also, I highly recommend users to try and create these AR488 Adapters, these don't need visa software to function.
AR488 Arduino GPIB Adapter: https://github.com/Twilight-Logic/AR488
 

Online tomeo.gonzales

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ro
Re: HP 34401A Standalone Software
« Reply #37 on: June 25, 2021, 11:38:06 pm »
Thank you for your fast response.
I'll try to duplicate the serial cable from 34401A manual.
One more request: please, if it is possible,  add a menu entry to turn the front-panel display of the instrument on/off. ( DISPlay {OFF|ON} commands )

 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A Standalone Software
« Reply #38 on: June 25, 2021, 11:53:40 pm »
The Display ON OFF is already included. You can find it in the config tab.
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #39 on: June 26, 2021, 04:52:20 am »
I have updated the 3457A, 3456A, and 3478A software to have the same features as the 34401A software.

I also increased the Date Time Resolution, now date time values have millisecond resolution. This allows Excel to properly graph your data with Date Time X-Axis, if you want to. The custom cell format for date time is “yyyy-mm-dd hh:mm.ss.000 AM/PM”

I also updated the HP Data Log graphing utility to support this new date time format.

I also added another new graph. The Date Time graph is a scatter plot, on the Y-Axis is your measurement data and on the X-axis is their Date Time value.


Graph Pan & Zoom Controls
Left Click: Pan
Right Click Hold: Zoom
Middle Click Hold: Rectangular Zoom Region
Middle Click: Auto Axis Once
Alt + Left Click Hold: Rectangular Zoom Region
Scroll Wheel: Zoom to cursor
Right Click: Save/Copy Image Menu

Ctrl + Left Click Hold: Pan Horizontally
Shift+ Left Click Hold: Pan Vertically
Ctrl + Right Click Hold: Zoom Horizontally
Shift + Right Click Hold: Zoom Vertically

 
The following users thanked this post: blackdog, lowimpedance, tv84, tomeo.gonzales, wolfy007

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3212
  • Country: pt
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #40 on: June 26, 2021, 08:12:47 am »
Your animated .GIFs are awesome!  :clap:
 
The following users thanked this post: Nx-1997

Online tomeo.gonzales

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ro
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #41 on: June 26, 2021, 09:13:37 am »
You are amazing.
I must explore deeper your program   :)
Thank you
 
The following users thanked this post: Nx-1997

Offline Miti

  • Super Contributor
  • ***
  • Posts: 1320
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #42 on: June 27, 2021, 01:15:55 pm »
@Nx-1997

I like your software and I figured out what my issue was with the AR488 locking up.
I hope you don’t take it the wrong way if I say that this quality SW deserve to support one more quality instrument; Fluke 8845/8846.
Fear does not stop death, it stops life.
 
The following users thanked this post: Nx-1997

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #43 on: June 27, 2021, 05:45:53 pm »
Hi, Miti

Thanks for testing the software. Currently I am only creating software for the instruments I have, and I do not have a Fluke 8845/8846, sorry. However, source code is available, anyone with experience can use the code to create a software for other meters. The graph modules are completely independent, and can be ported to any software that needs a graph.

For AR488 version, the following commands are used.
++addr
++eor, only for 34401a
++auto
++ren, only for 3457A, 34401a
++read
++read_tmo_ms
++rst, only used if clicked on AR488 reset button.
++ver, only if clicked on AR488 version button.

All other settings for AR488 remain set to default. The above settings also change to default when sending ++rst command or unplugging the AR488 adapter from the USB port.

Also, some old instruments do not support *IDN? Command. So, one way to verify what instrument is connected to which COM port is to change the AR488’s firmware version string. So, when ++ver command is issued it will send a custom sting that includes the Instrument ID.
 
The following users thanked this post: Miti, RaymondMack

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2899
  • Country: dk
    • Tests
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #44 on: June 27, 2021, 06:45:06 pm »
For the Fluke 8846A TestController https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/ can be used, it do also support a lot of other bench meters and devices, it runs on PC, Mac & Linux
 
The following users thanked this post: Miti

Offline RaymondMack

  • Regular Contributor
  • *
  • Posts: 87
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #45 on: July 05, 2021, 12:48:06 am »
Thanks for testing the software. Currently I am only creating software for the instruments I have, and I do not have a Fluke 8845/8846, sorry. However, source code is available, anyone with experience can use the code to create a software for other meters. The graph modules are completely independent, and can be ported to any software that needs a graph.

For AR488 version, the following commands are used.
++addr
++eor, only for 34401a
++auto
++ren, only for 3457A, 34401a
++read
++read_tmo_ms
++rst, only used if clicked on AR488 reset button.
++ver, only if clicked on AR488 version button.

All other settings for AR488 remain set to default. The above settings also change to default when sending ++rst command or unplugging the AR488 adapter from the USB port.

The software looks amazing Nx-1997! Thanks for sharing!

Since SCPI commands are so generic, the Fluke 8845/8846 and relabeled Tektronix DMM4050/4040 multimeters may already work with the HP34401A version of the SW.

I should be able to test this later on tonight.
 
The following users thanked this post: Nx-1997

Offline RaymondMack

  • Regular Contributor
  • *
  • Posts: 87
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #46 on: July 05, 2021, 01:06:59 am »
Looks like the serial version of "HP 34401A" checks to see if an actual 34401A instrument is connected. So I'll need to compile a new version. Shouldn't be very hard to do.

I don't forsee there being any further issues with getting the SW to work with other SCPI compliant DMMs aside from unusual NPLC and >3A current settings.
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #47 on: July 05, 2021, 03:50:38 am »
Hi, RaymondMack

I compiled a special version of the software (RS232) to see if it would support Fluke 8845A/8846A. I have removed the string validation check as well as tweaked a few things, nothing significant. See if this build works for you. 34401A's SCPI commands may be slightly different from 8845/8856 SCPI commands.
 
The following users thanked this post: RaymondMack

Offline RaymondMack

  • Regular Contributor
  • *
  • Posts: 87
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #48 on: July 05, 2021, 04:07:15 am »
Hi Nx-1997,

It's funny that you just made that! I had already removed the 34401A check/verification and tested it to work with my Tektronix DMM4050. I was just about to upload my build before I saw your new comment! I'll give your new build a test here in a bit.

SCPI commands are pretty generic and have good cross compatibility with many instruments. The only time one might run into an issue is with DMMs that have features not available to the 34401A or vice versa (say no diode check etc.)
« Last Edit: July 05, 2021, 04:09:02 am by RaymondMack »
 
The following users thanked this post: Nx-1997

Offline RaymondMack

  • Regular Contributor
  • *
  • Posts: 87
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #49 on: July 05, 2021, 04:49:30 am »
Just tried the new build from Nx-1997 and... it works!

For those interested in testing the new build, it should work for any SCPI compliant DMM who’s features overlap with the HP 34401A.

If you encounter an error at the meter, just go to the Queries tab and send CLS to clear the error and everything should work again. I didn't need to do this while testing, but problems might crop up for meters that only have a subset of the 34401A's features.

Obviously, a meter with features that are a superset of the 34401A will not available unless "auto range" or similar can be used to set them indirectly (e.g., the 10A range on a Tek DMM4050).
 

Offline todorp

  • Regular Contributor
  • *
  • Posts: 77
  • Country: it
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #50 on: July 06, 2021, 06:24:34 am »
Hi, I tried to run the latest binary available in git on win 7 pro 32 bit. I am connected to the HP34401A using an USB serial dongle. The serial comm settings on the instrument are: baud - 9600, parity - none, stop bits - 2, flow control - hardware. With this settings when I try to send the *IDN? command the program hangs and I have to kill it from task manager. If I push the 'Connect' button the program crashes. If I leave all the default serial port settings and push connect the program seems happy and closes the settings window. However if then I start a measurement the program crashes.
Anyone had similar issues with the serial comm connectivity? The hardware usb serial dongle works because I am able to connect to the instrument using BenchVue and TestController.

Thanks a lot,
    Tod
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #51 on: July 06, 2021, 06:40:44 am »
The correct serial settings on the instrument should be 9600 Baud, None: 8 Bits, SCPI. Navigate to the I/O menu and set these settings and see if that works.
 

Offline todorp

  • Regular Contributor
  • *
  • Posts: 77
  • Country: it
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #52 on: July 06, 2021, 06:59:38 am »
The correct serial settings on the instrument should be 9600 Baud, None: 8 Bits, SCPI. Navigate to the I/O menu and set these settings and see if that works.

Yes, that is exactly what I have - the only difference is stop bits = 2. Using a serial console I also determined that I have to set the flow control to 'hardware' in order to be able to connect to the meter...

I will download the code from git and try to debug to see what is going on. Thanks a lot for the software and the help :-).
 

Offline beanflying

  • Super Contributor
  • ***
  • Posts: 7358
  • Country: au
  • Toys so very many Toys.
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #53 on: July 06, 2021, 07:13:13 am »
The correct serial settings on the instrument should be 9600 Baud, None: 8 Bits, SCPI. Navigate to the I/O menu and set these settings and see if that works.

Not sure what the 'correct' settings are but mine is working fine on Even parity, 7 bits at 9600. Those settings are what worked on the Agilent freebie thread linked earlier and this software worked so I stuck with them.
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....
 
The following users thanked this post: mankan

Offline todorp

  • Regular Contributor
  • *
  • Posts: 77
  • Country: it
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #54 on: July 06, 2021, 07:16:05 am »
@beanflying could you post your values for the other fields in the Rs232 Settings, like hardware control, etc.
Thanks a lot
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #55 on: July 06, 2021, 07:22:23 am »
I just tested it in Windows 7, works fine. The manuals says default settings are 9600, NONE/8 bits, Start Bit 1, Stop bit 2. On some meters the Parity and data bits may be set to Even / 7 bits by default.
 

Offline todorp

  • Regular Contributor
  • *
  • Posts: 77
  • Country: it
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #56 on: July 07, 2021, 08:35:50 am »
Ok, I managed to make it work: I am not sure what exactly was wrong but the default settings given by Nx-1997 worked. The only thing I did was to install Net Framework 4.7.2 dev sdk (I was getting ready to debug the source code). After this the software worked like charm.
Thanks a lot for everyone's help,
    Tod
 

Offline jeffjmr

  • Regular Contributor
  • *
  • Posts: 144
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #57 on: July 12, 2021, 03:13:30 am »
New to GPIB, but have a 3478A and a Keithley 2015 and would like to log as well as learn about GPIB.

Will a UGPlus adapter work with this software and my 3478A?

If not, could you give me some specific adapter models that would work?

Any usability with my 2015?

Thanks,
Jeff
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #58 on: July 12, 2021, 05:16:30 am »
Hi, jeffjmr

The UGPlus adapter won't work with any of my software, unless you compile a special version for your UGPlus adapter. Because it is a true USB device not a virtual com port emulator like the AR488 gpib adapter.

I would recommend you try the ar488 adapter.
https://www.eevblog.com/forum/projects/ar488-arduino-based-gpib-adapter/

Step 1: get the ar488 pcb gerber files from user eliocor's post from this link and upload it to the jlpcb website:
https://www.eevblog.com/forum/projects/ar488-arduino-based-gpib-adapter/msg3362552/#msg3362552

Step 2: Get the Centronics Connector 57 Series 24 Pin Male (GPIB Connector), cheapest price:
https://www.aliexpress.com/item/32795413098.html?spm=a2g0o.store_pc_groupList.8148356.2.2d424321PJawwf
or https://www.aliexpress.com/item/32832215494.html?spm=a2g0o.store_pc_groupList.8148356.18.2d424321PJawwf

Step 3: Get some Arduino pro micros ATmega32U4 5V 16Mhz

Hope this helps, I created a bunch of these adapters following the above steps.

The Keithley 2015 has a serial port and uses SCPI commands, you can try the fluke 8846a compiled version I uploaded and see if that work.
 

Offline jeffjmr

  • Regular Contributor
  • *
  • Posts: 144
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #59 on: July 13, 2021, 12:22:11 am »
That looks like an interesting project that would certainly test my SMD assembly skills. Not sure I have the patience for it at this point in time, though. I know nothing about Arduino. Don’t even understand your step 3.

 Is there an off-the-shelf adapter that would work? The only PC I have is a notebook with USB 2.0.

Besides the adapter, what else do I need beside your software and my PC?

If this is not the place for newbie advice, I understand and will try to educate myself a bit more on GPIB before proceeding.

Thanks,
Jeff

« Last Edit: July 13, 2021, 12:36:47 am by jeffjmr »
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #60 on: July 13, 2021, 12:45:20 am »
If you have a Keysight 82357B, then you will need to install NI VISA software and configure the Keysight IO suite software to use NI VISA as the primary VISA software. I posted instructions about this in one of my above post.

If you have NI GPIB-USB-HS, then you only need to install NI VISA software.

You can try the VISA GPIB version of my software. If you don't have a Keysight 82357B, then I won't recommend buying one, the NI GPIB-USB-HS is much better.

Step 3 is about requiring Arduino Pro micros for the ar488 adapter, they need one to work, no SMD skills are required as its all through hole components. No one is selling these fully assembled.

Hope that helps.
 

Offline maxwell3e10

  • Frequent Contributor
  • **
  • Posts: 869
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #61 on: July 13, 2021, 02:00:42 am »
There is no need to make PCB boards, one can just solder wires from the connector to the Arduino. https://www.eevblog.com/forum/testgear/$5-usb-gpib-adapter-for-ezgpib/ Even though it looks a little fragile, that little adapter is still my primary GPIB interface.
 

Offline jeffjmr

  • Regular Contributor
  • *
  • Posts: 144
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #62 on: July 14, 2021, 02:02:46 pm »
OK, I will consider building the Arduino unit but I’d like to explore one more alternative.

The NI GPIB-USB-HS lists for $1200 on the NI website.  Ebay sellers show new ones at $135. Surely there is a difference. For example, the ebay units show software that is only Linux and WIN XP and 7 compatible, whereas the NI website shows WIN as well as MacOS compatibility. I would prefer to go Mac but I’m guessing this software is not MacOS compatible. But software alone can’t account for a $1065 difference!

Lastly, my PC is running WIN 10. That seems to limit all my options.

Thanks for your continued assistance.
Jeff
 

Offline DrNefario

  • Contributor
  • Posts: 23
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #63 on: September 28, 2021, 12:53:23 am »
Tonight I have been able to get an HP 3478A to have control via GPIB with an HP 82350 PCI to GPIB card using this software (HP 3478A Control and Data Logging Software by Nirvak).  I have previously had it working with the 82357 USB version.  I know the readme file says "This works with the HP82357A USB-GPIB adapter but not the 82350B PCI bus adapter." but I tried loading the latest NI and Keysight libraries and -- voila!
I am running Windows 10 64 bit 21H1 for the OS here.
First I updated the NI to version 21 with ni-visa_21.0_online update.
Next I updated my Keysight with the offline updater, Keysight_IOLibSuite2022_18_2_27313.exe
I configured both to be active with NI preferred in the Keysight VISA conflict manager and made sure to check the "enable Keysight GPIB cards for 488 ..."
I confirmmed that Connection Expert could see and talk to the 3478 - Note that the 3478 does not support *IDN? so I used the Device Clear command.  Next I used NI MAX with NI VISA interactive Control to send an 'H3" command to read 2-wire Ohms which worked OK.
Finally I ran the HP 3478A Control and Data Logging Software from https://github.com/Niravk1997/HP-3478A-Software/releases page.
It connected and runs fine.  Many Thanks for this.  Here is a screen capture with a 50 Ohm terminator connected:
« Last Edit: September 28, 2021, 01:03:50 am by DrNefario »
 
The following users thanked this post: Nx-1997

Offline Johnny10

  • Frequent Contributor
  • **
  • Posts: 899
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #64 on: September 28, 2021, 04:02:49 am »
 :-+
Tektronix TDS7104, DMM4050, HP 3561A, HP 35665, Tek 2465A, HP8903B, DSA602A, Tek 7854, 7834, HP3457A, Tek 575, 576, 577 Curve Tracers, Datron 4000, Datron 4000A, DOS4EVER uTracer, HP5335A, EIP534B 20GHz Frequency Counter, TrueTime Rubidium, Sencore LC102, Tek TG506, TG501, SG503, HP 8568B
 

Offline HighVoltage

  • Super Contributor
  • ***
  • Posts: 5453
  • Country: de
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #65 on: September 28, 2021, 07:51:56 am »

If you don't have a Keysight 82357B, then I won't recommend buying one, the NI GPIB-USB-HS is much better.

Why is the NI GPIB-USB-HS much better in your opinion?
There are 3 kinds of people in this world, those who can count and those who can not.
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #66 on: September 28, 2021, 01:38:21 pm »

If you don't have a Keysight 82357B, then I won't recommend buying one, the NI GPIB-USB-HS is much better.

Why is the NI GPIB-USB-HS much better in your opinion?

Better compatibility, more softwares will work with NI-Visa compared to Keysight Visa. For example, Python's PyVisa library depends on NI-Visa. Also, NI-Visa is much more stable compared to Keysight's software, Keysight software would randomly stop my software from communicating with my devices, no idea why.

However, in my opinion, both of them suck compared to the AR488 adapter as it does not need special drivers or software to work, its plug and play, at least on windows. Its also a lot cheaper ($8 to make one) and open source, and more stable, never had any issues with this adapter. Its biggest disadvantage is that most softwares that rely on a VISA library won't work with it. This means that the end user has to created softwares for this adapter.
 

Offline DrNefario

  • Contributor
  • Posts: 23
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #67 on: September 29, 2021, 11:47:40 pm »
I understand your fondness for the AR488.  My reason for using the HP 82350 and 82357 is that I got them for --FREE--.  :)
I was considering buying the parts for building the AR488's as I have more instruments to connect, but the command set seems to be different from the "standard" HP and NI commands.

What do you think of the xyphro adapter?  ( https://github.com/xyphro/UsbGpib ).
 It is based on the standard USBTMC protocol. This allows the GPIB test equipment to look like a normal USB based measurement device and work flawless with e.g. NI VISA, Labview, Matlab or PyVisa.
Cost is similar to build as the AR488 and is not tied to the Prologix command set.
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #68 on: September 30, 2021, 12:27:02 am »
I understand your fondness for the AR488.  My reason for using the HP 82350 and 82357 is that I got them for --FREE--.  :)
I was considering buying the parts for building the AR488's as I have more instruments to connect, but the command set seems to be different from the "standard" HP and NI commands.

What do you think of the xyphro adapter?  ( https://github.com/xyphro/UsbGpib ).
 It is based on the standard USBTMC protocol. This allows the GPIB test equipment to look like a normal USB based measurement device and work flawless with e.g. NI VISA, Labview, Matlab or PyVisa.
Cost is similar to build as the AR488 and is not tied to the Prologix command set.

Looking at the github page, the xyphro adapter seems like a pretty nice gpib adapter.  I will try to make a few of them and see how they compare against ar488 and 82357B.
 

Offline DrNefario

  • Contributor
  • Posts: 23
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #69 on: October 01, 2021, 02:42:12 pm »
That's great, glad to hear it.  I will be awaiting your evaluation.  Thanks!
 

Online iMo

  • Super Contributor
  • ***
  • Posts: 4675
  • Country: nr
  • It's important to try new things..
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #70 on: October 01, 2021, 03:11:47 pm »
 :clap:
This is what I was looking for for ages :) Congratulation!
I do not have my 34401A connected to your control program as I run some measurements now so I will do later..
In meantime let me kindly ask you following: I've been using an stm32 mcu processing and sending data off the 34401A to my smartphone via BT.
The data is a csv line with 14 numbers in each measurement.
How is your "data file" like? I want to try your Grapher with my data..
Thanks!
PS: ok, I've found an example in the zip file..
« Last Edit: October 01, 2021, 03:25:22 pm by imo »
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2899
  • Country: dk
    • Tests
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #71 on: October 01, 2021, 03:20:56 pm »
In meantime let me kindly ask you following: I've been using a stm32 mcu sending data off the 34401A to my smartphone via BT.
The data is a csv line with 14 numbers in each line/measurement.
How is your "data file" like? I want to try your Grapher with my data..

There is other software that supports the 34401 ( https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/ ). It do not support all the detail of the meter (At least not before somebody makes a definition for it), but has considerable more options for data processing and can log multiple devices at the same time, i.e. one or more meters, a power supply and a electronic load at the same time is possible.
 
The following users thanked this post: iMo

Online iMo

  • Super Contributor
  • ***
  • Posts: 4675
  • Country: nr
  • It's important to try new things..
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #72 on: October 01, 2021, 03:29:36 pm »
Unbelievable guys! So many control programs now to try!
3y back there was only the HP sw but it did not work well here..
 :-+
 

Online iMo

  • Super Contributor
  • ***
  • Posts: 4675
  • Country: nr
  • It's important to try new things..
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #73 on: October 01, 2021, 03:38:07 pm »
.. It do not support all the detail of the meter (At least not before somebody makes a definition for it), but has considerable more options for data processing and can log multiple devices at the same time, i.e. one or more meters, a power supply and a electronic load at the same time is possible.
I do in my MCU (an stm32f103 MapleMini hanging on the 34401A's rs232 and also collecting data from 2 thermometers and an RTC) a lot of math - moving averages/medians, and regression upon the data. Saving energy by logging data into a spare smartphone via bluetooth (no PC required). Then I send .csv file via mydrive. In excel I open the file and I get graphs. No need for additional processing so far.
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2899
  • Country: dk
    • Tests
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #74 on: October 01, 2021, 04:09:54 pm »
.. It do not support all the detail of the meter (At least not before somebody makes a definition for it), but has considerable more options for data processing and can log multiple devices at the same time, i.e. one or more meters, a power supply and a electronic load at the same time is possible.
I do in my MCU (an stm32f103 MapleMini hanging on the 34401A's rs232 and also collecting data from 2 thermometers and an RTC) a lot of math - moving averages/medians, and regression upon the data. Saving energy by logging data into a spare smartphone via bluetooth (no PC required). Then I send .csv file via mydrive. In excel I open the file and I get graphs. No need for additional processing so far.

You could probably do all that math in TestController, but that would require a PC (or Rasberry PI) and something to convert the thermometers into a format TC can handle (See here for examples: https://lygte-info.dk/project/TestControllerArduino2%20UK.html )
TC can do a lot of graphing, from recorded data or from any CSV file.

Note: TC has build-in conversion of PTC's, RTC and thermocouplers from a ohm/volt measurement.
« Last Edit: October 01, 2021, 04:19:07 pm by HKJ »
 
The following users thanked this post: iMo

Online iMo

  • Super Contributor
  • ***
  • Posts: 4675
  • Country: nr
  • It's important to try new things..
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #75 on: October 01, 2021, 04:26:45 pm »
You often need to collect data from sensors.. Sure, you can get a 3458A for each temperature you want to measure, but sometimes $3 solution with ~1mK resolution could be enough :)
« Last Edit: October 01, 2021, 04:29:33 pm by imo »
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2899
  • Country: dk
    • Tests
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #76 on: October 01, 2021, 04:35:52 pm »
You often need to collect data from sensors.. Sure, you can get a 3458A for each temperature you want to measure, but sometimes $3 solution with ~1mK resolution could be enough :)

A $3 solution that may take a couple of days to make.
If I need a solution for a few hours I prefer to use standard parts (This includes DIY sensors) to set it up, but when used for longer time a simple program in a microprocessor may be a much better solution.
Because I have a pile of PC's (laptops) and I need the final result on a PC, I usually use a PC for my data collection.
 

Online iMo

  • Super Contributor
  • ***
  • Posts: 4675
  • Country: nr
  • It's important to try new things..
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #77 on: October 01, 2021, 07:00:36 pm »
Grapher - works nice!
My "nice to have" suggestions:
1. the formatting of the Y axis - would be great to have constant number of decimal digits (like 10.123455, 10.123450..)
2. ppm math - like PPM (Sample - Y)/Y *1e6, or something like that..

 

Offline Silicium81

  • Regular Contributor
  • *
  • Posts: 73
  • Country: fr
    • Technical forum
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #78 on: December 19, 2021, 05:25:30 pm »
Wonderful job and thank you for sharing!  8)
This works fine on my HP3456A and an AR488 interface.
I had to activate the flow control via xon / xoff otherwise the connection failed systematically!
Electronic engineer with a passion for mechanics
https://vae-tech.forumactif.org/
 

Offline Jester

  • Frequent Contributor
  • **
  • Posts: 859
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #79 on: January 14, 2022, 01:16:17 am »
Nx-1997   Thank you for sharing.

IMO you have created a nice simple intuitive and easy to use GUI.

Within minutes I was able to have 3x 34401A's logging data with a real time graph. Exactly what I was looking for.

Question If I want to send a command to turn off the VFD display, is there a way to send a command while logging?
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #80 on: January 14, 2022, 01:48:25 am »
In the Config Tab, click the Display Tab then click the Off button. You can send any commands while logging.
 

Offline Zucca

  • Supporter
  • ****
  • Posts: 4298
  • Country: it
  • EE meid in Itali
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #81 on: January 14, 2022, 03:39:43 am »
Your animated .GIFs are awesome!  :clap:

Nice shit! Congrats.

Side questions....

Can you tell us what to you use to create the gifs?
If everybody on this forum could be a gif ninja like you....

Game changer....
Can't know what you don't love. St. Augustine
Can't love what you don't know. Zucca
 

Offline Nx-1997Topic starter

  • Regular Contributor
  • *
  • Posts: 112
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #82 on: January 14, 2022, 03:43:29 am »
Your animated .GIFs are awesome!  :clap:

Nice shit! Congrats.

Side questions....

Can you tell us what to you use to create the gifs?
If everybody on this forum could be a gif ninja like you....

Game changer....

https://github.com/NickeManarin/ScreenToGif
 
The following users thanked this post: Kean

Offline Jester

  • Frequent Contributor
  • **
  • Posts: 859
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #83 on: January 15, 2022, 10:15:36 pm »
Nx-1997,
I really like your program, It works perfectly on my Win7-64 machine. I'm now trying to get it working on a Win10-32 tablet and have a hiccup. My guess is that I'm missing some aspect of the NI-VISA let me explain.

When I installed NI-VISA on my 64 bit machine, I installed the latest version 21.0 and NI installer offered about 10 optional (not sure if they were applications or drivers), they were all ticked by default so I just let it install everything. It took a while. this version works.

When I tried installing version 21.0 on my 32bit flavor of Win10 on the tablet, Windows complained that the installer requires at minimum a 64 bit version of Win10. So I instead installed NI-VISA version 20.0 and this time I unchecked all the extras (I probably should not have done that). I proceeded as before however two issues were obvious:
1) In the Conflict manager I don't see National Instruments VISA.NET Resource manager under VISA.NET
2) I was also missing NI-VISA Interactive control application, (this was likely one of the ticked applications that I un-ticked) I added this after the fact, ran it and it now acts like before, recognizing the 3 connected devices, however  most likely I'm still missing something else and when I try to connect using your application I get a Windows error, see below.  I'm going to try to uninstall NI-VISA and then reinstall with all the "optional" tick boxes ticked and see what happens.

Well I tried installing all the optional add-ons, and same thing, so I'm guessing this might be a 32bit vs. 64bit compatibility issue?

UPDATE:
The program is fine, the problem was Win 10 updates!

I tried a few things nothing helped and then I tried a full Windows update and it started working.

« Last Edit: January 17, 2022, 02:05:52 pm by Jester »
 

Offline ipqobk

  • Contributor
  • Posts: 11
  • Country: it
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #84 on: February 07, 2022, 12:39:08 pm »
Hi Nx-1997
I wanted to thank you for making the programs available. They work perfectly on my laptop with Win10 enterprise 64bit.
I connected my HP3456A and HP3457A with AR488 (GPIB to USB ver 0.51.03_19.01.2022) interfaces to usb on
Raspberry PI4 (4GBram), Raspbian GNU/Linux v.11 (bullseye) 5.10.92-v7l+ #1514, RealVNC server 6.7.4.
In the system runs ser2net (4.3.3-1) which allows to access virtual serial ports on different IP
ports (two AR488, one Korenix JetCon 1104 with four RS232 to usb converter, one Prologix converter), also on raspberry
a Agilent 82357B and BME280/SMBus, one rs232 port interfaces the gpsdo trimbolt for remote data to Lady Heather's (thank to KE5FX). 

On a Pc/win your programs see the instruments on the virtual serials made available by Perle TruePort v6.9.

I connect them from a remote site via vpn,and everything is working fine with an excellent GUI.  :-+

As soon as I have some time I try to try the software also through Visa GPIB.


 
The following users thanked this post: Nx-1997, hoangtran

Offline maxwell3e10

  • Frequent Contributor
  • **
  • Posts: 869
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #85 on: May 01, 2022, 04:18:20 pm »
Thanks again for making this software, it's always a pleasure to use! I used the math function to generate some scaled data. This made me think that next time you are playing with it, it might be easy to add a mathematical equation to derive temperature from an RTD, thermistor or a thermocouple. You could add a general equation for each type of temperature sensor and let people program the constants or maybe have some standard constants pre-programmed.
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2899
  • Country: dk
    • Tests
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #86 on: May 01, 2022, 04:33:13 pm »
Thanks again for making this software, it's always a pleasure to use! I used the math function to generate some scaled data. This made me think that next time you are playing with it, it might be easy to add a mathematical equation to derive temperature from an RTD, thermistor or a thermocouple. You could add a general equation for each type of temperature sensor and let people program the constants or maybe have some standard constants pre-programmed.

With 34401 & 3478 you can use TestController, it supports this.
 

Offline xwarp

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: us
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #87 on: July 02, 2022, 04:06:30 pm »
So I decided to try out this software with a laptop my friend gave me. It's running windows 10. After getting a serial to usb cable from amazon, and then having to DIY a null modem connector, the meter and the software without an issue.

I did make sure to get a serial to usb cable with a Prolific PL2303 chip.

Pretty impressed with this. Would love to find something that I can use with my HP 8591E spec/an.

One question I have though is about the "speech" function. Is it not working, or, do you need something special outside of windows audio to hear it?
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5795
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #88 on: October 22, 2022, 01:06:41 pm »
Hi  i've seen you 34401a control software

Since i'm a github noob for coding,  it was compiled on witch platform,  visual basic,  Dot Net  ???

Just acquired an L4411A  and want to do the same,  but  for now it talk with  with agilent DMM_Connectivity_Utility_1.0.2.0.exe and the connection is done thru usb

(gonna have to buld an AR488)

With Keysight i/o librairies, i think i have all the  scpi commands in to some files

thks
 

Offline sairfan1

  • Frequent Contributor
  • **
  • Posts: 348
  • Country: ca
Re: HP 34401A 3457A 3456A 3478A Standalone Software
« Reply #89 on: May 02, 2023, 03:36:06 pm »
Thanks a lot for sharing such an amazing project.
I was trying to connect with my HP3457A but not getting any response, but when i check GPIB version using ++ver I get

Fenrir GPIB-USB 1.0 (Prologix version 6.0 Compatible)
 
On my DMM 3457A address is set to 22 but I want to know, how do I figure out baud rate, or troubleshoot the connection.
« Last Edit: May 02, 2023, 03:55:29 pm by sairfan1 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf