LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

snapshot button?

Hey guys, attached is a event structure with that contains a simple code to take a screenshot of the front panel. How do I make it so that the user defines when to take the screenshot (eg. when a button is pressed, the snapshot is taken, then the user can set the next file path for the next snapshot)? I thought this would be a simple boolean connection (thus the event structure) but I can't seem to get it to workSmiley Sad
0 Kudos
Message 1 of 8
(3,376 Views)
I don't see any event structure in what you posted.  Your snapshot button should be wired to the case selector of the case structure.  I assume that there is nothing in the false case.  Even if the true case is not executing, the user should be able to enter a new path into the path control at any time ready to be read when the true case executes again.
0 Kudos
Message 2 of 8
(3,352 Views)
Well, first off you don't have an event structure. That's a case structure. An event structure is a different beast. Smiley Wink
Is that all of your code? If so, you're missing something. Like a Boolean control connected to the case structure. And a loop for the program:




To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.


Message Edited by smercurio_fc on 06-30-2008 12:12 PM
0 Kudos
Message 3 of 8
(3,349 Views)
Hi,

Sorry, I didn't realize I posted the screenshot with the case structure instead of the event structure that I have. The event structure example you posted is close to what I have but how do you connect the while loop condition to the event structure?
0 Kudos
Message 4 of 8
(3,342 Views)
Actually I figured it out! Thank you for all your suggestions and patience 😃
0 Kudos
Message 5 of 8
(3,335 Views)
There will be another event case for handling the stop button.  The terminal for that stop button is wired to the tunnel on the right side of the event structure.  The tunnel is set to Use Default if unwired so it returns a false on all other event cases, but sends out the value of the stop button in the Stop button case, which would be a True if it is pressed and would thus stop the loop.
0 Kudos
Message 6 of 8
(3,334 Views)
Hi all, i need some help, i m searching for a Program with labview about transmission protocol   between PC and PC 
I need this Program as soon as
Thanks a lot
Mehdi
0 Kudos
Message 7 of 8
(3,310 Views)
Stop hijacking other people's threads!  Smiley Mad

You have posted this same message in 5 different threads.

Create a new thead with your question.


Message Edited by smercurio_fc on 06-30-2008 02:12 PM
0 Kudos
Message 8 of 8
(3,304 Views)