LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error messages

Hi,

I had practiced with Labview befour. I don´t understand how you are saying to put the counter

counter2.PNG

Like this?

0 Kudos
Message 51 of 143
(1,694 Views)

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!

0 Kudos
Message 52 of 143
(1,689 Views)

@labview99 wrote:

Hi,

I had practiced with Labview befour. I don´t understand how you are saying to put the counter

counter2.PNG

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.

0 Kudos
Message 53 of 143
(1,688 Views)

And the array with the positions I put it in the state machine?

0 Kudos
Message 54 of 143
(1,670 Views)

@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.

0 Kudos
Message 55 of 143
(1,668 Views)

Could you send me please  a picture 

0 Kudos
Message 56 of 143
(1,658 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 57 of 143
(1,610 Views)

Hi,

Do you mean to do it like this?

 i attcah the program

0 Kudos
Message 58 of 143
(1,583 Views)

No.

0 Kudos
Message 59 of 143
(1,579 Views)

Hi,

 

I tryed like this

 

Best regards

0 Kudos
Message 60 of 143
(1,575 Views)