From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-12-2006 11:34 AM
12-12-2006 12:26 PM
12-12-2006 12:32 PM
I won't write any code for you, but here are a few things which can you check out. You can search the palletes for functions by clicking the search buttton which should be on top of the pallettes window and you can search for examples by opening Help>>Find Examples.
The tank is basically a line of people, so you could handle that with a queue (hint, wink). You can push people into the queue in one loop and take them out in another. The tables can be represented by an array of clusters which will include data like how many people the table can hold, when they got there, when they left and so on. You can then write a series of functions (VIs) which will manipulate this array to do the desired options.
I'll leave you to do some searching.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
12-12-2006 12:36 PM
12-12-2006 12:45 PM
12-12-2006 01:04 PM
12-12-2006 01:13 PM
Thank you all very much, when I tried opening up that VI that was just attached called "restaurant.vi" it says "Labview: VI version is later than the current labview version. An error occurred VI 'restaurant.vi' Labview load error code 9: VI version(8.2) is newer then version(8.0).
The labview I have is version 8.0, and it was suplied by my school and I cant upgrade it...What should I do?
12-12-2006 01:17 PM
Wouldn't a QUEUE be a good idea......
As the user is new to LabVIEW this might be a leap to far, whilst the array is perhaps the more common approach.
As indicated, a classic question........
12-12-2006 01:24 PM
12-12-2006 01:28 PM