08-27-2019 01:16 AM
i need a program to snap a image on push button, like shown in video,
i want to write a program in LABview.vi like when i press button image is snapped and last image is dislayed on vi untill next button is pressed like shown in video
08-27-2019 01:31 AM
Hi sami,
i need a program to…
Then you need to create that program!
i want to write a program in LABview.vi like when i press button image is snapped and last image is dislayed on vi untill next button is pressed like shown in video
I think this is a pretty nice lesson on learning LabVIEW and the IMAQ/Vision toolkit.
What exactly is your problem?
08-27-2019 01:43 AM
i have created the vi but the problem is i cannot configure a button which snap an image when the button is pressed and image remains on screen until next button is pressed, pls see attached vi and video
08-27-2019 02:13 AM
Hi sami,
I cannot open your VI due to its LabVIEW version. I also don't have IMAQ installed.
But I guess there are example VIs in the example finder explaining all those IMAQ function. And most probably there is an example of how to read a still image from a camera…
08-27-2019 02:15 AM
I dont find any example like snap image with push button, can you please share me the online link
08-27-2019 02:20 AM
You need use Event Based State Machine Architecture, Register Push Button as your event and whenever the event is triggered and the Value of the push button is true call the Snap State and Display the Snapped Image.
08-27-2019 02:24 AM
Can you please tell me any example or video, am new in labview i dont know how to do that
08-27-2019 02:26 AM
08-27-2019 05:44 AM
Suppose you knew no programming language, and decided to take a class in C++, or in Matlab. Would you start off asking for help writing a program to take a picture when you clicked on the image of a button on the computer's monitor? I think not!
You'd start learning the language, doing the simple things (loops, simple i/o, data types, calling functions, writing functions, etc.), and gradually work your way up to more complex tasks.
LabVIEW is no different (except, of course, that it is Graphical, uses Data Flow, "looks easy, I don't have to spend any time learning boring details, but can dive right in and write a program to take pictures when I push a button"). Well, that last part isn't quite right ...
Take a class in LabVIEW. Spend time with the Tutorials, making sure that you do all of the exercises and examples (even if they seem "boring" and too simple -- you need to understand the basics before you tackle the more challenging topics, such as LabVIEW Vision).
Bob Schor