Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Use color palette and toolwindow when displaying an image in a picture box...

Hello,

I'm usign visual Studio 2005 and NI VISION to create an application that will grap and display images (after some processing). I display the grabbed images in a windows picture box by usign the base IMAQ function "imgPlot" because I don't want an external floating window to display the video data. All is working very fine up to that point.

Now, to use VISION  functions that don't directly affect the images like "imaqShowToolWindow" or "imaqSetWindowPalette", we need a window number that refer to the external window that I don't want to use... Is there a way to use those functions without having to use an external window (directly in my application main form) ?

Thank you,

David St-Arneault, eng.
AEREX Avionics Inc.
0 Kudos
Message 1 of 3
(3,174 Views)

Hello David,

    Unfortunately, the functions for our image display windows are made to work with those windows.  So even if you could successfully use the imaqShowToolWindow function to open the tool window, it would apply to one of our windows.  You can ise an image display though, which has some of those tools.  Let me know if you have further questions, thank you!

-Allison S.
Calibration Services
Product Support Engineer
0 Kudos
Message 2 of 3
(3,161 Views)
Hello Allison,

Thank you for your answer. It's was what I expected, but it's now confirmed...

David
0 Kudos
Message 3 of 3
(3,155 Views)