LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Activex question in labview

Hello,

 

I am trying to controll an 8753ES with the agilent intulink through labview using activex.  I have read about activex in labview, and and help file for intulink, which says:

 

 

In order to use the Agilent IntuiLink VNA Automation Server, a Visual Basic program must reference two servers.  Under the Visual Basic Project | References… menu item, include the following two references:

 

· BLXL Servers:  Check the box for  Agilent IntuLink Servers Common Interfaces.  As the description suggests, this library contains definitions of common interfaces.  In particular, this library defines some enumerated types, used by Agilent IntuiLink Automation Servers.

 

· AgtServer8714:  Check the box for Agilent VNA Network Analyzer Automation Server.  This library contains definitions specific to the supported network analyzer products.

Object Hierarchy

 

 

 

 

 

AgtServer8714 Object

Provides methods to obtain data, obtain graphics, save and restore calibration and state, and to establish and close a connection to a network analyzer.

 

AgtMeasure8714 Object

Provides methods to obtain scalar parameters from the network analyzer.  Most of these are setup parameters.

 

AgtUtilities8714 Object

Use the AgtUtilities8714 Object to:

· Work with the network analyzer connection to the PC.

· Work with the network analyzer descriptions and identity.

 

 

Now, I have constructed what I think is the correct implementation in labview (see atachment), but when I run it I get an error that makes it seem like an i/o refernce is not included:

 

Exception occured in AgtServer8714.AgtServer8714.1: CAgtServer8714::Connect method failed. CAgtCore8714::Connect method failed. CAgtConnectObject::CreateIO method failed. in vna_activex.vi

 

What I really want to know is, how do the references that are required for a program in vb work in labview?  I looked up a vb sample for intulink, and they include four references:

 

Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\WINNT\System32\STDOLE2.TLB#OLE Automation

Reference=*\G{06EB23A2-C6C1-8714-98B5-080009C12B46}#1.0#0#..\..\..\..\..\..\Program Files\Agilent\IntuiLink\VNA\AgtServer8714.dll#AgtServer8714Lib

Reference=*\G{D753C10E-EF9A-11D3-98B9-080009C12B46}#1.0#0#..\..\..\..\..\..\Program Files\Common Files\Agilent\IntuiLink\BLXLServers.dll#Agilent IntuiLink Servers Common Interfaces

Reference=*\G{6B263850-900B-11D0-9484-00A0C91110ED}#1.0#0#..\..\..\..\..\..\WINNT\System32\msstdfmt.dll#Microsoft Data Formatting Object Library 6.0 (SP4)

 

It seems like in labview, there is nothing else that is reading the reference when I do an automation open.  Any help at all is welcome.  Also, if you know of any labview examples that use intulink, that would be great.

 

Thanks,

 

Eric

 

0 Kudos
Message 1 of 3
(2,344 Views)

Is there some reason you need to use Agilent's Intuilink?


I would just use LabVIEW and NI-VISA and use SCPI commands.

 

 

0 Kudos
Message 2 of 3
(2,332 Views)

Here is a link to the Agilent8753ES instrument drivers from www.ni.com/idnet:

 

http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=1625

 

 

Brian

Brian G.
0 Kudos
Message 3 of 3
(2,310 Views)