Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ windows settings in CVI

I am creating IMAQ windows as child windows in my LW-CVI panel application. I would like to fix these IMAQ windows size and position at a particular location in my panel.
How can I do it?
Any suggestion will be appreciated.
Thanks,
Dongsheng Zhao
North China Electronic Power Univ.
zds_hd@yahoo.com.cn
0 Kudos
Message 1 of 2
(2,919 Views)
Hi Dongsheng,

I have attached an example I wrote a few months ago. Basically, the program determines the size and position of a canvas (line 228-31). These values are then used to configure the session (254-6) and then display the image (line 204). The easiest way to change the size and position of the imaq display would be to move/resize the canvas. If you would rather enter set values, then change the canvas variables (lines 228-31) to set values. Hope this helps.

Ryan
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,909 Views)