05-03-2013 04:26 PM
Hi, I've been working with 89600 Vector Signal Analyzer 11.20 1.18 but trying to switch to a new setup with agtvsavector 1.19 I find that I get a Error 3005 when trying to intialize the agtvsaagilent._Application. The old agtvsaaglient reference does work, when copied from the old computer except some of the commands no longer work. Does anyone have a VI with a working openable reference of the agtvsavector 1.19?
Thanks,
Ben
05-06-2013 05:35 PM
Hi aabd,
Iit is a bit hard to determine where your problems is from the information you have provided. It might be more helpful to provide the code that you are using to communicate to your signal analyzer. Also, if your code is inoperable when copied, it might be worth while to build it again from scratch. I hope this helps!
Regards,
05-07-2013 02:26 PM
Hi Michelle,
My problem is that I can't build my code from scratch because I can't find a ActiveX class that will work on the new setup. In fact much of the old code from the 1.18 version, when copy and pasted, works just some of the commands don't. I was just hoping someone had a VI with 1.19 that worked so that I could copy over the agtvsavector.application reference which I think might work as the examples Aglient provided, at least for Excel worked.
Thanks.
05-08-2013 01:13 PM
Hi aabd,
Where did you originally obtain these VIs from? I did a quick search on the internet and I can't find anything by the name of agtvsavector 1.19 or 1.18. Again, it might be helpful if you post the code that you are working with. I have also attached some information on the 3005 error. It might be more helpful if you told me exactly what portion of the code is throwing this error.
http://digital.ni.com/public.nsf/allkb/EA04139737569C078625752E00645518?OpenDocument - Error 3005 at Automation Open with ActiveX in LabVIEW
http://digital.ni.com/public.nsf/allkb/3DDBA17C4EAB7B4B86256B6000641DDA - Error 3005 with the LabVIEW Report Generation Toolkit for microsoft Office
Regards,
05-08-2013 02:36 PM
Hi Michelle,
I wrote the VIs myself, the agivsavectors come with the Agilent 89600 software. Attached find 2 example VIs, the 1.18 version with the reference copied from a computer with a older version of the 89600 software installed works, changing the title of a 89600 window to y, while the 1.19 version from the PC both vis were tested on throws a 3005 Error at Automation Open.
Thanks.
05-08-2013 02:37 PM
FYI I am running Labview 7.1
05-08-2013 02:49 PM
You probably need to re-browse to the ActiveX dll for version 1.19
05-08-2013 03:07 PM - edited 05-08-2013 03:28 PM
The way I get the 1.19 version is by selecting it from Select ActiveX Class->Browse... by right clicking on the Automation Open thing. I just can't find a class that will open. Or did you mean something else?
EDIT:
I've also tried browsing into the 89600 folder and finding a file that opens up exactly like the 1.19 thing. If thats what you meant.
02-24-2015 06:16 PM
Hi Michelle,
I'm almost in the same situation:
*Before, I'm using Agilent 89601A VSA running on Window XP PC with Labview 8.2, I don't have any problem open the Active X,
AgtVsaVector.Application--->Automation Open.
*Now, I switched to Agilent 89601B VSA running on Window 7 with Labview 2011, I cannot open the application. Below is the message:
Error -2147221164 occurred at Class not registered
in 89601A VSA Application Band Power Measurement.vi
This error code is undefined. Undefined errors might occur for a number of reasons. For example, no one has provided a description for the code, or you might have wired a number that is not an error code to the error code input.
Additionally, undefined error codes might occur because the error relates to a third-party object, such as the operating system or ActiveX. For these third-party errors, you might be able to obtain a description of the error by searching the Web for the error code (-2147221164) or for its hexadecimal representation (0x80040154).
Please help.
Thanks
Phong
02-25-2015 12:50 PM
Hi Phong,
I found a few resources that seem similar to the error you are seeing. I think the problem is that ActiveX is not properly registered with Windows. Please read through the links below, they should help indicate how to resolve the error.
How Do I Register ActiveX Controls, ActiveX Servers, and Type Libraries?: http://digital.ni.com/public.nsf/websearch/4F811A9B23F1D46E862566F700615B7A?OpenDocument
Why Do I Get Error -2147221164 Occured at Class Not Registered in New Report.vi?: http://digital.ni.com/public.nsf/allkb/9ACB175F6DE483AE86256B2200776B8B?OpenDocument
Error -2147024894 when trying to use ActiveX Automation Open: http://forums.ni.com/t5/LabVIEW/Error-2147024894-when-trying-to-use-ActiveX-Automation-Open/m-p/3981...
Also, the NI Community User Guidelines encourage posting questions like this to a new thread, rather than to a thread that has been inactive for a long time. This helps to make sure that new posts are more visible and can be helped most efficiently by our community. You can read more about our community guidelines here.