09-07-2007 03:15 PM
09-07-2007 08:29 PM
09-10-2007 08:30 AM
Good point, I never thought of that. Your suggestion didn't fix the original problem but it may have prevented future ones. Thanks.
Doug
09-13-2007 10:46 AM
Found it!
The versions of the 89601 software didn't match. I had V7.01 on my pc and 6.31 on the test equipment. I Up'd everything to V7.20 and it now seems to work.
Doug
09-13-2007 10:41 PM
@doug wrote:
Found it!
The versions of the 89601 software didn't match. I had V7.01 on my pc and 6.31 on the test equipment. I Up'd everything to V7.20 and it now seems to work.
Doug
12-14-2007 05:57 PM
12-17-2007 10:05 AM
Hi Wayne07,
I think what you're looking for are the AgtVsaVector properties and methods. The first thing you have to do is install the Agilent 89601 VSA software on your local pc and on the spectrum analyzer. I used version 7.20. As noted earlier, 6.x didn't play well. When you install the 89601 software on your pc, DO NOT install the Agilent IO libraries. Doing so will trash your GPIB setup because Agilent an NI used the same filename for one of the .dll's. The control I used to get to the application is just an Automation Refnum control. On the front panel: Modern/Ref Num/Automation Refnum, then rightclick on it and choose "Select Activex Class... Browse... Select "Agilent 89600 Vector Signal Analyzer Version 7.20...." in the drop down box, then select "_Application" in the table. Connect this to an Automation Open vi. You can leave the machine name unwired. Dcom will pick up the computer name to connect to through Component Services.
In the folder where the VSA software installed on your pc, there is a subfolder named "dcom". On my pc, the path is "C:\Program Files\Agilent\89600 VSA\dcom". In that folder, there is a Readme.txt file. Follow the instructions in there to set up dcom communications. The analyzer name is the computer name of the spectrum analyzer. If its an MXA, then its probably A-N9020A-(last 5 digits of serial number). You can also find this under "Show", "System" on the spectrum analyzer.
Once you've run setup.bat, you can then run testconnect.bat anytime to test the connection. All setup.bat does is set default settings in Component Services. You can do this manually through Component Services. Once that's done, it tries to launch the VSA software. Play around with the permissions until testconnect.bat is able to launch the vsa software. I gave the users I created on the vsa Full Access and things worked fine.
Couple of notes:
Let me know if this helps.
Good Luck,
Doug
12-17-2007 06:34 PM
12-21-2007 09:21 AM
01-13-2008 02:11 AM