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

Image Sequencing

I am programming Hangman in LabVIEW and I am almost done with it, other than I cant get the sequence of pictures to update the image on the front panel with each wrong guess the user makes. Is there a block or function I can create that will allow me to find a total of which # of wrong answers the user is on?

In the capture I attached, I have the file set-up to display the first picture in yellow and the red arrow is pointing to the case structure I created that runs if the sequence of letters isnt found within the phrase.

Any help or ideas would be greatly appreciated. Thank you for your time.

0 件の賞賛
メッセージ1/18
5,008件の閲覧回数

I am trying to program Hangman in LabVIEW and I am almost done with it. The only problem I am having is the images that popup with the different stages of the Hangman as the user misses the correct letters. Is there a structure or block that will relay each new picture as the user guesses incorrectly?

Thanks 

0 件の賞賛
メッセージ2/18
5,009件の閲覧回数

SOMEONE PLEASE HELP THIS IS DUE TOMORROW AND I CANT FIGURE IT OUT :(((((((((

0 件の賞賛
メッセージ3/18
4,977件の閲覧回数

How do I make different images appear on my front panel indicator with each run of a loop?

I am trying to program Hangman and need the different stages of hangman to pop up as the user guesses incorrectly.

Thank you for your time.

Any help or ideas would be greatly appreciated :):)

0 件の賞賛
メッセージ4/18
5,016件の閲覧回数

Suppose I asked the question "How do I get a different number to appear in an indicator with each run of a loop?".  What you need is a rule that assigns the different number to the indicator each time the loop runs.  The same thing applies for your question -- you need an indicator capable of displaying an Image (say, a 2D Picture), then each time you run through the loop, you need a Rule that puts the right Picture into the Indicator.  How you generate the Rule is up to you ...

 

Bob Schor

0 件の賞賛
メッセージ5/18
4,995件の閲覧回数

How would you go about creating a rule for this situation? I am a new programmer and need all the help I can get. Thank you

0 件の賞賛
メッセージ6/18
4,987件の閲覧回数

Skip the step of using the pictures for a start and just work with the numbers. How many chances does the player get to try and get the right answer? Display this value and decrement the value any time that a wrong guess is given.

 

Once you have that working, figure out the picture display along side the value that you are displaying. Additionally, show us whatever code you have already developed, you are much more likely to get help if you can show that you have already attempted to make progress on this by yourself (Recommended to save for a previous version (2012-2013), not everyone has the latest version of LV installed).

0 件の賞賛
メッセージ7/18
4,977件の閲覧回数

Can you upload the VI? It looks like an interesting application, but I can't see what's controlling the rate of your loop, or where you're getting user input. I'm guessing the input is related to either the constant array of strings (showing 'a', as a simulated wrong value) but it seems likely your loop will iterate a great many times, very quickly.


GCentral
0 件の賞賛
メッセージ8/18
4,982件の閲覧回数

This is the complete VI for as far I have gotten. There is probably an easier way to program what I have done but it works fine right now. To guess letters the user clicks the button underneath the corresponding letter and then click again to release and press another letter. If there is a way to add mechanical action to the 1D array of buttons, I think I can add it together the way done in the second VI I attached.

すべてをダウンロード
0 件の賞賛
メッセージ9/18
4,980件の閲覧回数

I didnt mention this before but what I am trying to do is count how many letters the user has guessed wrong and then wire that to a case structure with the functions for each image.

Thank you so much!

0 件の賞賛
メッセージ10/18
4,966件の閲覧回数