キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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 workスマイリー 悲しい
0 件の賞賛
メッセージ1/8
3,459件の閲覧回数
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 件の賞賛
メッセージ2/8
3,435件の閲覧回数
Well, first off you don't have an event structure. That's a case structure. An event structure is a different beast. スマイリー ウインク
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 件の賞賛
メッセージ3/8
3,432件の閲覧回数
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 件の賞賛
メッセージ4/8
3,425件の閲覧回数
Actually I figured it out! Thank you for all your suggestions and patience 😃
0 件の賞賛
メッセージ5/8
3,418件の閲覧回数
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 件の賞賛
メッセージ6/8
3,417件の閲覧回数
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 件の賞賛
メッセージ7/8
3,393件の閲覧回数
Stop hijacking other people's threads!  スマイリー 怒った

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 件の賞賛
メッセージ8/8
3,387件の閲覧回数