11-15-2018 04:51 AM
Hi
We still have problems with the retrieving part...
Still for some reason all the processed blocks shows up as brown and some random number alongside it...
We've tried the "retrieve now" button and it kind of triggered some movement in the retrieving motor, but not something corresponding to what value it should be...
I'm starting to suspect there could be some old files(we have a lot now) or something jacked up in the system... maybe this makes some part of the system act wrongly.
Under i've added a text file trying to explain what happens with screenshots and also ALL the files that i've now placed in a "final" folder... I want the system to only communicate with these, but im not really sure how to replace the old VI's without getting lots of those red dots. (Program asks me when i run the main VI to locate all the older files)
Would you be so kind to take a look at all these files, controll that they act somewhat correctly, and then connect them all to the Lego Sorter final version VI?
I dont think lighting has something to do with the processed blocks beiing brown though as the only things here getting detected as brown, are the yellow bricks which was not used during these tests. Color detection works fine too in all other parts of the program
Thanks
11-15-2018 05:13 AM
I will have a check in 2 or three hours
Good that you added all vi's and I will control them next to my version.
If something is moving just a part of a second where it should move seconds it probably has a parallel control taking over. Race conditions are easy in LabVIEW.
I hope you have different motors selected in the separate while loops. The for loop only acts after both while loops so you can reuse a motor there if needed.
11-15-2018 05:16 AM - edited 11-15-2018 05:17 AM
Thanks for taking the time!
And yes, we have 2 new motors acting as the retrieving part. (Port C and D) 🙂
1 for the conveyor belt and 1 for the arm... All separate 🙂
11-15-2018 07:38 AM
Hi
I see one problem and saved a solution in the next files.
You should place all sub vi's and controls in one new folder that is at the same or lower folder level as the old vi's. (If at a higher level, LV will serach until it finds an old version.)
Then open the main vi (Lego Sorter 6 I called it now) and only point to new files.
If you get any red dots, just ignore them.
The problem was that you forgot to connect the lenght of a long block to connect to the sort engine.
So it took the old value 604 or something instead of the new value from the main vi.
I now have added all components in a zip file.
They are all you need.
11-15-2018 03:51 PM
Fantastic! The processed blocks table now works 🙂
We're taking the weekend "off" the project to get ahead on an upcoming exam in mathematics.
Will be back testing again on Monday and hopefully then we can get the system to retrieve the right bricks
We'll keep you posted,
Thanks
11-22-2018 03:55 AM
Hi Albert
Sorry for the lack of updates...
As I mentioned earlier, we have an upcoming exam in under a week now... We've decided to soly work on that until it's done at the 27th.
The Lego project is due at the 7th of December, that's when we're going to present it. So we have some time after this exam to properly finish the project.
You will hear from us again sometime inbetween these two dates.
As always, thanks
11-22-2018 04:09 AM
11-22-2018 04:10 AM
Thanks 🙂
12-03-2018 02:41 AM
Hi Albert.
We're finally done with all prior exams and our project report. Now we have until Friday to make everything work 100%... So this is just a headsup that we probably will ask a few questions the coming days 🙂
Hope everything is good
12-03-2018 06:21 AM - edited 12-03-2018 06:27 AM
Hi
I've left you a text file explaining some issues we have right now with the code, as well as a proposition for another execution of the retrieving system and the UI. We've been thinking of a much simpler way for ordering bricks. I've left the details in the doc.
Thanks