LabWindows/CVI

取消
显示结果 
搜索替代 
您的意思是: 

Matrox MIL with a CVI panel

Hi, I'm using the Matrox MIL library to continously grab pictures from a camera. When I want to display the result of the grab in a CVI panel, this display is flickering. Can someone help me to solve that.

Regards.

0 项奖励
1 条消息(共 4 条)
3,578 次查看

can you please give us more details about your application ?

what type of control do you use for displaying the image, and which function do you call to transfer the image to the display ?

0 项奖励
2 条消息(共 4 条)
3,567 次查看

Hi, in fact I'm using MdigGrab and I would like to display the content of my buffer into a CVI panel by using directly its window handle. It's seems working curiously, because the display is flickering (or flashing). Maybe could I use a Canvas control instaed of directly using the panel, but I'm not able to get the Windows handle of a control.

0 项奖励
3 条消息(共 4 条)
3,551 次查看

i don't remember how displaying an image works when using the MIL...wasn't there a set of display functions (Mdisp...() functions ) with the possibility to set some attributes ? (i'd like to get my hand on the MIL manual... i can't find it)

 

however, i can tell you that you will never be able to get a window handle from a control: CVI does not use the standard Windows way for building user interface, so controls are not standard window and have no window handle. the message queue prionciple is there, but managed a bit differently than standard windows. that may explain the flickering you observe.

0 项奖励
4 条消息(共 4 条)
3,547 次查看