Results 1 to 7 of 7

Thread: Is it possible to control a video from textbox value in VB based Scada system

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2012
    Posts
    7

    Is it possible to control a video from textbox value in VB based Scada system

    I have created a Scada System in Visual Basic 2010.

    This system displays the radial Gate position of hydro power plant. I have the analog value of particular signal in a textbox which is use for gate position.

    Please suggest me, how can I make the radial Gate animation, which is related to that texbox values.
    One more thing, i have a gate opening and closing video of gate. Is it possible to control the video where i want (reference of textbox values), so that i can show the gate position at the particular analog value.
    plz reply its urgent.

  2. #2
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,371

    Re: Is it possible to control a video from textbox value in VB based Scada system

    You can all ways use a timer to make some animations in a windows form application, however animations are probolly going to be easier in wpf rather than a windows form app. Here is a link on animations for beginners, it is written in c#, but you shouldn't have any problems converting it.

    Edit - if you do decide to use a timer in a windows form app, then create an array of pictures and a timer. Every tick of the timer change the picture in your picturebox to the image in your array.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2012
    Posts
    7

    Re: Is it possible to control a video from textbox value in VB based Scada system

    Thank you for reply....and its works.....
    i created the an array of pictures with a times...and properly work.
    but i have some more question what u think if i use Video of complete gate opening and closing , can i control that video from textbox values. plz reply

  4. #4
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,371

    Re: Is it possible to control a video from textbox value in VB based Scada system

    I suppose you could, how are you displaying the video? As in what control are you using?
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  5. #5

    Thread Starter
    New Member
    Join Date
    Apr 2012
    Posts
    7

    Re: Is it possible to control a video from textbox value in VB based Scada system

    First, i was using a video which in .swf format.
    It display in my windows form now i m question how can i control this video from textbox values .......like
    suppose video have length 0-7 min and my texbox values are 0-1000, i want to show like...at 0 of texbox value it show at 0.00 min and at maximum 1000 ----> 7 min , and also the all intermediate stage...where i want.....so is it possible plz reply

  6. #6
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,371

    Re: Is it possible to control a video from textbox value in VB based Scada system

    My plz reply is the same as my question in post #4. What control are you using to display the video? Are you using the windows media player control found under the com tab in choose items?
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  7. #7

    Thread Starter
    New Member
    Join Date
    Apr 2012
    Posts
    7

    Re: Is it possible to control a video from textbox value in VB based Scada system

    Hello sir,
    actully i m not using any windows player or any type of player....
    my video is now in .swf flash, which i attached in windows form application.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width