Jump to content

when playing video - the GUI is stuck


kodon1

Recommended Posts

Hello,

 

I have a simple GUI using IMAQdx to play a video through a webcam.

There are 2 buttons - play and stop.

 

The problem is after I press on play, and get the video on screen, I can't press on stop to stop the stream.

it just doesn't let me to press the button.

 

Could you have an idea, what could be the problem?

 

tx

Link to comment

without seeing your code, no. My guess would be that, if you're following the usual way of the IMAQdx example, that is register a dynamic event for frame done, and handle completed frames with an event structure, your webcam is generating events faster than you can handle/the front panel is locked while you're handling that event or something the like.

I remember having seen a number of webcams/usb,firewire,Gige genicams generating two events per frame rather than one with this scheme, for reasons I never understood.

Link to comment

hi,

 

thanks for the answer.. I'm trying to attach block diagram snap...

there are some other parts seen in the block diagram. the relevant part is the central case where the grab icon appears

 

thanks a lot for your help

 

 

 

post-53056-0-72651800-1424615651_thumb.p

Edited by kodon1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.