HP 34401A 3457A 3456A 3478A Standalone Software - Page 1
Forum section: electronics / testgear

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 12, 2021, 08:17:33 pm
content: 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-SoftwareDownload:https://github.com/Niravk1997/HP-Agilent-Keysight-34401A-Control-and-Data-Logging-Software/releasesHP 3457A (AR488 Arduino GPIB)GitHub Link:https://github.com/Niravk1997/HP-3457A-SoftwareDownload:https://github.com/Niravk1997/HP-3457A-Software/releasesHP 3456A (AR488 Arduino GPIB)GitHub Link:https://github.com/Niravk1997/HP-3456A-SoftwareDownload:https://github.com/Niravk1997/HP-3456A-Software/releasesHP 3478A (AR488 Arduino GPIB)GitHub Link:https://github.com/Niravk1997/HP-3478A-SoftwareDownload:https://github.com/Niravk1997/HP-3478A-Software/releasesHP Data Log Graphing UtilityGitHub Link:https://github.com/Niravk1997/HP-Data-Log-Graphing-UtilityDownload:https://github.com/Niravk1997/HP-Data-Log-Graphing-Utility/releasesHP 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:

author: bdunham7
author_rank: Super Contributor
timestamp: June 12, 2021, 08:25:25 pm
content: Very nice!

author: joeqsmith
author_rank: Super Contributor
timestamp: June 12, 2021, 10:21:25 pm
content: Nice looking interface.

author: tv84
author_rank: Super Contributor
timestamp: June 13, 2021, 08:45:51 am
content: Awesome job!

author: HighVoltage
author_rank: Super Contributor
timestamp: June 13, 2021, 10:00:51 am
content: Looks very good, I will give it a try

author: blackdog
author_rank: Frequent Contributor
timestamp: June 14, 2021, 07:01:39 pm
content: 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. :-)1eIn the graphics module, the bottoms of the letters of the menu are cut off.2eThe 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.3eI am also missing another feature and that is the "Null" button.4eOn my 34461A and 34465A multimeters I often use this Null button and set the scale to e.g. 1PPM/DivIs 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

author: coromonadalix
author_rank: Super Contributor
timestamp: June 14, 2021, 07:11:40 pm
content: for the donglesPlease check the vid pid to know what chipset is in there, some pl2303 chipset are not supported in win10If 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

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 14, 2021, 08:29:11 pm
content: 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/508542473e/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.

author: blackdog
author_rank: Frequent Contributor
timestamp: June 14, 2021, 09:37:04 pm
content: 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

author: blackdog
author_rank: Frequent Contributor
timestamp: June 15, 2021, 06:07:40 am
content: 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)MiscAnd 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

author: mc172
author_rank: Frequent Contributor
timestamp: June 15, 2021, 01:12:08 pm
content: Very nice, thanks!

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 15, 2021, 01:16:02 pm
content: Hi, blackdogThanks 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.

author: beanflying
author_rank: Super Contributor
timestamp: June 15, 2021, 02:40:39 pm
content: Look forward to having a playtomorrowafter some sleepI have been using the Agilent/Keysight software herehttps://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.

author: HKJ
author_rank: Super Contributor
timestamp: June 15, 2021, 03:15:06 pm
content: Another option for software is TestControllerhttps://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/It can log and control more than one device at a time.

author: Frex
author_rank: Regular Contributor
timestamp: June 15, 2021, 04:57:38 pm
content: 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 muchfaster data-logging rate.Best regards.Frex

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 15, 2021, 05:21:11 pm
content: Hi, FrexGPIB 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/AR488I also have a Agilent 82357B adapter but I have no plans to support it for now.

author: Frex
author_rank: Regular Contributor
timestamp: June 15, 2021, 05:48:14 pm
content: Ok, thank you.I have an unused Arduino board available,that would be a good manner to use it .Frex

author: hugo
author_rank: Regular Contributor
timestamp: June 15, 2021, 11:26:07 pm
content: 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

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 15, 2021, 11:41:50 pm
content: Hi, HugoCurrently 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.

author: beanflying
author_rank: Super Contributor
timestamp: June 16, 2021, 03:26:29 am
content: Downloaded, tweaked some parity settings and hooked right upOn 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 alreadyLots on nice features I haven't got to but being able to switch the display on or off is

author: blackdog
author_rank: Frequent Contributor
timestamp: June 16, 2021, 08:30:10 am
content: 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.Kind regards,Bram

