sparkfunX / Desktop-PickAndPlace-CHMT36VA

Tools and conversion scripts for the CHM-T36VA Desktop Pick and Place from SparkFun
GNU General Public License v3.0
66 stars 32 forks source link

No "Parts not assigned", unassigned parts sent to feeder #25 #16

Closed THX2112 closed 6 years ago

THX2112 commented 6 years ago

See here:

Commenting line 249 "fixes" it.

    //Check if name from spreadsheet is inside name of component
    int pos = strstr(strlwr(name), strlwr(stringTrim(fname)));
    if(pos != -1){ //Found!
    //  return i;
    }

nseidle commented 6 years ago

Hmm, commenting out line 249 will have lots of bad side effects.

It looks like a blank feeder, in your case feeder 25, will be incorrectly associated with the new/unknown part (3904 in your case). Let me have a look...

nseidle commented 6 years ago

I'm able to replicate, and fix:

Bad: image

image

And with the fix in place:

image

image

Please pull the latest version and let us know if it helps.

THX2112 commented 6 years ago

Yes, worked. Thanks.

berniwa commented 6 years ago

I'm out of office on the 06.04.18.