Jump to content

state machine architecture


Recommended Posts

Hi guys I'm fairly new to lab view

i was trying to control multiple tank indicators using simple controls

i have put this inside a while loop and a case stucture inside the while loop to create a sort of state machine architecture

Now the problem im facing is the conditions for the case structure

I need to check if a tank is empty or full and reduce it to zero (if full)and move on to the next one, I have used case sturcture for each of the tank and im finding it difficult to incorporate all the conditions inside a single case stucture as i dont know how to give the conditions as i get true or false when i checke the tanks using less than or equal to operator

plz help me out

Link to comment

This sounds like a homework assignment. If so, people are willing to help with technical questions, but will not do the assignment for you. Posting what you've worked on so far will get you more help as people see you've at least put in some effort.

 

The conditions should become apparent if you draw out your state diagram (http://en.wikipedia.org/wiki/State_diagram).

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.