亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? readme

?? 傳感器網絡中的嵌入式操作系統源代碼
??
字號:
TinyViz - The TinyOS Simulator GUINelson Lee, Matt Welsh, Phil Levis, and Dennis ChiTinyViz is an extensible GUI for TOSSIM/Nido, the TinyOS simulator. Itallows you to visualize and debug the operation of TinyOS programs. Youcan write your own GUI "plugins" to extend the basic functionality ofthe UI. TinyViz also supports a batch mode, allowing you to set upparameters for your plugin, run it automatically, and log all of themessages and events produced by the simulation into a file.To compile TinyViz:1) Be sure that you have compiled the files in net/tinyos/message:     cd net/tinyos/message     make2) Simply type "make" in this directory:     cd net/tinyos/sim     make3) TinyViz can be compiled into an executable JAR file that contains all   of the classes, images, and other components required for exection.   Using this JAR file eliminates any worries about CLASSPATH setup; the   JAR file contains all of the required classes.       To build the JAR file, type:     make jarfileTo run TinyViz,1) Start up your simulation with the "-gui" command line opetion. For   example,     cd apps/CndToLeds     make pc     ./build/pc/main.exe -gui 10   The simulation will not start until the GUI has connected to it.    It will print:   SIM: Created server socket waiting for client connection on port 10840.2) In another window, start up TinyViz:     java -jar tinyviz.jar   The TinyViz window will pop up. Pressing the "play" button will start   the simulation; pressing the "pause" button will cause it to pause.   Sliding the "delay" slider will slow down the rate at which events   are processed from the simulation.    Currently, the mote location in the TinyViz display is meaningless.   TinyViz places the motes in random locations on the screen. You can   move the motes around; eventually this will send feedback to TOSSIM   itself as to the "real" location of the motes.    To get useful information from the GUI, you need to enable one or   more "plugins", by selecting them from the Plugins menu. There are   several plugins included with TinyViz by default:          DebugMsgPlugin - Shows the debug messages in a window      RadioLinkPlugin - Visualize radio connectivity of motes      MotePacketPlugin - Show the radio messages sent by motes      BreakpointPlugin - Cause the GUI to pause when an event occurs   Enabling a plugin from the "Plugins" menu allows you to configure   that plugin using the controls on the right-hand window. For example,   with DebugMsgPlugin enabled, you can select motes from the display   and click the "Selected motes only" box to see debug messages only   from the selected motes.Note that the debug messages received by TinyViz are those selectedusing the 'DBG' environment variable when you run TOSSIM itself. So, ifyou want to see LEDS and AM debug messages in TinyViz, you need to start up TOSSIM using:   DBG=led,am ./build/pc/main.exe -gui 10It does not matter what order you start up TOSSIM and TinyViz. Also, you can restart TOSSIM without restarting TinyViz, and vice versa: when TOSSIMis run with the "-gui" command line option, it will not run unlessTinyViz is connected to it. If the connection to TOSSIM is broken or cannot be established, the "Play" button will show a picture of a broken socket. Pressing the button will attempt to reconnect to the simulator. If you restart TOSSIM, the simulator state will becleared out of TinyViz, but your other settings (e.g., breakpoints) willremain entact.TinyViz starts up a serial forwarder automatically, so that moteapplications that want to talk to the simulated basestation (likeSurge) can do so. (Use the "-nosf" command line argument to TinyViz tosuppress starting up the SerialForwarder. You can always start aSerialForwarder manually using the "Nido serial" data source.)For example, to run the Surge3 demo in TinyViz:1) Build the Surge application code:     cd broken/experimental/mdw/surge3/apps/Surge     make pc2) Build the Surge Java GUI:     cd ../../tools/java/net/tinyos/surge     make3) Start up the Surge TOSSIM application:     DBG=usr1 /build/pc/main.exe -gui 104) In a separate window, start up TinyViz:     java -jar tinyviz.jar5) Finally, in yet another window, start up the Surge GUI:     java net.tinyos.surge.MainClass 0x11   (Replace '0x11' with the AM group ID used in the Surge app itself.)It's important to start the applications in this order, since TinyVizmust connect to Surge, and the Surge GUI must connect to TinyViz (forthe serial forwarder).6) Click the 'play' button in TinyViz. You should see the motes. Enable   plugins as needed.7) Click on "Start root beacon" in the Surge GUI. This will start the   root beacon, causing the Surge motes to "wake up" and start sending   packets.WRITING TINYVIZ PLUGINS-----------------------You can (and are encouraged to) write your own plugins to TinyViz thatmanipulate or visualize the simulation in various ways. Rather thanplacing your plugin code in the 'plugins' directory, however, considerco-locating the plugin code with your application. This makes pluginseasier to maintain and avoids polluting the TinyViz code tree with lotsof app-specific code. (Of course, if your plugin is generally useful itwould be great to have it in the main tree.)Use the "-plugins" command line option to add directories to the pluginsearch path for TinyViz. For example,   java -jar tinyviz.jar -plugins /home/mdw/plugins:/home/nalee/pluginsadds these two directories to the list that is searched for plugins. AllJava classes that subclass net.tinyos.sim.Plugin are added to theplugins list available to TinyViz.To write your own plugin, use RadioLinkPlugin.java as an example.You can store information about motes by setting and retrievingattributes on the MoteSimObjects themselves; this allows multipleplugins to share information (rather than maintaining internal stateabout each mote). Feel free to paint all over the MotePanel, but realizethat you don't have control over which order plugins draw in. Everyplugin is provided a JPanel called "pluginPanel" that you can use to addcontrols, widgets, or other information specific to your plugin; theuser can view this panel by clicking on the appropriate tab on theright-hand side of the window.     THE TOSSIM-TINYVIZ PROTOCOL ---------------------------Communication between TOSSIM and TinyViz is greatly simplified.TOSSIM listens on two ports: the "command port" (10584) and the "eventport" (10585). Any number of clients can connect to either of theseports, and there is no requirement that a particular client programconnect to both ports at once. The event port is used to send events from TOSSIM to clients, such asdebug messages, radio messages, ADC readings, and so forth. The commandport is used to send commands into TOSSIM from clients, such as turningmotes on and off, setting ADC channel values, and so forth. The format of the messages is defined in the file tos/platform/pc/GuiMsg.h.The corresponding Java implementation of this protocol is inSimProtocol.java. In general, you should ALWAYS use SimProtocol.java tocommunicate with TOSSIM from Java applications. If you find yourselfwriting another protocol library, think twice. Invariably these thingsbreak or drift away from the "official" protocol implementation overtime; it is best to use the same library as everyone else.TOSSIM waits for a single-byte ACK for every event message that itgenerates. This allows clients to throttle the speed at which TOSSIMruns, by delaying this ACK. Note that if multiple clients are connectedto TOSSIM's event port, it will wait for an ACK for each one. In generalclients should send the ACK immediately. Commands sent from clients toTOSSIM via the command port are not acknowledged.GuiMsg.h defines the event and command types supported by TOSSIM.THINK TWICE BEFORE ADDING NEW EVENT AND COMMAND TYPES. Our hope is tohave a VERY small number of message types that cover most of the bases.Adding a new message type is somewhat painful, requiring changes inseveral places to ensure that everything is consistent. We use MIG togenerate the Java wrappers for each message type but there are somewrinkles that Rather than adding application-specific message types, ask whether youcan accomplish the same thing using radio or debug messages with aspecial format. If you absolutely need a new message type in GuiMsg.h,talk to us (via mdw@eecs.harvard.edu) and we will discuss your needs.AUTORUN MODE------------The so-called "autorun" mode of TinyViz allows you to run one or moresimulations in batch mode and log the results to a file. During the run,the GUI is active and you are free to watch, interact with, pause, etc.the simulation if you wish. You can write TinyViz plugins to gatherstatistics during the run or interact with the running simulation, forexample, by setting sensor values. Plugins operate just as they doduring interactive use of TinyViz.First, create an autorun configuration file - there is an example herecalled "test.autorun". Read this file carefully - the comments explainthe format. Essentially, you set up the various parameters for the run(TOSSIM executable, number of motes, etc.) and specify a log file to logall of the received events to. For example,  logfile LOG.1  executable /home/apps/whatever/build/pc/main.exe  plugin RadioLinkPlugin  nummotes 16runs the given simulation with 16 motes, enables the RadioLinkPlugin, and logs results to the file LOG.1. Multiple simulation runs can be specified in the file, in which case asimulation needs to terminate either by:  (a) Specifying the total number of virtual seconds to run, using "numsec";  (b) Specifying a substring match on debug messages that stops the      simulation; or  (c) You pressing the "stop" button in the GUI.All options specified in the configuration file are passed to pluginsusing the OptionSetEvent event, which consists of two fields: "name" and"value". For example, the line:  radiomodel disc100sets the "radiomodel" option to the value "disc100". If your pluginunderstands this option it can use this information to configure itselffor the simulation run.Since all messages are logged to the logfile, you can write scripts toprocess the results off-line, for example, to count the number of radiomessages or gather other statistics about the run.To use autorun mode, run:   java -jar tinyviz.jar -autorun <autorun_config_file>where <autorun_config_file> is the config file you created, above.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲另类在线视频| 日韩精品亚洲专区| ...中文天堂在线一区| 精品国产露脸精彩对白| 国产精品人成在线观看免费| 日本一区二区电影| 亚洲午夜精品网| 国产精品99久久久久久有的能看| www.日韩精品| 欧美专区日韩专区| 日韩一区二区精品| 亚洲国产精品t66y| 亚洲一级电影视频| 韩国一区二区在线观看| 99久久精品免费看国产免费软件| 欧美色图在线观看| 日韩一级欧美一级| 中文字幕欧美激情| 日韩精品免费视频人成| 久久精品国产精品亚洲综合| 国内精品在线播放| 欧美日韩国产一级二级| 国产日韩综合av| 日韩精品电影在线| 欧美伊人精品成人久久综合97 | 国产一区二区三区蝌蚪| eeuss鲁片一区二区三区在线看| 欧美在线短视频| 国产精品区一区二区三区| 久久精品国产亚洲高清剧情介绍| 成人动漫av在线| 精品日韩欧美一区二区| 调教+趴+乳夹+国产+精品| 高清av一区二区| 日韩免费视频一区| 亚洲成人动漫在线观看| a级高清视频欧美日韩| 亚洲国产成人在线| 国产精品77777| 国产精品色哟哟网站| 久久国产三级精品| 欧美精品在线视频| 亚洲第四色夜色| 欧美午夜精品一区二区三区| 亚洲国产精品成人久久综合一区| 极品尤物av久久免费看| 精品久久久久一区二区国产| 亚洲成人激情社区| 欧美疯狂性受xxxxx喷水图片| 亚洲精品成人精品456| 在线精品观看国产| 日韩高清不卡一区二区三区| 欧美亚一区二区| 日本sm残虐另类| 日韩免费看的电影| 国产精品456露脸| 中文字幕一区二区三区四区 | 国产日韩欧美精品在线| 国产中文字幕精品| 亚洲欧美色图小说| 欧美日韩电影在线| 精品一区二区在线观看| 久久久久久久久免费| 99精品欧美一区二区三区小说| 亚洲图片激情小说| 欧美日韩久久久| 不卡区在线中文字幕| 亚洲第一久久影院| 国产视频一区在线播放| 97久久精品人人爽人人爽蜜臀| 午夜在线电影亚洲一区| 亚洲精品一区二区三区影院| 成人免费电影视频| 久久精品国产久精国产| 亚洲午夜电影网| 久久婷婷国产综合精品青草| 91国在线观看| 国产成人精品亚洲777人妖| 亚洲国产毛片aaaaa无费看| 久久久精品tv| 欧美一区二区在线视频| 色88888久久久久久影院野外 | 精品国产91久久久久久久妲己 | 国产亚洲欧美一级| 91精品视频网| 一本久久精品一区二区| 国产精品乡下勾搭老头1| 亚洲mv在线观看| 一区二区免费在线| 国产欧美一区二区在线| 精品日韩99亚洲| 欧美福利视频一区| 日韩一级片在线播放| 欧美日韩中文一区| 欧美系列在线观看| 欧美亚洲国产怡红院影院| 成人av在线网站| 成人精品视频一区| 成人午夜在线视频| 成人听书哪个软件好| 成+人+亚洲+综合天堂| 久久99精品久久只有精品| 视频一区二区中文字幕| 日韩专区在线视频| 免费成人美女在线观看| 麻豆精品在线视频| 另类综合日韩欧美亚洲| 国产成人亚洲综合a∨婷婷图片| 国产精品一区在线观看乱码| 久久国产婷婷国产香蕉| 国产精品2024| 成人小视频在线| 色成年激情久久综合| 国产精品美女久久久久aⅴ| 欧美国产国产综合| 亚洲欧美国产毛片在线| 天天影视网天天综合色在线播放| 午夜久久久久久电影| 国产精品538一区二区在线| eeuss鲁片一区二区三区| 欧美午夜寂寞影院| 精品动漫一区二区三区在线观看| 国产精品久久久久久户外露出| 亚洲人成伊人成综合网小说| 亚洲国产欧美日韩另类综合| 男男gaygay亚洲| 91伊人久久大香线蕉| 欧美三级视频在线| 一色屋精品亚洲香蕉网站| 五月激情六月综合| 99国产精品久久久| 欧美zozozo| 婷婷成人激情在线网| 成人性生交大片免费看在线播放| 欧美伊人久久久久久午夜久久久久| 日韩精品一区二区三区三区免费| 日韩一区有码在线| 久久99精品久久久久久国产越南 | 国产日韩欧美a| 一区二区免费看| 成人午夜碰碰视频| 日韩一区二区免费在线观看| 一二三四区精品视频| 国产99久久久精品| 精品日韩一区二区三区免费视频| 亚洲香蕉伊在人在线观| 在线观看免费一区| 亚洲精品国产一区二区精华液 | 成人的网站免费观看| 久久久亚洲午夜电影| 国内精品在线播放| 精品国产乱码久久久久久影片| 免费在线观看视频一区| 欧美欧美午夜aⅴ在线观看| 亚洲成人av福利| 欧美吻胸吃奶大尺度电影| 亚洲一级二级三级| 欧美四级电影在线观看| 亚洲va天堂va国产va久| 69av一区二区三区| 日本在线不卡一区| 精品欧美一区二区在线观看| 美美哒免费高清在线观看视频一区二区| 欧美久久一区二区| 美腿丝袜亚洲综合| 亚洲国产成人私人影院tom| 成人网在线播放| 亚洲一区二区视频| 欧美精品三级日韩久久| 麻豆精品久久精品色综合| 欧美成人vps| 91无套直看片红桃| 日韩国产欧美一区二区三区| 91麻豆精品国产91久久久资源速度 | 午夜国产精品一区| 亚洲精品一区在线观看| 99精品视频一区二区| 石原莉奈一区二区三区在线观看| 日韩精品一区二区三区视频播放 | 国产欧美视频在线观看| 97精品国产露脸对白| 美女国产一区二区三区| 亚洲精品网站在线观看| 久久精品一区二区三区av| 欧美日韩成人在线| 91国内精品野花午夜精品| 国产成人一级电影| 日韩av中文字幕一区二区| 国产精品理论在线观看| 欧美一区二区三区在线视频 | 国产成人aaa| 精品一区二区三区影院在线午夜| 亚洲精品国产无天堂网2021 | 欧美在线免费播放| 在线亚洲精品福利网址导航| 天天色天天爱天天射综合| 亚洲精品国产一区二区三区四区在线| 26uuu色噜噜精品一区二区| 3751色影院一区二区三区| 欧美日韩另类一区|