<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Savepanel&#x2F;openpanel]]></title><description><![CDATA[<p>i'm sorry to post another help request about this, anyway i really can't solve my problem. I've tried out everything i could read on this forum and obviously i debugged all my patch.<br />
I want to save some presets on .txt file so i create a subpatch in witch parameters are receive-d and writed in a table. every number has his location on the table. then:</p>
<p>[bang (<br />
|<br />
[r array1]<br />
|<br />
[savepanel]<br />
|<br />
[symbol]<br />
|<br />
[write $1.txt (<br />
|</p>
<p>and 'till here all works fine (i.e. the .txt is written well)</p>
<p>then i use openpanel:</p>
<p>[bang (<br />
|<br />
[r array1]<br />
|<br />
[savepanel]<br />
|<br />
[t b b s]<br />
| | |<br />
| [symbol]<br />
| |<br />
[write $1.txt (<br />
| |<br />
|<br />
|<br />
[subpatch in where all parameters are rerouted to their destination (in the same order of the previuos subpatch)]</p>
<p>This seems to work fine, but somewhere the parameters are correctly received somewhere only some, somewhere else not at all (i've noticed it behaves following a routine: what works will continue working and viceversa) and it's strange: i've used copy and paste.<br />
please help me, i'm driving crazy!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 14:43:23 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/1552.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Mar 2008 13:18:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Savepanel&#x2F;openpanel on Tue, 18 Mar 2008 13:18:13 GMT]]></title><description><![CDATA[<p>i'm sorry to post another help request about this, anyway i really can't solve my problem. I've tried out everything i could read on this forum and obviously i debugged all my patch.<br />
I want to save some presets on .txt file so i create a subpatch in witch parameters are receive-d and writed in a table. every number has his location on the table. then:</p>
<p>[bang (<br />
|<br />
[r array1]<br />
|<br />
[savepanel]<br />
|<br />
[symbol]<br />
|<br />
[write $1.txt (<br />
|</p>
<p>and 'till here all works fine (i.e. the .txt is written well)</p>
<p>then i use openpanel:</p>
<p>[bang (<br />
|<br />
[r array1]<br />
|<br />
[savepanel]<br />
|<br />
[t b b s]<br />
| | |<br />
| [symbol]<br />
| |<br />
[write $1.txt (<br />
| |<br />
|<br />
|<br />
[subpatch in where all parameters are rerouted to their destination (in the same order of the previuos subpatch)]</p>
<p>This seems to work fine, but somewhere the parameters are correctly received somewhere only some, somewhere else not at all (i've noticed it behaves following a routine: what works will continue working and viceversa) and it's strange: i've used copy and paste.<br />
please help me, i'm driving crazy!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel</guid><dc:creator><![CDATA[cian.ltdt]]></dc:creator><pubDate>Tue, 18 Mar 2008 13:18:13 GMT</pubDate></item><item><title><![CDATA[Reply to Savepanel&#x2F;openpanel on Tue, 18 Mar 2008 13:19:28 GMT]]></title><description><![CDATA[<p>sorry, the second graph was with [openpanel] and [read $1 (</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/2</guid><dc:creator><![CDATA[cian.ltdt]]></dc:creator><pubDate>Tue, 18 Mar 2008 13:19:28 GMT</pubDate></item><item><title><![CDATA[Reply to Savepanel&#x2F;openpanel on Tue, 18 Mar 2008 15:25:48 GMT]]></title><description><![CDATA[<p>I dont see [textfile], you need at least one [textfile] to write the values to an external file.</p>
<p>Did I understand you correctly?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/3</guid><dc:creator><![CDATA[obiwannabe]]></dc:creator><pubDate>Tue, 18 Mar 2008 15:25:48 GMT</pubDate></item><item><title><![CDATA[Reply to Savepanel&#x2F;openpanel on Tue, 18 Mar 2008 16:12:22 GMT]]></title><description><![CDATA[<p>andy, by sending a read/write message, you can load/save directly to and from an array.</p>
<p>cian, i think your problem might be in the subpatch.. do you want to post it for us?</p>
<p>apart from the small syntax error posted below, i can't see why your construction wouldn't work...</p>
<p>i don't understand this bit:</p>
<p>[bang (<br />
|<br />
[r array1]<br />
|<br />
[savepanel]</p>
<p>what's the [r array1] for?? as far as i know [open/savepanel] only take a bang, so the [receive] object shouldn't be there.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/4</guid><dc:creator><![CDATA[hardoff]]></dc:creator><pubDate>Tue, 18 Mar 2008 16:12:22 GMT</pubDate></item><item><title><![CDATA[Reply to Savepanel&#x2F;openpanel on Tue, 18 Mar 2008 19:15:53 GMT]]></title><description><![CDATA[<p>thanks for replies.</p>
<p>to obiwannabe:<br />
textfile doesn't seem necessary: opening in a text editor the saved file all the numbers are stored exactly as they have to be, and also when reloading parameters the array is drawn well. The Source be with you</p>
<p>to hardoff:<br />
you're right, [r array1] is redundant. actually in my patch there's non bang but a bang receiver (probably for that i posted it)</p>
<p>... and here're save and load subpatches:</p>
<p>SAVE</p>
<p>[r $xy] [loadbang]<br />
| |<br />
| [nr. = position in the array (<br />
| |<br />
[tabwrite array1]</p>
<p>(i've about 15 of these per table and 10 tables (all with different names), but i don't think this is the point)</p>
<p>LOAD</p>
<p>[inlet receiving the bang from upper level]<br />
|<br />
[nr. = position in the array (<br />
|<br />
[tabread array1]<br />
|</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/5</guid><dc:creator><![CDATA[cian.ltdt]]></dc:creator><pubDate>Tue, 18 Mar 2008 19:15:53 GMT</pubDate></item><item><title><![CDATA[Reply to Savepanel&#x2F;openpanel on Tue, 18 Mar 2008 19:39:24 GMT]]></title><description><![CDATA[<p>your sends and receives are actually called [r $xy] <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/question.png" title="???" alt="???" /></p>
<p>if they are all called that, then you are probably getting errors by having multiple subpatches with the same send names.</p>
<p>please just attach your patch to a message here. it will be much easier to find the problem.</p>
<p>instead of 'quick post' hit 'post reply' and you will get a browser button for attachments.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/6</guid><dc:creator><![CDATA[hardoff]]></dc:creator><pubDate>Tue, 18 Mar 2008 19:39:24 GMT</pubDate></item><item><title><![CDATA[Reply to Savepanel&#x2F;openpanel on Wed, 19 Mar 2008 16:22:05 GMT]]></title><description><![CDATA[<p>Here's the patch, it sends and receives values to and from another one. i checked tons of time if there were wrong sends/receives between two patches but they don't.<br />
while queen and femaleworkers work fine &quot;q&quot;, &quot;w&quot;, &quot;e&quot; and &quot;r&quot; presets don't work... actually they work only for certain values (like &quot;q&quot; loads in the other patch only CaF, 1vol, 3vol and 2del). i'm pretty sure the s/r is working because i &quot;forced&quot; pd by coping the and changing them in [r] instead of using atom properties.</p>
<p>tons of thanks for your assistance</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/presets.pd" rel="nofollow">http://www.pdpatchrepo.info/hurleur/presets.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/7</guid><dc:creator><![CDATA[cian.ltdt]]></dc:creator><pubDate>Wed, 19 Mar 2008 16:22:05 GMT</pubDate></item><item><title><![CDATA[Reply to Savepanel&#x2F;openpanel on Wed, 19 Mar 2008 18:31:14 GMT]]></title><description><![CDATA[<p>i had a good look. it's still difficult to find the source of your error.</p>
<p>the stuff you posted originally about the [openpanel] and the [t b b s] all seems to be ok. i checked through it, and nothing seems to be out of order.</p>
<p>so then i read your post again, and you said that the Q and FW sections are working fine, but the q, w, e, r sections have trouble.</p>
<p>so, i looked at those sections, and found one main difference:</p>
<p>the Q and FW saver sections all only write one float value into the tables.</p>
<p>HOWEVER, your q,w,e,r saver sections contain [unpack] objects, and distribute those numbers to various tables.</p>
<p>for example:</p>
<p>[pd MW-q-saver] starts with:</p>
<p>[r $MWq-llfo]<br />
|<br />
[unpack f f f f f f f f f f]</p>
<p>i think somewhere, when you are packing those numbers together, you may have an error.</p>
<p>have a look and see if that's your problem.</p>
<p>also, i don't think this is the source of your errors, but as far as i know,<br />
is not really 'correct' in pd. for sends and receives, you can use $0-abcd, $1abcd, $999xyz, etc...but the $ is meaningless without a number after it.</p>
<p>anyway, for the moment have a look at how you are using [pack] and [unpack] because i think you may find an error there somewhere.</p>
<p>also, try to save some presets in your q,w,e,r sections, and then open the textfiles in a text editor and see if you get the numbers you expected. if the numbers are correct, then you know that your save mechanism is working, so the error must be in the load mechanism. vice versa, if the textfile numbers are wrong, then you know you are making a mistake when saving the text.</p>
<p>good luck. it looks like an interesting project. are you using pd to control your beehive or something??? <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/8</guid><dc:creator><![CDATA[hardoff]]></dc:creator><pubDate>Wed, 19 Mar 2008 18:31:14 GMT</pubDate></item><item><title><![CDATA[Reply to Savepanel&#x2F;openpanel on Wed, 19 Mar 2008 20:25:13 GMT]]></title><description><![CDATA[<p>first of all i have to thank you for this attention.<br />
since .txt files were written correctly, i &quot;asked&quot; pd to show me the values it's loading putting in my recaller subpatch a lot number boxes. (i updated previous post)<br />
when is running preset.pd alone all working fine (numbers are stored and loaded properly), but when running with the other patch (maleworkers) where all these numbers have sense nothing works more: not only male workers do not work (!?!), but also presets.pd is not working anymore as it should. (so i'm attaching maleworkers.pd, hoping someone succeeds in finding the error)</p>
<p>i'm sorry for that syntax error (i didn't cared so much the manual, i preferred to learn while using, so... ) slowly i will correct them all, and you were right is surely not that my problem (i tried).</p>
<p>and, yes you're right. my life-time aim is to control a bumblebee-hive through pd, actually my dream is to be a cuckoo bumblebee (there's a lot of fun... trust me: search for informations) (i'm italian and here we say cucù (same pronounce as cuckoo) as to say &quot;Surprise!&quot;)</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/mworkers.pd" rel="nofollow">http://www.pdpatchrepo.info/hurleur/mworkers.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/9</guid><dc:creator><![CDATA[cian.ltdt]]></dc:creator><pubDate>Wed, 19 Mar 2008 20:25:13 GMT</pubDate></item><item><title><![CDATA[Reply to Savepanel&#x2F;openpanel on Wed, 19 Mar 2008 20:50:51 GMT]]></title><description><![CDATA[<p>yep, found your problem.</p>
<p>there is a giant queen bee from a separate hive sending messages to your male workers and they are eating parts of your patch.</p>
<p>no,</p>
<p>actually your problem is with undefined cable order to your pack object in the male workers patch.</p>
<p>the section where you have number boxes connected to the [pack] object also has those number boxes connected to a [bang]. however, you need to include a trigger to tell the numbers to go to the pack object BEFORE the bang object.</p>
<p>it's annoying, but for every number box, you will need to add [t b f], so that the float gets sent to the [pack] before its first inlet is banged.</p>
<p>please send me some of the honey when your project is finished <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/10</guid><dc:creator><![CDATA[hardoff]]></dc:creator><pubDate>Wed, 19 Mar 2008 20:50:51 GMT</pubDate></item><item><title><![CDATA[Reply to Savepanel&#x2F;openpanel on Sat, 22 Mar 2008 16:53:18 GMT]]></title><description><![CDATA[<p>thanks a lot. right now i'm away from my computer (a sort of holyday away from pd, i was too addicted...) i'll try as soon as possible.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/11</guid><dc:creator><![CDATA[cian.ltdt]]></dc:creator><pubDate>Sat, 22 Mar 2008 16:53:18 GMT</pubDate></item><item><title><![CDATA[Reply to Savepanel&#x2F;openpanel on Wed, 26 Mar 2008 21:28:08 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/cian-ltdt">@cian.ltdt</a> said:</p>
<blockquote>
<p>thanks a lot. right now i'm away from my computer (a sort of holyday away from pd, i was too addicted...) i'll try as soon as possible.</p>
</blockquote>
<p>here i am again, finally. i'm so sorry to tell you wasn't that the problem. anyway i'm really thinking about abandoning this improvement for my project.</p>
<p>... honey's coming...</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/cuckoo_3.0.zip" rel="nofollow">http://www.pdpatchrepo.info/hurleur/cuckoo_3.0.zip</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/1552/savepanel-openpanel/12</guid><dc:creator><![CDATA[cian.ltdt]]></dc:creator><pubDate>Wed, 26 Mar 2008 21:28:08 GMT</pubDate></item></channel></rss>