Products > Test Equipment

Has anybody enabled Tracking Gen on Agilent N9340B?

<< < (12/16) > >>

1design:

--- Quote from: tv84 on August 20, 2020, 06:58:29 pm ---Agilent N9340B license generator

For all owners of this Agilent HSA, here is a quick vacation gift (created in less than 1 hour between some pool dives  :popcorn:).

The code is C# but should be totally self-explanatory.


--- Code: ---        private static void calc_Agilent_N9340B(string hostID)
        {
            string[] option = { "PA3", "TG3", "SO3", "DMA", "AMA", "DFS", "KLS", "IBC", "IBF",
                                "INM", "XDM", "BAS", "PAK", "SEM", "SPT", "PWM", "MKT", "U01" };
           
            if (hostID.Length != 8)
                Console.WriteLine("Error in hostID length!");

            for (int m = 0; m < option.Length; m++)
            {
                byte[] hash = MD5.Create().ComputeHash(Encoding.ASCII.GetBytes(hostID + option[m]));

                Console.Write("{0,-2}   {1}   ", m, option[m]);
                for (int i = 0; i < hash.Length; i++)
                {
                    byte c = 0;
                    for (int j = 0; j < 8; j++)
                        c += (byte)(hash[i] ^ hostID[j]);

                    c = (byte)(c % 36 + 48);
                    if (c > 57)
                        c += 7;
                    Console.Write(Convert.ToChar(c));
                }
                Console.WriteLine();
            }
        }
--- End code ---

--- End quote ---

Is there any way of getting this in Python? I am a HW kind of guy and translating from C# into something I can run locally is sadly above my head..

tv84:

--- Quote from: 1design on August 25, 2020, 04:58:56 pm ---Is there any way of getting this in Python? I am a HW kind of guy and translating from C# into something I can run locally is sadly above my head..

--- End quote ---

Sorry, I hate python. Maybe someone can do that for you.

ytterligare:
Hello, I resume this topic because I was able, thanks to the hard work of a lot of people here, to "supercharge" my 2nd hand N9340B.... :-+ ( especially with the help of the diving man  8) )

Anyhow, I was wondering, among the "dangerous" undocumented options not to be touched, if the following :

DFS   Diagnostics
SO3   Source

could be "less" dangerous to try.


The first was described by abyrvalg as "some diagnostic option, it can be enabled by entering a fixed option code 44448888" ( this last sentence is not really clear to me : where should we enter the "option code" ? After enabling the option ?)

The second, in my idea, could, I say COULD, enable the option of letting the SA act also as a basic RF Generator, something already seen on other more recent SAs

Any thought ?

Andrea

nexus:
Hi all,

I just picked up a gov. surplus auction n9344c in unknown condition (still on its way in the mail).

Very interesting read here; hopefully if this analyzer works I can get some options installed. It doesn't have the TG hardware but the preamp would be great for EMI probing since the analyzer can tune down to 9khz.

What I'm gathering is that option enabling can be done in a serial terminal (RS232) right under the batt door. Is pic attached the right connector? Also, does anyone have info on the connector type/pinout and baud/parity for connecting a usb 232 uart?

Looking forward to some hacking!

Mallocated:
I bought myself a N9340B, noticed a similar debug connector and then spent months debugging and dumping decompiled code using the VXWorks console and all the wrong type of decompiling tools.  Eventually I found that all the correct licence codes were output via the console as a debug message whenever you entered any correct or incorrect licence via the instrument.   Too easy.  THEN this post popped up and people who knew what they were doing had it cracked within a few days in between dips in the pool!

I've now got a N9342C, and unfortunately I don't think the SCPI method in this post works - tried it once.  I found a way using the VXWorks console, adding breakpoints and dumping memory locations. 

To get started, see attached, and this;

https://nz.rs-online.com/web/p/wire-to-board-cable-assemblies/1617531/

And you'll need this;
cid
cid123456

And you'll hopefully see the attached bootup sequence and login.  Baud rate I think was either 19200 or 57600.
Baud rate is 115200.


Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod