03-29-2010 07:57 AM
Hi,
Is there anyone who can help me to solve a labview exam that I have to solve for my study?
"At a storage depot òf a container terminal containers are stored temporarily waiting for transport.
The location of a specifiek cont. along with its code is stored in a data base.
When the oprator enters the code of a container, its according location is shown on the screen.
The operator should be able to move a container from one position to another by entering a new destination"
For more details see attachment.
Thanks in advance.
F.
Solved! Go to Solution.
03-29-2010 08:15 AM
03-29-2010 09:01 AM
My response:
Wow. And to actually post the exam itself. Now that's a classic!
03-30-2010 03:43 AM
Dear Jelmer,
thank you so much for your post. This forum can be a great help for more specific questions. So if you are working on your exam and have some questions; please don't hesitate to post them.
I can imagine that with a assignment like this you don't know where to start. One important thing is to think about your design pattern, for example the state machine. This could be a starting point, it is reccomended to think first about your design (create a state transition diagram, state chart) and then implement this in Labview.
Best regards,
03-30-2010 08:37 AM
ninlmartijn wrote:Dear Jelmer,
I can imagine that with a assignment like this you don't know where to start.
Pardon me for being so hard-nosed, but isn't that the point of taking an exam? Personally, I am very hesitant to answer any question posted by someone who is supposed to be taking an exam. Would you do the same thing for someone taking the NI certification exams?
03-30-2010 09:44 AM
Dear smercurio_fc,
Don't get me wrong, the forum is not tended to resolve exams or complete assignments. Maybe I had to be more clear (I pointed out to only post more specific questions) about that.
I do not know if it is allowded to gather information on a forum like this, but if not (like NI Certification) the exam should be behind closed doors without internet connection.
Best regards,
04-15-2010 03:47 PM
To start solving this problem I took a 3D array with 3 rows-4 coloms en 2 levels (makes 24)
I 'm trying now to use a "replace array subset" and with this function I can replace one of the containers (nr) by another one
An output array shows me the replacement I've made.
When I do this I loose the current nr. that is on that position and I don't know how to solve this!
I was not my intention to let someone solve the exam but I realy didn't know where to start!
I've read the whole Labvieuw book, took a 3 and a 6 hr. course but i'm stil not cappable of solving the problem.
See attachment.
Who can give me some usefull tips?
04-15-2010 04:28 PM - edited 04-15-2010 04:30 PM
Why complicate matters by using a 3D array, unless the exam specifically says the storage shall be in pages, rows, and columns. A 1D array can be a storage for containers. Its position is just a number, the index in the array. So if the operator types in 5, look up the 5th element (element 4 because array indeces start with 0), and display the contents. You would need code to allow the operator to enter a new index number, and move the object from old index to new index. If something is already defined in the new index, display an error message. So your 1D array can contain strings such as Container1, Container2, empty, etc...
I just re-read the intial post. Your string array should contain the codes (numbers?), not the strings Container1 and such. Use 0 as a code for an empty spot. If the operator enters a code, like 2000, you need to search the 1D array to find the index of that code, and display the index. Allow the operator to enter in a new index and move the code to the new spot, and put 0 in the old spot to show that it is now empty.