Make controller Error?

Jul 30, 2007 at 10:17am

Make controller Error?

Hi I have problem with a patch im working on to control a Make controller.

The project might best be described as a sculpture-deformer. Sort of a reveres 3d printer in which a clay form is squeezed and moddled. I have a turntable which I have got position control on by using a mouse as rotation feedback. Another motor gives me vertical rise -again using a mouse as feedback position. A third motor controls a pincher that does the deforming.

So my problem is:

I have all three patches working fine and doing what I need. But when I try to combine them or run them together I stop getting analogue information in form position switches and a string of error messages appears in the MAX window – “Error – No type tag” and “Error extracting data from packet – type doesn’t correspond to data included.”

So whats the problem? I thought maybe i should use only one mc.usb but thats not working at the moment either.

Any help would be great.

here the patch -

Hi

Im in the middle of a project which might best be described as a sculpture-deformer. Sort of a reveres 3d printer in which a clay form is squeezed and moulded. I have a turntable which I have got position control on by using a mouse as rotation feedback. Another motor gives me vertical rise -again using a mouse as feedback position. A third motor controls a pincher that does the deforming.

Im programming via MAX.

So my problem is

I have all three patches working fine and doing what I need. But when I try to combine them or run them together I stop getting analogue information in form position switches and a string of error messages appears in the MAX window – “Error – No type tag” and “Error extracting data from packet – type doesnt correspond to data included.”

So what the problem? I thought maybe i needed to use only one mc.usb but thats not working at the moment either.

Any help would be great.

Here’s the patch just in case.

