LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

container handling

Solved!
Go to solution

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.

0 Kudos
Message 1 of 8
(3,245 Views)
Solution
Accepted by topic author jelmer
To be perfectly honest I don't think anyone here will do your exam for you. If you post code with specific questions about something you don't understand or that you are having problems with you may get some help. But given that this is an exam you really need to do this on your own.


Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 8
(3,235 Views)

My response: Smiley Very Happy Smiley Very Happy  Smiley Very Happy

 

Wow. And to actually post the exam itself. Now that's a classic!

0 Kudos
Message 3 of 8
(3,221 Views)

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,

Martijn S
Applications Engineer
NI Netherlands
Message 4 of 8
(3,185 Views)

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?

0 Kudos
Message 5 of 8
(3,164 Views)

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,

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 6 of 8
(3,148 Views)

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?

 

 

0 Kudos
Message 7 of 8
(3,079 Views)

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.

 

Message Edited by tbob on 04-15-2010 02:30 PM
- tbob

Inventor of the WORM Global
0 Kudos
Message 8 of 8
(3,063 Views)