Windows Display Functions

This palette contains vis for image window display, image window mouse callback, set child window and create trackbar, etc.

Note: An vi icon with yellow background means they work on color images. With gray background means they only work on single channel image. With half yellow and half gray background means they work on both color and single channel image. Others vi icon background are for either examples or high level vis. For controls descriptions, you need to go to the vi in LabVIEW, use help (ctrl+H) and move mouse over the controls to see them.


IVision_Create Named Window.vi

Create an image window by name.

Connector Pane

IVision_Create Named Window.vi


IVision_DestroyWindow.vi

Destroy an image window.

Connector Pane

IVision_DestroyWindow.vi


IVision_GetWindowFrameHandle.vi

Get image window reference.

Connector Pane

IVision_GetWindowFrameHandle.vi


IVision_SetImageWinTitle.vi

Set image window with or without titlebar.

Connector Pane

IVision_SetImageWinTitle.vi


IVision_SetChildParentWindow.vi

Set an image window as a child window.

Connector Pane

IVision_SetChildParentWindow.vi


IVision_ShowImageP.vi

Show the image in a named window. If the named window is not existed, it'll be created.

You have to pass in a position relative to parent window if the window is a child . If not a child window, the position in the cluster will be ignored.

Connector Pane

IVision_ShowImageP.vi


IVision_ResizeWindowP.vi

Resize the image window. The image will fit to the resized window if the "Auto Resized" attribute is set to false when you create the window using "IVision_Create Named Window.vi" or "IVision_ShowImageP.vi". You have to pass in a position if the window is a child. If it's not a child image window, the position in the cluster is ignored.

Connector Pane

IVision_ResizeWindowP.vi


IVision_CreateTrackbar.vi

Create a trackbar on the image window.

Connector Pane

IVision_CreateTrackbar.vi


IVision_GetTrackbarPosition.vi

Get trackbar position.

Connector Pane

IVision_GetTrackbarPosition.vi


IVision_SetTrackbarPosition.vi

Set position of trackbar on the image window.

Connector Pane

IVision_SetTrackbarPosition.vi


IVision_SetWinDrawMode.vi

Set windows draw mode for image window mouse callback function.

Connector Pane

IVision_SetWinDrawMode.vi


IVision_SetWinMouseCallback.vi

Create an image window by name if one is not existing. It also closes the previous callback window if previous callback window is not closed properly using IVision_ExitWinMouseCallback.vi to ensure that there is only one callback window at one time.

 

Connector Pane

IVision_SetWinMouseCallback.vi


IVision_GetWinMousePos.vi

Returns the current, start and end mouse position on the image window if the image window was set up as a mouse call back window.

Connector Pane

IVision_GetWinMousePos.vi


IVision_ExitWinMouseCallback.vi

End the image window mouse callback. This will free up some internal memory and also close the current callback image window. Always use this vi after the end of mouse callback.

Connector Pane

IVision_ExitWinMouseCallback.vi