max v2;
#N vpatcher 107 44 981 989;
#P origin 0 4;
#P button 451 713 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 79 686 48 196617 loadbang;
#P message 79 764 95 196617 /analogin/*/value;
#P toggle 79 709 15 0;
#P newex 79 741 58 196617 metro 100;
#P button 302 711 15 0;
#P newex 454 742 108 196617 motorPincherDFORM3;
#P message 288 728 14 196617 1;
#P newex 289 686 61 196617 delay 5000;
#P number 560 468 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 547 440 37 196617 + $i1;
#P message 582 405 14 196617 2;
#P button 582 384 15 0;
#P message 547 405 19 196617 -2;
#P button 547 384 15 0;
#P number 547 338 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 547 361 67 196617 select 45 61;
#P newex 547 313 40 196617 key;
#P button 229 706 15 0;
#P button 207 707 15 0;
#P newex 207 684 55 196617 select 1 0;
#P newex 191 635 27 196617 ==;
#P toggle 190 660 15 0;
#P message 309 608 14 196617 0;
#P message 287 608 14 196617 1;
#P message 221 606 14 196617 0;
#P message 198 606 14 196617 1;
#P number 299 479 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 204 481 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 287 456 31 196617 + 16;
#P newex 196 458 30 196617 – 16;
#P newex 234 528 49 196617 delay 10;
#P button 309 588 15 0;
#P button 287 589 15 0;
#P user gswitch2 287 550 39 32 1 0;
#P toggle 287 527 15 0;
#P newex 287 504 27 196617 >;
#P button 361 455 15 0;
#P window linecount 2;
#P comment 450 543 113 196617 change direction based on higher or lower;
#P button 433 574 15 0;
#P button 397 574 15 0;
#P window linecount 1;
#P newex 397 544 46 196617 select 1;
#P number 396 525 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 437 604 59 196617 direction 1;
#P newex 396 505 27 196617 < ;
#P message 93 527 14 196617 0;
#P message 58 527 14 196617 1;
#P message 93 499 14 196617 1;
#P button 93 478 15 0;
#P message 58 499 14 196617 0;
#P button 58 478 15 0;
#P number 58 436 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 58 455 82 196617 select 103 115;
#P newex 58 411 40 196617 key;
#P newex 145 528 49 196617 delay 10;
#P button 221 587 15 0;
#P button 199 588 15 0;
#P user gswitch2 196 550 39 32 0 0;
#P number 588 440 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 196 527 15 0;
#P newex 196 504 27 196617 >;
#P number 196 426 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 196 403 31 196617 / 50;
#P number 361 476 44 9 0 0 1 3 0 0 0 40 204 140 255 125 75 255 137 91;
#P message 375 606 59 196617 direction 0;
#P number 197 379 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 197 356 27 196617 *;
#P message 207 731 26 196617 150;
#P message 259 732 14 196617 0;
#P newex 213 802 41 196617 mc.usb;
#P number 214 320 84 9 1 6 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 438 249 39 196617 set 50;
#P newex 438 227 48 196617 loadbang;
#P message 361 217 33 196617 set 0;
#P button 378 276 15 0;
#P number 361 253 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 361 295 30 196617 pack;
#P window linecount 3;
#P message 361 314 76 196617 ; max pupdate $1 $2;
#P button 104 312 15 0;
#P button 244 272 15 0;
#P window linecount 1;
#P newex 213 777 53 196617 mc.motor;
#N counter 0 1 6;
#X flags 0 0;
#P newobj 214 294 71 196617 counter 0 1 6;
#P newex 104 284 64 196617 select 1679;
#P window linecount 2;
#P comment 134 157 400 196617 type “0″ on the keyboard to zero the position output in this patcher ; type “1″ to reset to the default position relative to the top left corner of the screen;
#P window linecount 1;
#P hidden message 28 104 14 196617 1;
#P message 74 194 30 196617 zero;
#P message 107 194 34 196617 reset;
#P newex 61 123 52 196617 metro 50;
#P newex 74 147 40 196617 key;
#P newex 74 170 52 196617 sel 48 49;
#P window linecount 2;
#P comment 144 258 45 196617 Hor. Position;
#P window linecount 1;
#P comment 58 276 35 196617 Button;
#P toggle 61 259 15 0;
#P number 104 259 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 61 222 183 196617 mousestate;
#B color 5;
#P comment 26 102 34 196617 Track;
#P toggle 62 100 15 0;
#P hidden newex 28 83 50 196617 loadbang;
#P comment 261 270 100 196617 reset counter;
#P window linecount 2;
#P comment 14 514 42 196617 g = go s = stop;
#P window linecount 1;
#P comment 450 476 66 196617 set position;
#P comment 146 424 47 196617 rotation;
#P window linecount 3;
#P comment 612 316 100 196617 This will be replaced by data flow from video etc;
#P window setfont “Sans Serif” 14.;
#P comment 178 68 100 196622 make sure you zero this first;
#P hidden connect 6 0 19 0;
#P connect 50 0 52 0;
#P connect 52 0 51 0;
#P connect 51 0 53 0;
#P connect 53 0 54 0;
#P connect 53 0 57 0;
#P connect 7 0 16 0;
#P connect 16 0 9 0;
#P connect 18 0 9 0;
#P connect 17 0 9 0;
#P connect 9 0 11 0;
#P fasten 57 0 7 0 63 551 8 551 8 71 67 71;
#P hidden connect 19 0 7 0;
#P fasten 58 0 7 0 98 551 10 551 10 68 67 68;
#P connect 15 0 14 0;
#P fasten 25 0 18 0 109 344 24 344 24 192 79 192;
#P connect 14 0 18 0;
#P fasten 22 2 18 0 259 319 350 319 350 189 79 189;
#P connect 102 0 100 0;
#P connect 100 0 99 0;
#P connect 99 0 101 0;
#P connect 51 1 55 0;
#P connect 55 0 56 0;
#P connect 55 0 58 0;
#P connect 9 1 10 0;
#P connect 10 0 21 0;
#P connect 21 0 25 0;
#P connect 14 1 17 0;
#P fasten 44 0 49 0 201 546 218 546 218 523 150 523;
#P fasten 58 0 81 0 98 655 195 655;
#P fasten 57 0 81 0 63 656 195 656;
#P connect 82 0 81 0;
#P fasten 78 0 82 0 226 628 196 628;
#P fasten 77 0 82 0 203 628 196 628;
#P connect 38 0 41 0;
#P connect 41 0 42 0;
#P connect 42 0 73 0;
#P connect 73 0 43 0;
#P connect 43 0 44 0;
#P connect 44 0 46 0;
#P fasten 10 0 37 0 109 279 99 279 99 345 202 345;
#P connect 37 0 38 0;
#P connect 47 0 77 0;
#P connect 46 0 47 0;
#P connect 73 0 75 0;
#P connect 81 0 83 0;
#P connect 83 0 84 0;
#P connect 84 0 36 0;
#P fasten 80 0 82 1 314 632 213 632;
#P fasten 79 0 82 1 292 632 213 632;
#P fasten 40 0 43 1 366 500 218 500;
#P connect 23 0 34 0;
#P fasten 21 0 22 0 109 305 190 305 190 286 219 286;
#P connect 22 0 33 0;
#P connect 33 0 37 1;
#P connect 46 1 48 0;
#P connect 48 0 78 0;
#P connect 49 0 46 1;
#P connect 83 1 85 0;
#P fasten 68 0 72 0 292 546 309 546 309 523 239 523;
#P fasten 35 0 23 2 264 762 246 762;
#P fasten 36 0 23 2 212 761 246 761;
#P fasten 39 0 23 2 380 764 246 764;
#P fasten 60 0 23 2 442 765 246 765;
#P fasten 14 0 24 0 79 217 249 217;
#P connect 24 0 22 2;
#P connect 85 0 35 0;
#P fasten 42 0 74 0 201 448 292 448;
#P connect 74 0 67 0;
#P connect 67 0 68 0;
#P connect 68 0 69 0;
#P connect 69 0 70 0;
#P connect 70 0 79 0;
#P connect 95 0 96 0;
#P fasten 35 0 95 0 264 753 277 753 277 682 294 682;
#P connect 74 0 76 0;
#P connect 95 0 98 0;
#P fasten 40 0 67 1 366 497 309 497;
#P connect 69 1 71 0;
#P connect 71 0 80 0;
#P connect 72 0 69 1;
#P fasten 25 0 30 0 109 345 353 345 353 189 366 189;
#P connect 30 0 28 0;
#P connect 28 0 27 0;
#P fasten 29 0 27 0 383 292 366 292;
#P connect 27 0 26 0;
#P fasten 42 0 66 0 201 448 366 448;
#P fasten 93 0 40 0 552 472 366 472;
#P connect 66 0 40 0;
#P fasten 31 0 39 0 443 494 380 494;
#P fasten 64 0 39 0 438 598 380 598;
#P fasten 30 0 29 0 366 240 354 240 354 273 383 273;
#P fasten 32 0 27 1 443 294 386 294;
#P fasten 40 0 59 0 366 498 401 498;
#P connect 59 0 61 0;
#P connect 61 0 62 0;
#P connect 62 0 63 0;
#P fasten 42 0 59 1 201 448 418 448;
#P connect 62 1 64 0;
#P fasten 63 0 60 0 402 602 442 602;
#P connect 31 0 32 0;
#P connect 103 0 97 0;
#P connect 86 0 88 0;
#P connect 88 0 87 0;
#P connect 87 0 89 0;
#P connect 89 0 90 0;
#P fasten 92 0 93 0 587 426 552 426;
#P connect 90 0 93 0;
#P fasten 93 0 94 0 552 462 565 462;
#P fasten 45 0 93 1 593 459 629 459 629 429 579 429;
#P connect 87 1 91 0;
#P connect 91 0 92 0;
#P fasten 93 0 45 0 552 461 628 461 628 430 593 430;
#P pop;

#33095

You must be logged in to reply to this topic.