LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

design control and monitoring system a factory for glass production

Could you please change the version to 19. As I'm currently on my work laptop Revert LabVIEW Files to a Previous Version - NI

 

Kind regards
LabVIEW Fairy

cRIO Enthusiast
Please mark solutions when appropriate.
Unofficial Forum Rules and Guidelines
Message 11 of 15
(965 Views)

This is (19) Version __>

0 Kudos
Message 12 of 15
(959 Views)

Ah, you are trying to build a model that simulates some aspect of a Factory for Glass Production.  I thought you were actually trying to design the software to actually Control and Monitor a real factory, which requires a lot more than building a (colorful) model.

 

Before going too far in writing code, take a pencil and paper and write what you want to do.  LabVIEW builds "time" right into the language, so you can (as you've done) make your code run at a "human" speed (rather than "as fast as it can", which is not the way the Real World works!).  Start small -- figure out how to fill and empty one Tank, then think how you might add a second Tank to the mix.  Are they the same size?  Do they fill and empty at the same rate?  What needs to happen if one Tank fills up, or empties?  How do you synchronize/organize multiple Tanks?

 

Bob Schor

0 Kudos
Message 13 of 15
(925 Views)

I didn't post the question unless I have tried multiple of times. Because of this, I sent the file so anyone can give a help.

 

I hope you can see the VI file that I post.

0 Kudos
Message 14 of 15
(920 Views)

@eaglebadr7 wrote:

 

I hope you can see the VI file that I post.


So who made that template of the front panel? Did you get that from the teacher?

 

You simply need to do things in the right order.

 

  1. Go over all the class notes from this course. Go over all the learning resources and get familiar with the basics of LabVIEW programming.
  2. Create a simple state machine architecture with one loop and all indicator values in shift registers that are then updated with every iteration. Decide on what all possible states of the simulation are, then update all indicators based on state, time, and user input. Decide on suitable data types for each. (Unless you are dealing with grains of sand, an integer (blue) is probably not correct for any of your tanks!). And no, the loop should never stop until you close the program!

(... and please don't maximize your front panel and diagram to the screen!! That's just annoying!)

 

 

0 Kudos
Message 15 of 15
(890 Views)