Need Diagnostic test VBA macros from Agilent E5062A VNA - Page 1
Forum section: electronics / testgear

author: analogRF
author_rank: Super Contributor
timestamp: March 12, 2021, 11:24:35 am
content: My Agilent E5062A which I bought recently and repaired (non booting issue) has started acting up andevery once in a while throws out a PLL unlock error. One time it failed the power on self test with the error: A1 module could not be found!?A1 is the source module.I need to run the diagnostic test routines which are pretty comprehensive however they do not exist on my VNAAccording to the service manual, they are located inD:\Agilent\Servicedirectory but on my unit that directory is emptyexcept for a text file.Can someone with a E506xA and perhaps even E506xB VNA send me those VBA macros please?

author: analogRF
author_rank: Super Contributor
timestamp: March 12, 2021, 10:44:26 pm
content: does anyone have access to one of these ENA analyzers? I have looked everywhere but I cannot find those VBA files that do the self diagnostics.Looked into the firmware cabs and it is not there either

author: DaJMasta
author_rank: Super Contributor
timestamp: March 12, 2021, 11:57:14 pm
content: Not the same model, but the tests may work for you. Found I had an image of the drive stored on my main computer after putting in my smallest, oldest USB stick and having the VNA need drivers because it runs 98 non-SEThe contents of the Service folder from an E5071A.

author: analogRF
author_rank: Super Contributor
timestamp: March 13, 2021, 12:21:27 am
content: Quote from: DaJMasta on March 12, 2021, 11:57:14 pmThank you, I appreciate your help. Unfortunately it didn't work. The macros give error and they dont run.There must be a "DiagnosticTest.VBA" in that directory.

author: DaJMasta
author_rank: Super Contributor
timestamp: March 13, 2021, 12:33:04 am
content: Interesting. Must be a version/OS difference, I searched through the image of all four partitions on the physical disk and found nothing with the title "diagnostic" anything, but I've been able to run the diagnostics from the main analyzer interface.

author: analogRF
author_rank: Super Contributor
timestamp: March 13, 2021, 01:30:45 am
content: Quote from: DaJMasta on March 13, 2021, 12:33:04 amyes, the VBA macros written for these ENA analyzers seem to be very specific to the instrument. I had tried other macros that I had foundon the internet for some measurement stuff and none of them worked except the one that was written for E506xA

author: analogRF
author_rank: Super Contributor
timestamp: March 13, 2021, 01:48:00 pm
content: I think the self test tools from E5061B will also work if anyone has access to one of these.Judging by the service manuals, the filename and all screenshots look identical to those of the E5062A soperhaps they can work.your help is highly appreciated.

author: analogRF
author_rank: Super Contributor
timestamp: March 13, 2021, 04:12:03 pm
content: Quote from: VRCW on March 13, 2021, 03:13:08 pmThis is fantasticThank you so much Marcel, really appreciate itwell so far all tests pass with no problemit has not thrown out that error today after several hours of use, so I'll see when and if it happens

author: analogRF
author_rank: Super Contributor
timestamp: March 13, 2021, 08:06:50 pm
content: Quote from: VRCW on March 13, 2021, 07:57:19 pmI will. It is still going with no errors. I have run those tests multiple times, too, and all passstill those couple of times that it threw out errors a in the past couple of days bother me a bitbut nothing after that. I have checked the noise/ripple on the voltages on A1 that are accessibleat the bottom and they all look fine.I actually replaced my HDD with SD card+adapter. At the end of the day since there is only IDE interfacethere is not so much to gain. I also upgraded to Pentium III 1GHz/133MHz/256kb instead of the original Celeron 566MHz/66MHz/128kband also doubled the RAM to 512MB because i had one laying around.The original HDD boots and works fine with no problem but I was not able at all to make an image of it (sector by sector copy)I tried at least 4-5 softwares both in linux and windows and always stopped copying at a certain point and started grinding the headnever moving forward...so there was some kind of error on the HDD but apparently it was on a white/unused space I suppose...anyways, in the end I used DiskGenius and just made a clone on the fly on to the SD card and didnt use sector by sector copy optionand it worked fineof course now I am able to make an image of the new SD card.