03-18-2020 08:58 AM
Hi,
I had practiced with Labview befour. I don´t understand how you are saying to put the counter
Like this?
03-18-2020 09:25 AM
Yes. Except why did you wire an array into the shift register on the left hand side?
Don't just practice. Actually take the tutorials, learn something, then try to remember what you learn!
03-18-2020 09:26 AM - edited 03-18-2020 09:31 AM
@labview99 wrote:
Hi,
I had practiced with Labview befour. I don´t understand how you are saying to put the counter
Like this?
You continue to show a basic lack of understanding LabVIEW. Obviously that is NOT how you would do your counter. Why are you initializing with an array when you want an integer? You just needed to make your tunnels into shift registers from your previous method. So you initialize your shift register and then pass it through each state of the state machine, only incrementing it when you're ready to increment. You should have a state in your state machine that checks whether or not to increment. I know you said that you practiced LabVIEW, but have you gone through the training material as suggested? The little bit of time that it will take to go through that training material will save you much more time than the time spent.
Edited to add: Your state to determine whether to increment or not would have the select like you show. You would wire the TRUE and FALSE states of the selector with the value from the shift register and the incremented value from the shift register as appropriate.
03-18-2020 10:47 AM
And the array with the positions I put it in the state machine?
03-18-2020 10:49 AM
@labview99 wrote:
And the array with the positions I put it in the state machine?
Yes, and you use your counter to index the correct position from the array.
03-18-2020 11:48 AM
Could you send me please a picture
03-19-2020 02:10 AM
Hi 99,
due to Covid-19 NI decided to allow all customers to access ALL online courses for free.
Now is your time to actually learn LabVIEW!
03-20-2020 11:37 AM
Hi,
Do you mean to do it like this?
i attcah the program
03-20-2020 11:40 AM
No.
03-20-2020 11:59 AM
Hi,
I tryed like this
Best regards