author: HighVoltage
author_rank: Super Contributor
timestamp: June 16, 2021, 10:33:07 am
content: 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.

author: beanflying
author_rank: Super Contributor
timestamp: June 16, 2021, 10:45:28 am
content: Quote from: HighVoltage on June 16, 2021, 10:33:07 amI was running mine on 7 bits and Even parity on the 34401A if it helps same settings on the software.

author: mnementh
author_rank: Super Contributor
timestamp: June 16, 2021, 01:35:37 pm
content: Quote from: blackdog on June 16, 2021, 08:30:10 amWe all know that feeling all too well.mnem

author: blackdog
author_rank: Frequent Contributor
timestamp: June 16, 2021, 01:51:38 pm
content: 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-1997I 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

author: mnementh
author_rank: Super Contributor
timestamp: June 16, 2021, 03:08:55 pm
content: Quote from: Nx-1997 on June 15, 2021, 05:21:11 pmGood work!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

author: blackdog
author_rank: Frequent Contributor
timestamp: June 16, 2021, 06:20:46 pm
content: 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

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 16, 2021, 06:30:37 pm
content: 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-UtilityDownload link:https://github.com/Niravk1997/HP-Data-Log-Graphing-Utility/releasesAlso, 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.

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 21, 2021, 07:03:04 am
content: 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.

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 21, 2021, 07:04:20 am
content: 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.

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 21, 2021, 07:08:16 am
content: 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/IviVisaNetSampleFor 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 bydouble 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-SoftwareDownload Link:https://github.com/Niravk1997/HP-Agilent-Keysight-34401A-Control-and-Data-Logging-Software/releasesIf 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.

author: jusaca
author_rank: Unknown
timestamp: June 21, 2021, 06:55:37 pm
content: Wow dear god you are active in developmentI 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

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 21, 2021, 07:02:17 pm
content: 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.

author: blackdog
author_rank: Frequent Contributor
timestamp: June 21, 2021, 07:40:55 pm
content: 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

author: hugo
author_rank: Regular Contributor
timestamp: June 22, 2021, 01:13:22 am
content: It is getting better and better ... thanks.On the main display panel the "Range" should be "Function" right?

author: tomeo.gonzales
author_rank: Regular Contributor
timestamp: June 25, 2021, 09:32:27 pm
content: 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.

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 25, 2021, 10:53:25 pm
content: Hi, tomeo.gonzalesThese 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

author: tomeo.gonzales
author_rank: Regular Contributor
timestamp: June 25, 2021, 11:38:06 pm
content: 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 )

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 25, 2021, 11:53:40 pm
content: The Display ON OFF is already included. You can find it in the config tab.

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 26, 2021, 04:52:20 am
content: 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 ControlsLeft Click: PanRight Click Hold: ZoomMiddle Click Hold: Rectangular Zoom RegionMiddle Click: Auto Axis OnceAlt + Left Click Hold: Rectangular Zoom RegionScroll Wheel: Zoom to cursorRight Click: Save/Copy Image MenuCtrl + Left Click Hold: Pan HorizontallyShift+ Left Click Hold: Pan VerticallyCtrl + Right Click Hold: Zoom HorizontallyShift + Right Click Hold: Zoom Vertically

author: tv84
author_rank: Super Contributor
timestamp: June 26, 2021, 08:12:47 am
content: Your animated .GIFs are awesome!

author: tomeo.gonzales
author_rank: Regular Contributor
timestamp: June 26, 2021, 09:13:37 am
content: You are amazing.I must explore deeper your programThank you

author: Miti
author_rank: Super Contributor
timestamp: June 27, 2021, 01:15:55 pm
content: @Nx-1997I 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.

author: Nx-1997
author_rank: Regular Contributor
timestamp: June 27, 2021, 05:45:53 pm
content: Hi, MitiThanks 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.

author: HKJ
author_rank: Super Contributor
timestamp: June 27, 2021, 06:45:06 pm
content: For the Fluke 8846A TestControllerhttps://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

author: RaymondMack
author_rank: Regular Contributor
timestamp: July 05, 2021, 12:48:06 am
content: Quote from: Nx-1997 on June 27, 2021, 05:45:53 pmThe 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.

author: RaymondMack
author_rank: Regular Contributor
timestamp: July 05, 2021, 01:06:59 am
content: 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.

