|
-
May 8th, 2012, 09:37 AM
#1
Thread Starter
New Member
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.
-
May 8th, 2012, 09:46 AM
#2
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.
-
May 8th, 2012, 11:52 PM
#3
Thread Starter
New Member
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
-
May 9th, 2012, 10:23 AM
#4
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?
-
May 10th, 2012, 03:42 PM
#5
Thread Starter
New Member
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
-
May 10th, 2012, 05:07 PM
#6
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?
-
May 10th, 2012, 11:52 PM
#7
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|