参数资料
型号: EK2100
厂商: Synapse Wireless
文件页数: 46/53页
文件大小: 0K
描述: KIT STARTER SNAP PRO
标准包装: 1
系列: SNAP™ Network
类型: 网状网络
频率: 2.4GHz
适用于相关产品: SNAP? 网络
已供物品: 板,模块,电池,文档,电源
其它名称: 746-1019
Advanced Functionality:
Ok. We’ve reached a point where we want to step it up a notch.
The next section describes functionality that is available to the user, but is not necessarily
a part of the Portal software application.
WARNING: What lies ahead is something we feel is extremely powerful and, as such,
something we should at least touch on. However, it is not for the faint of heart. It involves
a little bit of computer science and programming knowledge. So, proceed with caution….
The SNAPpy scripts that run on each node are based on a sub-set of the Python
programming language. (More on Python can be found at www.python.org). A Python
interpreter is already running in order to support Portal. This includes a python open-
source library called wxPython that provides Graphical User Interface (GUI) support
(Info at: wxpython.org).
The fact that Portal is already running this library allows us to dip into the same
functionality. We can create our own custom graphical output through Python scripts
running on the Portal Node.
What you are about to see is NOT a part of Portal, but is a library extension available
through Portal. In fact, you can install and run Python with the wxPython libraries on any
PC. Portal does not need to be installed to use them.
Demonstration 4b: The Many-Meter extended
That being said, let’s continue with the Many-Meter example we should already have up
and running.
Note : In the previous demonstrations we have only uploaded scripts to SNAP
devices (i.e. the devices containing SNAP Engines). However, the Portal
software is also a node in the SNAP network, using the connected bridge node
to send and receive network traffic.
Step 1 – Switch back to the Node View pane in Portal. Select the Portal node and
Upload the script named “PortalManyMeter.py” using the “Change Portal Base File”
( ) button. This file will be located in the “My Documents\Portal” folder. 2
Step 2 – From the same Node View , verify that the Proto Board (node with the Device
2
Portal scripts are not, by default, in the same directory as SNAPpy scripts. Portal is capable of loading any
Python script you wish to run, so you can navigate to any location on your system to load a script into
Portal, while SNAPpy scripts are selected from a specific directory.
EK2100 Users Guide-v1.5
Page 46
of 53
相关PDF资料
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
相关代理商/技术参数
参数描述
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