author: Nx-1997
author_rank: Regular Contributor
timestamp: July 05, 2021, 03:50:38 am
content: Hi, RaymondMackI 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.

author: RaymondMack
author_rank: Regular Contributor
timestamp: July 05, 2021, 04:07:15 am
content: 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.)

author: RaymondMack
author_rank: Regular Contributor
timestamp: July 05, 2021, 04:49:30 am
content: Just tried the new build from Nx-1997 and... it works!For those interested in testing the new build, it should work foranySCPI 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).

author: todorp
author_rank: Regular Contributor
timestamp: July 06, 2021, 06:24:34 am
content: 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

author: Nx-1997
author_rank: Regular Contributor
timestamp: July 06, 2021, 06:40:44 am
content: 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.

author: todorp
author_rank: Regular Contributor
timestamp: July 06, 2021, 06:59:38 am
content: Quote from: Nx-1997 on July 06, 2021, 06:40:44 amYes, 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 :-).

author: beanflying
author_rank: Super Contributor
timestamp: July 06, 2021, 07:13:13 am
content: Quote from: Nx-1997 on July 06, 2021, 06:40:44 amNot 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.

author: todorp
author_rank: Regular Contributor
timestamp: July 06, 2021, 07:16:05 am
content: @beanflying could you post your values for the other fields in the Rs232 Settings, like hardware control, etc.Thanks a lot

author: Nx-1997
author_rank: Regular Contributor
timestamp: July 06, 2021, 07:22:23 am
content: 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.

author: todorp
author_rank: Regular Contributor
timestamp: July 07, 2021, 08:35:50 am
content: 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

author: jeffjmr
author_rank: Regular Contributor
timestamp: July 12, 2021, 03:13:30 am
content: 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

author: Nx-1997
author_rank: Regular Contributor
timestamp: July 12, 2021, 05:16:30 am
content: Hi, jeffjmrThe 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/#msg3362552Step 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.2d424321PJawwforhttps://www.aliexpress.com/item/32832215494.html?spm=a2g0o.store_pc_groupList.8148356.18.2d424321PJawwfStep 3: Get some Arduino pro micros ATmega32U4 5V 16MhzHope 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.

author: jeffjmr
author_rank: Regular Contributor
timestamp: July 13, 2021, 12:22:11 am
content: 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

author: Nx-1997
author_rank: Regular Contributor
timestamp: July 13, 2021, 12:45:20 am
content: 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.

author: maxwell3e10
author_rank: Frequent Contributor
timestamp: July 13, 2021, 02:00:42 am
content: 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.

author: jeffjmr
author_rank: Regular Contributor
timestamp: July 14, 2021, 02:02:46 pm
content: 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

author: DrNefario
author_rank: Contributor
timestamp: September 28, 2021, 12:53:23 am
content: 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.exeI 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 fromhttps://github.com/Niravk1997/HP-3478A-Software/releasespage.It connected and runs fine. Many Thanks for this. Here is a screen capture with a 50 Ohm terminator connected:

author: HighVoltage
author_rank: Super Contributor
timestamp: September 28, 2021, 07:51:56 am
content: Quote from: Nx-1997 on July 13, 2021, 12:45:20 amWhy is the NI GPIB-USB-HS much better in your opinion?

author: Nx-1997
author_rank: Regular Contributor
timestamp: September 28, 2021, 01:38:21 pm
content: Quote from: HighVoltage on September 28, 2021, 07:51:56 amBetter 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.

author: DrNefario
author_rank: Contributor
timestamp: September 29, 2021, 11:47:40 pm
content: 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.

author: Nx-1997
author_rank: Regular Contributor
timestamp: September 30, 2021, 12:27:02 am
content: Quote from: DrNefario on September 29, 2021, 11:47:40 pmLooking 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.

author: DrNefario
author_rank: Contributor
timestamp: October 01, 2021, 02:42:12 pm
content: That's great, glad to hear it. I will be awaiting your evaluation. Thanks!

author: iMo
author_rank: Super Contributor
timestamp: October 01, 2021, 03:11:47 pm
content: This is what I was looking for for agesCongratulation!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..

author: HKJ
author_rank: Super Contributor
timestamp: October 01, 2021, 03:20:56 pm
content: Quote from: imo on October 01, 2021, 03:11:47 pmThere 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.

