I changes a whole lot of things today, some of the errors I removed:
- Job management does now first remove old entrys when a new file is loaded, before it was just added to all other components, insane...
- While placing it now ignores fidicuals, before it ended in an error stopping placement and evey placement ended with an error message.
- Calibrating tapes with the normal "Calibrate Part via holes" was not possible, the angle was calculated wrong, boy,
did that puzzle me until I found the reason for it!
I fixed that, now the tapes are calibrated correctly, either with the standard-function as well as with first hole last hole
- Also, I changes it to drive 16 holes away instead of 8, better would be to have an inputbox which allows to choose how far it should go.
- A messagebox was added when a tape becomes empty, this works only in first hole / last hole calibration, then the system counts the parts. If the parts are empty, the software stopped with an error, now it stays tuned and gives out a message that the strip is empty. How it should be I think. Better would be a way to get new parts there to go further.
At normal calibration of tapes the part count is not measured, one has to check if enough parts are there.
An option to go further with the next part tape will be nice and is on my list.
- many many minor changes, checks and changes in hint texts describing the functions, what they really do, also to prevent crashes..
- In the Joblist one can choose to unmark all parts, this was exact the wrong way, marking all parts unmarked them, I turned that around.
- Added a onclick-event to the tapelist, it shows all parameters of the clicked tape, just for debug uses.
- Since the cam-pictures do not allow drawing of lines, arrows or crosses I commented out the drawing procedures, that stopped many crashes. Also, a camera reload now works without hassle. Why the arrows and crosses cannot be drawn is beyond my knowledge, I guess it is something with directdraw. I built it anew, but does not work as it seems. I come out without that, so I commented it out.
- Enlarged the Window to use full-HD 1920x1080, which most of us have. I have two, so I would like to make this a setting to use 2 screens, one for cams, one for software itself. Would also be possible to have cams and software in one windows just using one 1920x1080 screen.
- Added some entries in the tape context menu, for reset of a tape (set partno. to 1) and for setting the number of parts to 0, making it a normal tape without count value.
What I also want to add
- A check before placement, if enough parts are in all strips. That way we could prevent a stop in the middle of the run.
That would need all strips to be done via first hole / last hole calibration.
- Stepping over empty tapes is not yet available as far as I saw, that would be nice. Or is it there?
- Changing first hole / last hole to do that at once, allowing to enter the number of holes it should go for last hole measurement. Click the tape, choose 20 cm as distance, and opff you go.
What does still not work?
Autocalibration using the calibration picture did not work for me, I tried 20 times, with exact printouts, but it always find an error.
So that needs work, as it is a very promising function.
Still a lot of minor errors, but work is possible now.
Now, finally, my setup works, I placed a few demo boards (on paper) and the results are good. No more crashes so far
Sigh...
The problem is: I cannot get it up to github. So I will work on it a bit more, fix more bugs, and then someone needs to put it online.