Don’t forget that in the Python language ‘True’ and ‘False’ are case sensitive (with the
first letter capitalized)
You can also expand the tree of functions defined by each module (in other words, by
each SNAPpy source file).
Here you can see the various functions defined in the “McastCounter.py” SNAPpy script.
Like the built-in functions, these can also be directly invoked by clicking on them (and
entering any needed parameters).
The Node Info tabbed window also has its own toolbar. Most of the toolbar functions
will be discussed later, but one is of particular importance to us now; “Upload SNAPpy
Image”.
Uploading SNAPpy Images
The “multicast counter” script was preloaded merely as a convenience to the user. You
can overwrite these default scripts with other scripts from the set of example scripts
included with Portal, or even with your own custom scripts.
We’ve already tried out the “multicast counter” functionality in the first demonstration,
so now let’s override that behavior with some different ones. To do that, we will assign
new “behavior” by giving each node a new SNAPpy Image.
Select the node with Device Type “Buzz” in the Node Views panel (This is the type given
to the Proto Board). Then, in the Node Info panel, select “Upload SNAPpy Image”
. (If
the button is disabled, it means Portal does not know enough about the node to enable it
to lad a script into it. Click the “Refresh Node Information”
button, and after the node
information refreshes the “Upload SNAPpy Image” button should be enabled.)
EK2100 Users Guide-v1.5
Page 31
of 53
相关PDF资料
EK2400 EVALUATION KIT W/INTERNET CTRL
EK2505 EVAL KIT FOR SNAP MESH NETWORKNG
EK4150-01 EVAL KIT FOR 4150
EK42440-01 KIT EVAL FOR 42440 RF SWITCH
EK42451-01 KIT EVAL FOR 42451 RF SWITCH
EK4250-01 KIT EVAL FOR 4250 RF SWITCH
EK4251-01 KIT EVAL FOR 4251 RF SWITCH
EK42552-01 KIT EVAL FOR 42552 RF SWITCH
相关代理商/技术参数
EK2100-220 功能描述:SNAP EVALUATORS KIT 制造商:synapse wireless 系列:SNAP? Network 零件状态:在售 类型:收发器,SNAP 频率:- 配套使用产品/相关产品:RF220, SN132, SN171 所含物品:4 个板,配件 标准包装:1
EK21011 制造商:Greenlee Textron Inc 功能描述:CRIMP TOOL, Connector Type:DSV, Crimp Cycle Time:2s, Crimping Force:2900lb, For
EK21012 制造商:Greenlee Textron Inc 功能描述:CRIMP TOOL, Connector Type:DSV, Crimp Cycle Time:2s, Crimping Force:2900lb, For
EK210-12 制造商:Greenlee Textron Inc 功能描述:
EK21022 制造商:Greenlee Textron Inc 功能描述:CRIMP TOOL, Connector Type:DSV, Crimp Cycle Time:2s, Crimping Force:2900lb, For
EK210-22 制造商:Greenlee Textron Inc 功能描述:
EK210L11 制造商:GREENLEE TOOL CO 功能描述:CRIMP TOOL, BAT 1.5T 120V CHRGR
EK210L12 制造商:Greenlee Textron Inc 功能描述:CRIMP TOOL, BAT 1.5T 12V CHRGR