LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

State Machine change based on the Array defined

Hello All,

 

I have a string that is broken down into an array of clusters. These clusters have a value that the robotic arm has to push, location of the push, Keyboard to use. To make it easier, I have named keyboards as Uppercase, Lowercase, Numeric, and Symbols. 

 

Now I have to create a state machine with the following conditions:

   1) What is the current set of the keyboard?

   2) what is the next set of the keyboard? 

   3) What is the previous set of the keyboard?

   4) if the next and current are the same don't change, if not change it to the next one in the array.

   5) The keyboard has changing options based on these four values (shift for uppercase to lower case, ?123 for numeric, and =/+ for symbols)

          Ways to have transactions between the keyboard pages are shown in the KeyboardStateMachine Diagram.

 

I am trying to do this, but this is being complex for me as I am a beginner.

 

Could anyone help me?

 

Regards,

 

Tushar

 

 

Download All
0 Kudos
Message 1 of 3
(1,896 Views)

Hello Tushar!

In the VI you have attached there seems to be a motion planner.lvlib file that is missing. 

Kindly attach that.

 

Regards,

 

Sumukh

0 Kudos
Message 2 of 3
(1,822 Views)
 

Hello Sumukh,

 

That is a library, which is not required for this. You can right-click on the cluster and remove from the typedef, and it will work fine. 

 

Regards,

 

Tushar 

 
0 Kudos
Message 3 of 3
(1,800 Views)