<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Synapse Support Forums</title>
		<link>http://forums.synapse-wireless.com</link>
		<description>This is a discussion forum powered by vBulletin. To find out about vBulletin, go to http://www.vbulletin.com/ .</description>
		<language>en</language>
		<lastBuildDate>Thu, 17 May 2012 19:49:53 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forums.synapse-wireless.com/images/misc/rss.jpg</url>
			<title>Synapse Support Forums</title>
			<link>http://forums.synapse-wireless.com</link>
		</image>
		<item>
			<title>stumbling over buildroot</title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2154&amp;goto=newpost</link>
			<pubDate>Thu, 17 May 2012 17:34:34 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I've adopted JC's buildroot environbment for the E10 (see http://forums.synapse-wireless.com/showthread.php?t=1796). 
Now I'd like to include...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I've adopted JC's buildroot environbment for the E10 (see <a href="http://forums.synapse-wireless.com/showthread.php?t=1796" target="_blank">http://forums.synapse-wireless.com/s...ead.php?t=1796</a>).<br />
Now I'd like to include the driver Weewx (<a href="http://www.weewx.com/" target="_blank">http://www.weewx.com/</a>) for our DAVIS weather station into the distribution which depends on some python modules these are:<br />
python-configobj <br />
python-serial (already in our tree)<br />
python-cheetah <br />
python-imaging <br />
<br />
So I added the missing requirements plus the driver, compiled it but what came out on the other end, did not include the driver. And I don't know where I messed up... :( Is anyone around that could give me a hand with this?<br />
I uploaded my packa directory to <a href="http://inetgate.ca/public/package.tar.bz2" target="_blank">http://inetgate.ca/public/package.tar.bz2</a><br />
<br />
Help would be appreciated!<br />
<br />
Thank you!<br />
Ron</div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=2">Support Questions</category>
			<dc:creator>reggler</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2154</guid>
		</item>
		<item>
			<title>from RF100 to RF150</title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2153&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 15:19:42 GMT</pubDate>
			<description>Hello 
 
I used the ss200(as bridge for portal) and two RF100 nodes in my application. Everything was working fine. 
 
I wanted to add encryption so...</description>
			<content:encoded><![CDATA[<div>Hello<br />
<br />
I used the ss200(as bridge for portal) and two RF100 nodes in my application. Everything was working fine.<br />
<br />
I wanted to add encryption so I bought two RF150's and programmed them with an AES code.<br />
After doing I added the same AES code in the ss200 and also to the portal.<br />
Now I am only able to see the bridge ss200 node and not the 2 other nodes.<br />
<br />
What can be the problem?<br />
<br />
Thanks in advance</div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=2">Support Questions</category>
			<dc:creator>nvinken</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2153</guid>
		</item>
		<item>
			<title>SPI Communications Problem using RF200</title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2152&amp;goto=newpost</link>
			<pubDate>Mon, 14 May 2012 21:29:13 GMT</pubDate>
			<description>I am having problems with SPI communications.  I have initialized my  SPI interface with cpol=0, cpha=1, MSB first, and 4-wire mode. 
  
 Attached is...</description>
			<content:encoded><![CDATA[<div>I am having problems with SPI communications.  I have initialized my  SPI interface with cpol=0, cpha=1, MSB first, and 4-wire mode.<br />
 <br />
 Attached is a jpg file showing CSB, SCLK, MOSI, and MISO when trying to read CH0_CONFIG Register 0x21 from LMP90100 ADC.<br />
<br />
<br />
Also attached is the snappy script that I am currently running.<br />
<br />
<br />
Anything you see that is obviously wrong?<br />
<br />
<br />
Thanks.</div>


	<br />
	<div style="padding:6px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://forums.synapse-wireless.com/images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://forums.synapse-wireless.com/attachment.php?attachmentid=428&amp;d=1337030591">BitScope02.jpg</a> (36.6 KB)</td>
</tr>
			</table>
			</fieldset>
	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://forums.synapse-wireless.com/images/attach/py.gif" alt="File Type: py" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://forums.synapse-wireless.com/attachment.php?attachmentid=429&amp;d=1337030871">LMP90100.py</a> (10.1 KB)</td>
</tr>
			</table>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=2">Support Questions</category>
			<dc:creator>hheinreich</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2152</guid>
		</item>
		<item>
			<title>Global variables exposed!</title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2151&amp;goto=newpost</link>
			<pubDate>Mon, 14 May 2012 02:36:38 GMT</pubDate>
			<description><![CDATA[One of the biggest limitations in SNAPpy debugging is the lack of any  built-in way to examine your script's state.  You can certainly add  functions...]]></description>
			<content:encoded><![CDATA[<div>One of the biggest limitations in SNAPpy debugging is the lack of any  built-in way to examine your script's state.  You can certainly add  functions that print out the values of global variables, but unless  you're careful to make every single variable available that way, you're  not necessarily going to be able to see the one you need when something  unexpected happens.  Here's an alternative I've come up with -  basically, an automatic generator of a function that will dump EVERY  global variable in your script.  It talks directly to Portal, so is  usable even if STDOUT is in use for something else.  My highest priority  was to minimize the size of the generated code, so that you can afford  to leave the global dumper in your script permanently - for example, the  actual names of your globals are cached on the PC, rather than being  embedded in the script.  The overhead is roughly 190 bytes, plus 6 bytes  per global variable - with the maximum of 64 globals, that's 4.3% of a  RF100's script space.  The dumper does require one global variable of  its own, but does not interfere with any of your hook functions.<br />
<br />
There are two parts to the dumper - first, add this to your Portal script:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">def varDump(image, idx, val):<br />
&nbsp; &nbsp; import wx, os, cPickle<br />
&nbsp; &nbsp; dir = wx.StandardPaths.Get().GetConfigDir()<br />
&nbsp; &nbsp; try:<br />
&nbsp; &nbsp; &nbsp; &nbsp; names = cPickle.loads(open(os.path.join(dir, image + &quot;.pkl&quot;), &quot;rb&quot;).read())<br />
&nbsp; &nbsp; except:<br />
&nbsp; &nbsp; &nbsp; &nbsp; names = []<br />
&nbsp; &nbsp; if isinstance(val, str):&nbsp; &nbsp; # make sure it's human-readable<br />
&nbsp; &nbsp; &nbsp; &nbsp; #val = &quot;%r [%s]&quot; % (val, binascii.hexlify(val).upper())<br />
&nbsp; &nbsp; &nbsp; &nbsp; val = &quot;%r [%s]&quot; % (val, &quot; &quot;.join(&quot;%02X&quot; % ord(c) for c in val))<br />
&nbsp; &nbsp; elif type(val) is int:<br />
&nbsp; &nbsp; &nbsp; &nbsp; val = &quot;%d [0x%04X]&quot; % (val, val &amp; 0xFFFF)<br />
&nbsp; &nbsp; if idx &gt;= len(names):<br />
&nbsp; &nbsp; &nbsp; &nbsp; print &quot;%s: unknown var #%d = %s&quot; % (remoteNode.name, idx, val)<br />
&nbsp; &nbsp; else:<br />
&nbsp; &nbsp; &nbsp; &nbsp; print &quot;%s: %s = %s&quot; % (remoteNode.name, names[idx], val)<br />
&nbsp; &nbsp; rpc(remoteAddr, &quot;dumpVars&quot;, idx + 1)<br />
<br />
def _dumpVars(proto):<br />
&nbsp; &nbsp; import re, wx, os, cPickle, new<br />
&nbsp; &nbsp; names = set()<br />
&nbsp; &nbsp; for fn in proto.func_globals.itervalues():<br />
&nbsp; &nbsp; &nbsp; &nbsp; if type(fn) == type(proto):<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fn = fn.func_code<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Find all STORE_GLOBAL (0x61) opcodes in each function.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Opcodes below 0x5A have no operand, 0x5A and above have two bytes.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for m in re.finditer(r&quot;[\x00-\x59]+|[\x5A-\x60\x62-\xFF]..|\x61(..)&quot;, fn.co_code, re.DOTALL):<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if m.group(1):<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; names.add(fn.co_names[ord(m.group(1)[0]) + ord(m.group(1)[1]) * 256])<br />
&nbsp; &nbsp; # If any of your globals contain problematic values (tuples, functions, large strings),<br />
&nbsp; &nbsp; # you can filter them out here:<br />
&nbsp; &nbsp; #names.discard(&quot;MyTuple&quot;)<br />
&nbsp; &nbsp; names = list(names)<br />
&nbsp; &nbsp; names.sort()<br />
&nbsp; &nbsp; #print names<br />
&nbsp; &nbsp; if not names:&nbsp;  # make sure we handle a complete lack of globals gracefully<br />
&nbsp; &nbsp; &nbsp; &nbsp; exec compile(&quot;&quot;&quot;def dumpVars():<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 'no globals' &quot;&quot;&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; proto.func_code.co_filename, &quot;exec&quot;) in proto.func_globals<br />
&nbsp; &nbsp; &nbsp; &nbsp; return<br />
&nbsp; &nbsp; dir = wx.StandardPaths.Get().GetConfigDir()<br />
&nbsp; &nbsp; try:<br />
&nbsp; &nbsp; &nbsp; &nbsp; os.mkdir(dir)<br />
&nbsp; &nbsp; except OSError: # already existed<br />
&nbsp; &nbsp; &nbsp; &nbsp; pass<br />
&nbsp; &nbsp; image = os.path.splitext(os.path.basename(proto.func_code.co_filename))[0]<br />
&nbsp; &nbsp; if image != &quot;&lt;string&gt;&quot;:<br />
&nbsp; &nbsp; &nbsp; &nbsp; open(os.path.join(dir, image + &quot;.pkl&quot;), &quot;wb&quot;).write(cPickle.dumps(names))<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; # Our template function:<br />
&nbsp; &nbsp; script = &quot;&quot;&quot;def dumpVars(n):<br />
&nbsp; &nbsp; &nbsp; &nbsp; &quot;Leave parameter blank to dump all globals&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; # Parameter 'n' is:<br />
&nbsp; &nbsp; &nbsp; &nbsp; #&nbsp;  None (or any false value) on the user's original invocation.<br />
&nbsp; &nbsp; &nbsp; &nbsp; #&nbsp;  Successive integers for the callbacks from Portal to get another global.<br />
&nbsp; &nbsp; &nbsp; &nbsp; #&nbsp;  The global variable's value, when dumpVars calls itself for each global<br />
&nbsp; &nbsp; &nbsp; &nbsp; #&nbsp; &nbsp; &nbsp;  (in which case _dv_seq contains the requested index in the low byte,<br />
&nbsp; &nbsp; &nbsp; &nbsp; #&nbsp; &nbsp; &nbsp;  and a countdown in the high byte to identify the right value).<br />
&nbsp; &nbsp; &nbsp; &nbsp; global _dv_seq<br />
&nbsp; &nbsp; &nbsp; &nbsp; if _dv_seq is None:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _dv_seq = n * 257 if n else 0<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # The line below gets expanded into a series of chained calls,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # one for each global variable.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dumpVars(%s)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _dv_seq = None&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; else:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if not _dv_seq &gt;&gt; 8:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rpc(rpcSourceAddr(), 'varDump', imageName(), _dv_seq, n)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _dv_seq -= 256<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return dumpVars&quot;&quot;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; script = script % &quot;)(&quot;.join(names)<br />
&nbsp; &nbsp; #print script<br />
&nbsp; &nbsp; proto.func_globals[&quot;_dv_seq&quot;] = None<br />
&nbsp; &nbsp; exec compile(script, proto.func_code.co_filename, &quot;exec&quot;) in proto.func_globals</code><hr />
</div>Then, add this line at the very bottom of every script you want to add the dumpVars() function to:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&quot;dumpVars support:&quot;; import snaplib;&nbsp; (snaplib.ScriptsManager.getPortalFunction(&quot;_dumpVars&quot;) or str)(lambda x:&nbsp; 0); del snaplib</code><hr />
</div>This has to go below all functions that use  global variables, and can't go in an imported file unless you're only  interested in variables from that file.  If the Portal functions aren't  loaded, the line is ignored without error, so you can safely distribute  the script by itself.<br />
<br />
To use, just click dumpVars() in the node's function list in Portal,  click OK with the parameter field left blank, and watch the event log.   Or, you can enter a number for the parameter to start with that line of  the globals listing - see below for some reasons you might need to do  that.<br />
<br />
Known limitations:<br />
<ul><li>This is using some undocumented internal details of Portal, so could easily break under a different version.</li>
<li>Values  too big to fit in a packet aren't currently handled.  This is most  likely on a platform like the RF200 with extra-large string buffers, but  could happen on any platform if you initialize a global variable with a  long string constant (which can be up to 255 characters).  This aborts  the listing, you can enter a parameter to restart the listing from a  later point.</li>
<li>Globals with a value that's a tuple or user-defined  function cannot be displayed, since those types aren't RPC-able.  Again,  enter a parameter to skip them, or edit the Portal script to remove the  problem variables from the 'names' list.  (Built-in functions seem to  work just fine.)</li>
</ul></div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=7">SNAPpy Script Exchange</category>
			<dc:creator>jasonharper</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2151</guid>
		</item>
		<item>
			<title>Data Logger - auto-scaling - Portal 2.4.32</title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2150&amp;goto=newpost</link>
			<pubDate>Sun, 13 May 2012 21:50:35 GMT</pubDate>
			<description><![CDATA[Hi, 
 
Unless I'm doing something incorrectly, it seems that the horizontal auto-scaling functionality of the data logger in Portal 2.4.32 (Beta)...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
Unless I'm doing something incorrectly, it seems that the horizontal auto-scaling functionality of the data logger in Portal 2.4.32 (Beta) doesn't work. I must move the scroll bar at the bottom of the window to see all logged data.<br />
<br />
Vertical scaling functionality works well as specified in code.<br />
<br />
Cheers,<br />
<br />
Pix</div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=2">Support Questions</category>
			<dc:creator>pixpeg</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2150</guid>
		</item>
		<item>
			<title><![CDATA[my portal can't start any more!!!]]></title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2149&amp;goto=newpost</link>
			<pubDate>Fri, 11 May 2012 15:05:31 GMT</pubDate>
			<description>When I try to update the software version and found that it can not be started.Softwareicon appears after a period of time, and then nothing...</description>
			<content:encoded><![CDATA[<div><font color="#333333">When I try to update the software version and found that it can not be started.Softwareicon appears after a period of time, and then nothing happens.Seems to be missingsome files so can not start ......</font><br />
<font color="#333333"><font color="#000000">can someone  help me please?:confused:</font></font></div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=2">Support Questions</category>
			<dc:creator>caobaocheng</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2149</guid>
		</item>
		<item>
			<title>Is anyone who are using Portal Chinese,or good at Chinese?</title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2148&amp;goto=newpost</link>
			<pubDate>Thu, 10 May 2012 15:55:07 GMT</pubDate>
			<description><![CDATA[Is anyone who are using Portal Chinese,or good at Chinese? 
I'm having a emergency about this software! May you can help me! 
I will appreciate it!...]]></description>
			<content:encoded><![CDATA[<div><font face="Arial"><font size="4"><font color="red"><font color="#000000"><font face="Arial"><font size="4"><font color="red">Is anyone who are using Portal Chinese,or good at Chinese?</font></font></font><br />
<font face="Arial"><font size="3">I'm having a <font color="#000000">emergency about this software! May you can help me!</font></font></font><br />
<font face="Arial"><font size="3"><font color="#000000">I will <font color="#000000">appreciate it! Thanks a lot !</font></font></font></font><br />
<font face="Arial"><font size="3"><font color="#000000"><font color="#000000">Or if you can introduce someone who can speak Chinese to help me,that will also help me a lot !</font></font></font></font><br />
<font face="Arial"><font size="3"><font color="#000000"><font color="#000000">My email address is <a href="mailto:412577218@QQ.COM"><font color="#0066cc">412577218@QQ.COM</font></a> </font></font></font></font><br />
<font face="Arial"><font size="3"><font color="#000000"><font color="#000000">And you can also contact me on QQ 412577218 :)</font></font></font></font></font><br />
</font></font></font></div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=2">Support Questions</category>
			<dc:creator>caobaocheng</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2148</guid>
		</item>
		<item>
			<title><![CDATA[Portal can't find platforms.py]]></title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2144&amp;goto=newpost</link>
			<pubDate>Wed, 09 May 2012 17:29:14 GMT</pubDate>
			<description><![CDATA[Hi all, 
 
I created a script on my own computer (Mac) and then transferred it over to a PC. It seems that the PC doesn't recognize platforms.py. The...]]></description>
			<content:encoded><![CDATA[<div>Hi all,<br />
<br />
I created a script on my own computer (Mac) and then transferred it over to a PC. It seems that the PC doesn't recognize platforms.py. The computer finds other files in the synapse module (from synapse.switchboard import * works fine), and platforms.py exists where it's supposed to, but none of the scripts on that computer can find it. I've checked for hidden extensions and there aren't any. Since scripts natively created on the PC can't find it, I've ruled out any Mac/PC translation issues.<br />
<br />
I replaced the __init__.py file with a known good file from my computer, in case it had been edited in Windows and contained spurious characters or extensions. No change.<br />
<br />
The specific error I get is &quot;No module named synapse.platforms&quot;.<br />
<br />
Any thoughts?<br />
<br />
Andrew</div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=2">Support Questions</category>
			<dc:creator>greenflight</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2144</guid>
		</item>
		<item>
			<title>RF200 antenna</title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2143&amp;goto=newpost</link>
			<pubDate>Wed, 09 May 2012 14:43:59 GMT</pubDate>
			<description>Is there any recommend antenna for rf200 module? 
or just use any 2.4 GHz antenna in WIFI market. 
 
Please advice.</description>
			<content:encoded><![CDATA[<div>Is there any recommend antenna for rf200 module?<br />
or just use any 2.4 GHz antenna in WIFI market.<br />
<br />
Please advice.</div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=2">Support Questions</category>
			<dc:creator>sirisak2029</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2143</guid>
		</item>
		<item>
			<title>User-defined modules in subdirectories</title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2142&amp;goto=newpost</link>
			<pubDate>Tue, 08 May 2012 21:00:27 GMT</pubDate>
			<description><![CDATA[Hi guys, 
 
I'm working on a script that has some very modular components that it makes sense to split off into their own file so they may be used in...]]></description>
			<content:encoded><![CDATA[<div>Hi guys,<br />
<br />
I'm working on a script that has some very modular components that it makes sense to split off into their own file so they may be used in other scripts. I'd like to store modules like this in their own subdirectory in my snappyImages folder, so that they're easy to reference and transfer and don't clutter up my scripts folder.<br />
<br />
When I do this, with stuff.py saved in the snappyImages directory, things seem to work OK:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">from stuff import *</code><hr />
</div>When I do this, however, with stuff.py stored in the snappyImages/myDirectory folder, Portal complains about not being able to find a module named &quot;myDirectory&quot;:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">from myDirectory.stuff import *</code><hr />
</div>Is there something I'm missing about how imports work?<br />
<br />
Thanks,<br />
<br />
Andrew</div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=2">Support Questions</category>
			<dc:creator>greenflight</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2142</guid>
		</item>
		<item>
			<title><![CDATA[rpc's get lost?]]></title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2141&amp;goto=newpost</link>
			<pubDate>Mon, 07 May 2012 18:50:28 GMT</pubDate>
			<description>I have an odd problem that is driving me just crazy the past days and I cannot figure it out. Here is the problem: 
1. i have 3 identical SNAP nodes...</description>
			<content:encoded><![CDATA[<div>I have an odd problem that is driving me just crazy the past days and I cannot figure it out. Here is the problem:<br />
1. i have 3 identical SNAP nodes each having a procedure to find the portal and measure the Voltage (and pass it back to the portal). the modules are programmed to look for the portal on startup<br />
<br />
def ReturnVoltage():<br />
    rpc(rpcSourceAddr(), &quot;tellVoltage&quot;, readAdc(19))<br />
def findBase():<br />
    mcastRpc(1,5,'findBase')<br />
def baseAt(addr):<br />
    global portalAddr<br />
    portalAddr = addr[:]<br />
<br />
2. in the portal i have<br />
def findBase(self):<br />
        self.snap.rpc(self.snap.rpcSourceAddr(), 'baseAt', self.address)<br />
        self.snap.rpc(self.snap.rpcSourceAddr(), 'ReturnVoltage', 19)<br />
<br />
def tellVoltage(self, value):<br />
    print str(value) + &quot; from &quot; + str(self.snap.rpcSourceAddr().encode(&quot;hex&quot;))<br />
<br />
When I startup all the nodes I almost NEVER get all three voltages. Something happens to the voltage requests. Moreover, it takes forever to get the values. What is happening to the voltage requests.<br />
<br />
I have tried simply running ReturnVoltage via portal or via a simpler script and it works perfectly. Runs immediately.<br />
Thanks.</div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=2">Support Questions</category>
			<dc:creator>aramhovsepyan</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2141</guid>
		</item>
		<item>
			<title>Rf300</title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2140&amp;goto=newpost</link>
			<pubDate>Mon, 07 May 2012 17:00:04 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I was wondering how much current an RF300 radio can supply on one singlee GPIO pin? Didn't find the info in the datasheet... 
Thanks, 
Ron]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I was wondering how much current an RF300 radio can supply on one singlee GPIO pin? Didn't find the info in the datasheet...<br />
Thanks,<br />
Ron</div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=11">SNAP Link Support</category>
			<dc:creator>reggler</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2140</guid>
		</item>
		<item>
			<title>E10 Polling Framework</title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2139&amp;goto=newpost</link>
			<pubDate>Sun, 06 May 2012 16:43:06 GMT</pubDate>
			<description><![CDATA[I'm trying to use the polling framework example on the E10. I am able to find nodes in the network with the polling_benchmark example, but when I try...]]></description>
			<content:encoded><![CDATA[<div>I'm trying to use the polling framework example on the E10. I am able to find nodes in the network with the polling_benchmark example, but when I try to get data, the E10 does not see any nodes. I am trying to use the get_data_all_nodes function. I can see the remote nodes responding to the data request on Sniffer. The RF100 engine that is set as 'Bridge' sees the data coming in, and it tries to call the 'get_data_result' function on the E10, but that function is never called - I have a print statement as the first line in the get_data_result and nothing prints - it appears the E10 doesnt see the call to get_data_result at all. Has anyone worked with the polling_benchmark.py example?</div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=18">E10 Linux Environment</category>
			<dc:creator>vks_01</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2139</guid>
		</item>
		<item>
			<title>comparing LQ when txPwr are different</title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2138&amp;goto=newpost</link>
			<pubDate>Fri, 04 May 2012 20:11:56 GMT</pubDate>
			<description>Hi, 
I am trying to determine if a mobile node is getting too close to a stationary node. I am doing a Ping/Ack/Nack  initiated on the mobile and I...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I am trying to determine if a mobile node is getting too close to a stationary node. I am doing a Ping/Ack/Nack  initiated on the mobile and I capture all 3 LQ and returning it in the nack to the stationary device.<br />
<br />
mobile ==ping ==&gt;  stationary : lqPing=70<br />
stationary  ==Ack==&gt; mobile   : lqAck =69<br />
mobile ==Nack==&gt;stationary   : lqNack =71<br />
<br />
My thought is that I can compare the lqPing, lqAck and lqNack to do a sanity check to make sure they are at least consistant.  <br />
<br />
Is this a valid Assumption?<br />
<br />
Now for the Zinger<br />
If it is a valid assumption,  what happens if they are using different txPwr() settings? in this case txPwr(0) and txPwr(17) on sm200.  Is there a math formulat htat can be determined from these?<br />
<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=2">Support Questions</category>
			<dc:creator>TalMcMahon</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2138</guid>
		</item>
		<item>
			<title>uploading new snap image on OSX</title>
			<link>http://forums.synapse-wireless.com/showthread.php?t=2137&amp;goto=newpost</link>
			<pubDate>Fri, 04 May 2012 17:04:36 GMT</pubDate>
			<description>Hi, 
 
9 out of 10 times I am trying to upload a new snap image on OSX this operation fails rendering my snap module completely unworkable. It seems...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
9 out of 10 times I am trying to upload a new snap image on OSX this operation fails rendering my snap module completely unworkable. It seems to erase the previous image but not to upload the new image correctly.<br />
Via a windows machine it works fine, but every time I would like to upload a new image I have to make the snap stick work in USB mode upload the image then make the snap stick work back in RS32 mode and test it.<br />
Any help would be appreciated.<br />
Thanks a lot.</div>

]]></content:encoded>
			<category domain="http://forums.synapse-wireless.com/forumdisplay.php?f=2">Support Questions</category>
			<dc:creator>aramhovsepyan</dc:creator>
			<guid isPermaLink="true">http://forums.synapse-wireless.com/showthread.php?t=2137</guid>
		</item>
	</channel>
</rss>

