Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Using ActiveX Controls in Lookout?

Is there a tutorial out ther that describes how to use activex objects inside of Lookout. I have been playing with the windows media object and can get certain things to work. However, I have not figured out how to invoke a method on an object...Any help would be appreciated.
0 Kudos
Message 1 of 3
(3,463 Views)
_______________



Hi,

Not sure if you have already looked at the example on NI DevZone:

http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/df577f80149c0fcc86256aa7006d3d2e?OpenDocument

It demos the use of ActiveX controls in Lookout.

Regards,

Khalid 🙂




_________________
0 Kudos
Message 2 of 3
(3,463 Views)
Hi,

Lookout 4.5 and 5.0 support ActiveX controls but just the (main) properties are showing up as datamembers.

It is not of the concept of Lookout's datamember/event architecture to create in a easy way customed events to invoke some methods of an ActiveX control. Thus, National Instruments does not support those ActiveX methods (neither ActiveX events). The only way it could encounter both, the datamember model with Lookout's internal event handling and the ActiveX event functions, would be to create a wrapper ActiveX control with special, new properties that would invoke the methodes in the original ActiveX control.

National Instruments has a nice documentation how to write an ActiveX control for Lookout. But it requires to have the Lookout Object Development
Toolkit, to be able to download this additional documentation with examples.

If you are interessed you can get more info from this link:
http://digital.ni.com/softlib.nsf/websearch/26166A48F59026A986256BBC0053AAFD?opendocument&node=132070_US

Hope this helps
Roland
0 Kudos
Message 3 of 3
(3,463 Views)