| 145 | Recent questions from experimenters |
| 146 | =================================== |
| 147 | How do you upload your own script onto the sb consoles? |
| 148 | ------------------------------------------------------- |
| 149 | Write the script in your favorite way. Then if you're on a windows box, use any sftp compatible client to upload it to |
| 150 | your home dir on gateway (thus your home on console). If you're on a linux box: type |
| 151 | 'scp your_new_script.rb username@gateway.orbit-lab.org:folder/you/want/it/to/go/into' |
| 152 | |
| 153 | Do I need to compile the code (or prepare it in any way) before uploading it on the console? |
| 154 | --------------------------------------------------------------------------------------------- |
| 155 | No, Ruby scripts are interpreted by nodehandler. You do not need to compile the script. |
| 156 | One way to check for syntax is to use the nodehandler flag -n i.e |
| 157 | nodehandler -n <script_name> |
| 158 | |
| 159 | This will run the script in debug mode and tell you if there are any syntax errors |
| 160 | |
| 161 | How do we plot this data in an excel spreadsheet? Is there are a way other than manually copying it? |
| 162 | ---------------------------------------------------------------------------------------------------- |
| 163 | Please read 'Analyzing Measurement Results' section of the tutorial if you |
| 164 | have not done it yet. One straightforward way is to use mysqldump to export |
| 165 | your DB to comma separated values format, which can be exported into Excel |
| 166 | easily. In addition there are a lot of free tools that can do mySQL-to-Excel |
| 167 | conversion, such as |
| 168 | |
| 169 | MySQL Query Browser http://www.mysql.com/products/tools/query-browser/ |
| 170 | |
| 171 | MYSQL Front http://www.mysqlfront.de/ |
| 172 | |
| 173 | MySQL Database 2 Excel KonvertR http://www.churm.com/konvertr/ |
| 174 | |
| 175 | SQLyog free edition http://www.webyog.com/sqlyog/index_sqlyogfree.php |
| 176 | |
| 177 | Is it possible to set the channel of operation of the 802.11 nodes dynamically or initially? |
| 178 | -------------------------------------------------------------------------------------------- |
| 179 | Both are possible. Please read "ORBIT Specific methods" part of the tutorial |
| 180 | to see the properties that you can set for the wireless interfaces on the |
| 181 | node: |
| 182 | |
| 183 | http://www.orbit-lab.org/userdoc/wiki/Tutorial/HowtoWriteScripts/OrbitRuby |
| 184 | |
| 185 | |
| 186 | |
| 187 | |