LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use ActiveX to call 89601A Vector Signal Analysis software GUI on PC ?

I need to call the VSA software GUI by using labview ActiveX control. Can anyone provide me some samples code ?
Thanks you.
0 Kudos
Message 1 of 4
(2,790 Views)
Are you sure that you want to interface the 89601A via ActiveX. It is more common to call a dll instead. If you have general questions about using LabVIEW's activeX ablities, you may want to look at the shipping examples. There is also a small portion on ActiveX in the User manual. If you need help specifically with the 89601A then you should contact the manufacuter for example code. You may be able to get VB code if they do not have LV code. Reading VB is pretty easy and the translation into LV is almost item per item.
0 Kudos
Message 2 of 4
(2,790 Views)
I not very sure about ActiveX, but Agilent told me that in can be done using ActiveX. What do you mean by call a dll ? I coundn't fine the dll for the 89601A VSA, or NI can provide the dll ?
Where to get the shippling examples ?
Thanks
0 Kudos
Message 3 of 4
(2,790 Views)
A dll is a nice bundle of functions that are written so that many programs can use the dll(and the functions inside). Generally instrument manufacutures will write a driver for their instrument and bundle those functions in a dll. This way other programs like C, VB, and LabVIEW can access those functions and use the instrument. NI does not write drivers for other companies' products--only the manufucaturer of the instrument does that. It is a non trivial exercise to get the dll to work with LabVIEW properly (it is generally a funtion of the quality of documentation the dll writers provide), so don't dispair if it takes you some time. To learn more about calling dlls, look at some shipping docs. Open LabVIEW 6.1 >> help >> Search the LabVI
EW bookshelf >> Using external code in LabVIEW.

The LabVIEW user manual can also be found by opening LabVIEW 6.1 >> help >> Search the LabVIEW bookshelf >> LabVIEW user manual.

ActiveX is a different technology but works simmilarly in the sence that one progam can use the functionality of another. There are tomes on the subject. Goto the following link and search for activex labview to find NI's web resources.
http://search.ni.com/?col=alldocs&layout=TechResources&ql=a

You can find the LV activex shipping examples by opening LabVIEW >> help >> find examples >> communication with external applications >> activex .

Using ActiveX fluidly take some time. If you are new to it, I suggest playing with internet explorer in a LV activeX container. It is called something like Microsoft Web Browser.
0 Kudos
Message 4 of 4
(2,790 Views)