Hi,
I have recently upgraded our PC to Windows 7 and have found that a previous COM programming is not performing the correct function as it did in the past. I ma experiencing this on 5242B,5242A PNA-Xs with Windows XP / Windows 7 OSes.
Using the Agilent835x library, the following code
"fixture.set_PortMatchingCktModel(1, AgilentPNA835x.NAFixturingPortMatchCkt.naFixPMC_USER)"
Does not set port 1 (or 2 if I change that to a 2) to use a user defined S2P file. It actually sets it to use circuit model.
Has anyone else ran into this?
This behavior is a symptom of an issue where the registration of the proxy/stub & typelibrary are mismatched between the client PC and the server (PNA).
You should be able to fix it by reinstalling the PNA firmware and also reinstalling the PNAProxy on your client machine. If that doesn't work, then let us know what your version # is, so we can investigate the issue.
If your client program is a 64bit program, then you should also make sure to run the PNAProxy64.exe - (which sets up both the 32bit and 64bit PNAProxy).