Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 12, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Programmatically Updating Front Panel Images in LabVIEW Using ActiveX

4 ratings | 4.00 out of 5
Print

Downloads

Filename: update_image.zip
Requirements: View

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.

Requirements


Filename: update_image.zip

Software Requirements


Application Software: LabVIEW Base Development System 5.0.1
Language(s): LabVIEW

 
4 ratings | 4.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).