LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create active x control from LabView

I want to use LabView code via Active X from an external applicaiton. I have looked through all of the online and written information and examples. A couple of basic questions remain.

1) Although the LabView User Manual says that the example FreqResp has an embedded LabView chart in it. I don't find this in the Excel file. In fact, it sounds as though an Active X control (ocx) can not be created with LabView. Is this true?

2) In the examples I have seen, vi's are controlled by passing parameters with LabView acting as an Active X server. The methods and parameters available are only those of LabView itself. Is there a way in LabView to expose a vi or llb as an object with its own properties and methods? For example, if I have
an llb created using GOOP methodology, can this be exposed to say Excel as a class so I can create an instance of this GOOP object?

If anyone can point me to a concise outline of the overall Active X capabilities of LabView, this would go along way . . .

Thanks.
0 Kudos
Message 1 of 4
(3,029 Views)
No, you cannot creat an ActiveX Control in LabVIEW. However, as you mentioned, the Application and VI objects of VI Server are available (but slightly different) in ActiveX. The server is called "labview". If you build an exe, you can define the name of the server within your app. This is all you have to work with at the moment.

FYI - LabWindows/CVI has the ability to create a custom ActiveX Server. If you are familiar with this product, then this may be an option.

Good luck,

Jim
Message 2 of 4
(3,029 Views)
I think that what you need to look at is building DLLs. This will probably accomplish what you are looking for.

I have actually seen some really good use of LabVIEW as an ActiveX server. An Excel spreadsheet had some automation in it where the user would run tests from excel, and see the data plotted live. This has been done since version 4, so I know that the capability is there still, and probably greater now.
0 Kudos
Message 3 of 4
(3,029 Views)
I think that what you need to look at is building DLLs. This will probably accomplish what you are looking for.

I have actually seen some really good use of LabVIEW as an ActiveX server. An Excel spreadsheet had some automation in it where the user would run tests from excel, and see the data plotted live. This has been done since version 4, so I know that the capability is there still, and probably greater now.
0 Kudos
Message 4 of 4
(3,029 Views)