Programmatically Updating Front Panel Images in LabVIEW Using ActiveX

Publish Date: Sep 12, 2006 | 4 Ratings | 4.00 out of 5 | Print | Submit your review
The Update Image.vi example demonstrates the use of ActiveX to programmatically update front panel images, such as those found in Picture Ring controls. A Microsoft Web Browser ActiveX control and a Text Ring control are combined to emulate the functionality of a Text & Pict Ring control. (NOTE: The Microsoft Web Browser requires the presence of Internet Explorer 4.0 or higher on the local system.)

The Microsoft Web Browser ActiveX control on the front panel acts as a picture frame, while the Text Ring lets the user select a new image to view. The image is updated when a button on the front panel is pressed.

An Invoke Node on the block diagram is used to call the Navigate method of the Microsoft Web Browser ActiveX control, which tells the web browser where to find the new image.

NOTE: The included images must be in the same folder as the Update Image.vi in order for this program to work successfully.

Back to Top

Bookmark & Share


Downloads

Attachments:

Update Image.vi

Requirements


Ratings

Rate this document

Answered Your Question?
Yes No

Submit