author: iMo
author_rank: Super Contributor
timestamp: October 01, 2021, 03:29:36 pm
content: Unbelievable guys! So many control programs now to try!3y back there was only the HP sw but it did not work well here..

author: iMo
author_rank: Super Contributor
timestamp: October 01, 2021, 03:38:07 pm
content: Quote from: HKJ on October 01, 2021, 03:20:56 pmI 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.

author: HKJ
author_rank: Super Contributor
timestamp: October 01, 2021, 04:09:54 pm
content: Quote from: imo on October 01, 2021, 03:38:07 pmYou 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.

author: iMo
author_rank: Super Contributor
timestamp: October 01, 2021, 04:26:45 pm
content: 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

author: HKJ
author_rank: Super Contributor
timestamp: October 01, 2021, 04:35:52 pm
content: Quote from: imo on October 01, 2021, 04:26:45 pmA $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.

author: iMo
author_rank: Super Contributor
timestamp: October 01, 2021, 07:00:36 pm
content: 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..

author: Silicium81
author_rank: Regular Contributor
timestamp: December 19, 2021, 05:25:30 pm
content: Wonderful job and thank you for sharing!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!

author: Jester
author_rank: Frequent Contributor
timestamp: January 14, 2022, 01:16:17 am
content: 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.QuestionIf I want to send a command to turn off the VFD display, is there a way to send a command while logging?

author: Nx-1997
author_rank: Regular Contributor
timestamp: January 14, 2022, 01:48:25 am
content: In the Config Tab, click the Display Tab then click the Off button. You can send any commands while logging.

author: Zucca
author_rank: Unknown
timestamp: January 14, 2022, 03:39:43 am
content: Quote from: tv84 on June 26, 2021, 08:12:47 amNice 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....

author: Nx-1997
author_rank: Regular Contributor
timestamp: January 14, 2022, 03:43:29 am
content: Quote from: Zucca on January 14, 2022, 03:39:43 amhttps://github.com/NickeManarin/ScreenToGif

author: Jester
author_rank: Frequent Contributor
timestamp: January 15, 2022, 10:15:36 pm
content: 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.NET2) 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.

author: ipqobk
author_rank: Contributor
timestamp: February 07, 2022, 12:39:08 pm
content: Hi Nx-1997I 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 onRaspberry 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 IPports (two AR488, one Korenix JetCon 1104 with four RS232 to usb converter, one Prologix converter), also on raspberrya 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.

author: maxwell3e10
author_rank: Frequent Contributor
timestamp: May 01, 2022, 04:18:20 pm
content: 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.

author: HKJ
author_rank: Super Contributor
timestamp: May 01, 2022, 04:33:13 pm
content: Quote from: maxwell3e10 on May 01, 2022, 04:18:20 pmWith 34401 & 3478 you can use TestController, it supports this.

author: xwarp
author_rank: Frequent Contributor
timestamp: July 02, 2022, 04:06:30 pm
content: 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?

author: coromonadalix
author_rank: Super Contributor
timestamp: October 22, 2022, 01:06:41 pm
content: Hi i've seen you 34401a control softwareSince i'm a github noob for coding, it was compiled on witch platform, visual basic, Dot NetJust 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 filesthks

author: sairfan1
author_rank: Frequent Contributor
timestamp: May 02, 2023, 03:36:06 pm
content: 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 getFenrir 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.

author: dmderev
author_rank: Contributor
timestamp: October 06, 2024, 06:44:19 am
content: Hello, looks like a great program. One feature that would be nice to have - a trigger for capturing reading in the table. My use case is sorting some resistors manually, and I need to connect the probes, wait for readings to settle, and then record the result (one reading or maybe an average of few samples) into a table. Then select another part, connect it and repeat the process. The keyboard press or mouse button would be best to serve as a trigger. I am envisioning to build a pedal from old mouse so that it can be operating hands-free.Does such feature exist or can it be added?Thanks a lot!

author: bigboss59
author_rank: Contributor
timestamp: May 30, 2025, 05:33:25 pm
content: Thanks for the work !I guess the project is abandonned however I was wondering if this app would work on a HP34420A ?

author: Psychonaut
author_rank: Newbie
timestamp: July 10, 2025, 12:47:53 pm
content: Quote from: Nx-1997 on June 12, 2021, 08:17:33 pmHi! Thanks for the great software!Today I built AR488 GPIB Controller for HP 34401A, tested it on Windows 10 and it works great!