Announcement

Collapse
No announcement yet.

Playing a video while doing something else

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Playing a video while doing something else

    Hello all,
    I have a video that I want to play but while playing that video I also want to wait on user's input through (serin). I have a main video that I want to play all the time while Idle. The second video will be based on the user's input. could be video1, video2,... videoN.
    how can I intercept serial inputs while playing a video and play another video in parallel with the main video?
    Thank you all.
    -Halim

  • #2


    Hey,
    I'm pretty new to this whole 4DGL thing, but i'm guessing some type of interrupt?
    I'm sorry but that's all i can really say, look into the Programmers Manual for some sort of interrupt routine.
    I hope that this starts you on your way.
    Austin

    Comment


    • #3


      If you use a timer interrupt to play the next from in your video, your main routine can keep looking at the com port, or doing anything else for that matter.



      Have a look at this example http://4d.websitetoolbox.com/post/show_single_post?pid=1268186466&postcount=11
      Mark

      Comment

      Working...
      X