LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I show a frame of an avi movie, specified by a slider?

Hi. I am new to LabVIEW.
I want to show a frame from an avi file, where the frame is specified using a slider.
Could someone give me an idea of which  slider  can be used and how?
Thanks,
Akira
0 Kudos
Message 1 of 5
(2,982 Views)
Hello Akira,

I'm not sure which version of LabVIEW you have, or which toolkits you have installed.  But open up your Example Finder.  (Under Help-->Find Examples)  Do a search for "AVI" and you'll find an example called AVI Read Write with Data Example. 

This is really good example and part of it includes a function for moving through the frames with a slider. 

Good Luck!
---------------------
Patrick Allen: FunctionalityUnlimited.ca
Message 2 of 5
(2,960 Views)
Thanks Patrick for showing me how to look for the solution.

One thing still I can't figure out  is:

The scale can be specified in the Propery of the slider. But how can it be done in the block diagram?
I want to use "Number of Frames" from "IMAQ AVI Get Info" to specify the maximum value.
(I'm using LabVIEW 8.20+Vision 8.21 trials)

Akira
0 Kudos
Message 3 of 5
(2,951 Views)
Create a property node for your slider (right-click...create..property node , select property "Scale..range...maximum", change property to "write") and wire your number to it.
0 Kudos
Message 4 of 5
(2,941 Views)
Thank you for the trick. Now it worked exactly as what I wanted.
I really appreciate the help from both of you.
Akira
0 Kudos
Message 5 of 5
(2,932 Views)