NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

LabWindows/CVI Tip: Show CVI Windows from the System Tray

VERSION 1 Published

Created on: Mar 17, 2008 10:18 AM by Wendy L - Last Modified:  Mar 17, 2008 10:24 AM by Wendy L

 

 

Show CVI Windows from the System Tray

 

 

I created a simple python script that creates an icon that sits in your system tray.

A right click on the icon lists all the opened cvi windows, select one to bring it to the foreground.

 

The workspace window is also always listed first and can also be brought to the foreground by double clicking the icon.

 

The following dependancies are required for the script.

 

http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi

http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.4.2-py25 .exe

http://heanet.dl.sourceforge.net/sourceforge/pywin32/pywin32-210.win32-py2.5.exe

 

Also the path of the icon is assumed to be

iconpath = r"C:\Program Files\National Instruments\CVI80\cvi.ico"

 

Open the script in an editor and change this to where yours resides.

 

 

 

 

 

 

Submitted by GlennPierce

 

 

Original forum post: http://forums.ni.com/ni/board/message?board.id=180&message.id=31502#M31502

 


CATEGORIES:
Product Category: LabWindows/CVI
Industry: ATE/Instrumentation
Development Topic: Development Tools and Guidelines
Average User Rating
(0 ratings)




There are no comments on this document

More Like This

  • Retrieving data ...