[Tinyos-help] cannot run tossim in python

2006-12-20 Thread preeti k

Hello,

I have compiled the Blink application but an unable to run it.
After 'from tinyos.tossim import *' , when i say 't=tossim([])', i get an
errot saying 'NameError: tossim not defined'
In the tossim lesson i came  across some python commands to get the
variables. But here again i get error as follows:
**
$ python
Python 2.3.4 (#1, Jun 13 2004, 11:21:03)
[GCC 3.3.1 (cygming special)] on cygwin
Type help, copyright, credits or license for more information.

from tinyos.tossim.TossimApp import *
n=NescApp()

Traceback (most recent call last):
 File stdin, line 1, in ?
 File /opt/tinyos-2.x/support/sdk/python/tinyos/tossim/TossimApp.py, line
494
, in __init__
   raise Exception(\nERROR: cannot find file \%s\.
Exception:
ERROR: cannot find file app.xml.

Your nesC app cannot be imported.  Be sure that you compiled with the
nescDecls
 option.




**

Can someone please help me out with respect to running tossim?

Thanks,

Preeti
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] reading temp and converting to celcius

2006-12-20 Thread olcay çelik

hello
i took a graduation project which was measuring temperature and displaying 
on a webserver. I have searching internet since 1 mount and laslty found a 
header information from tinyos data and i found a C# code which is 
calculating temperature. but i was unable to understand some part of it. 
here i am pasting to code, may be you are helping to me to understand what 
is going on. here is :



/// summary
/// Calculates the temperature, in degrees Celsius of the:
///
/// Panasonic ERT-J1VR103J Thermistor
///
/// The formula in the MTS Series User Manual is:
/// 1/T(K) = a + b × ln(Rthr) + c × [ln(Rthr)]^3
///
/// where:
/// Rthr = R1(ADC_FS-ADC)/ADC
/// a = 0.00130705
/// b = 0.000214381
/// c = 0.00093
/// R1 = 10 kOhm
/// ADC_FS = 1023
/// ADC = output value from mote’s ADC measurement.
///
/// Note that an adjusted temp (adjTemp) is used because the
/// actual temp reading is a 10 bit value that has been compressed
/// into a single byte. As such it must be shifted left 2 bit places.
///
/// The value for _temp is the raw sensor reading from the SurgeMsg.
///
/// /summary
/// returnsTemperature in Degrees Celsius as a float./returns
float CalculateTempC()
{
int adjTemp = _temp  2;
// prevent divide by zero.
if(adjTemp == 0)
return 0F;
float temperature, a, b, c, Rthr;
a = 0.001307050F;
b = 0.000214381F;
c = 0.00093F;
Rthr = 1 * (1023 - adjTemp) / adjTemp;
temperature = 1 / (float)(a + b * Math.Log(Rthr) + c *
Math.Pow(Math.Log(Rthr),3));
temperature -= 273.15F; // Convert from Kelvin to Celcius
return temperature;
}
/// summary
/// Uses normal Celsius to Fahrenheit conversion formula:
///
/// Fahrenheit = Celsius * 9/5 + 32
///
/// /summary
/// returnsTemperature in degree F as a float./returns
float CalculateTempF()
{
return (CalculateTempC() * 9 / 5) + 32;
}



in this code especially in the variable declaration a, b, c and Rthr what is 
it ?  i did not understand

please someone help me because i have to write my own code. and

my second question is in the simulation environment how can i see the raw 
data for the calculating temperature by using surge-view application


if someone had did this measuring temperature please help me

_
Windows Live™ Messenger has arrived. Click here to download it for free!  
http://imagine-msn.com/messenger/launch80/?locale=en-gb


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] make: *** [sim-exe] Error 1

2006-12-20 Thread Βάσω Καρυώτη
I get that: make: *** [sim-exe] Error 1
  after I run this:  make micaz sim
   
  What should I do?


-
 Χρησιμοποιείτε Yahoo!
 Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την 
καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων 
 http://login.yahoo.com/config/mail?.intl=gr ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Transporting UserButton to Tinyos-2.x

2006-12-20 Thread migueltsilva

Hello, I need help transporting UserButton from moteiv to T2, I have try with 
no sucess, can someonde help with this?
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Error: No Packet Handler

2006-12-20 Thread Tony Ling
Hello, 

I am trying to run Ocilloscope.nc from \opt\tinyos-1.x\contrib\xbow\apps
and view its results using MOTEVIEW 1.2

 

I am using MIB510 configuration board and MICA2 sensor with the MTS 310
sensorboard. I receive this error as my output: error: no packet
handler for tos type 0x0a

 

Does anyone what is causing this problem?

Thanks

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] import _TOSSIM

2006-12-20 Thread preeti k

Hi,

I am trying to find why tossim does not run. I guess there is a problem with
the statement ' import _TOSSIM' in the TOSSIM.py file that gets generated.
IF i comment out the import statement and just import TOSSIM, i get
following output
***

import TOSSIM

Traceback (most recent call last):
 File stdin, line 1, in ?
 File TOSSIM.py, line 45, in ?
   class MAC(_object):
 File TOSSIM.py, line 55, in MAC
   __swig_destroy__ = _TOSSIM.delete_MAC
NameError: name '_TOSSIM' is not defined

But when i uncomment the import statement (ie keep the ' import _TOSSIM'
statement), i get the segmentation fault error.
Does this mean that there is a problem with the _TOSSIM.dll or is it that
the syntax or something is incorrect?

Thanks in advance,
Preeti

btw, i am able to collect NescApp.variables and print them but when i say
t=Tossim(vars) ie try to create a Tossim object i get a NameError. That
makes it confusing for me !
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] Timer.nc

2006-12-20 Thread Firat TARAKTAS
I think, it should be  

command result_t start(TIMER_REPEAT, 200);

 

Firat TARAKTAS

Project Engineer

GENETLAB INFORMATION TECHNOLOGIES
Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752
Icerenkoy / Istanbul / TURKIYE
Tel: +90 (216) 573 00 85 (int. 354)
Fax:+90 (216) 469 85 07
 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
 http://www.genetlab.com/ www.genetlab.com

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Byers
Sent: Wednesday, December 20, 2006 4:01 PM
To: tinyos-help@Millennium.Berkeley.EDU; Michael Schippling
Subject: [Tinyos-help] Timer.nc

 

I am using the Timer.nc interface for the Oscilloscope program and am trying
to modify it.  I made the line 

 

  command result_t start(char type, uint32_t interval);

 

  command result_t start(char TIMER_REPEAT, uint32_t 200);

 

In hopes that I would get a timer that repeated every 200ms but it would not
work.  I guess I need to put the 200 in binary milliseconds.  How do I do
this?

 

Thanks,

 

Chris Byers

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Raw Active Message

2006-12-20 Thread Phaneeth Kumar
Hi Everybody!

I am building an application primarily intended for lossless transmission of 
sensor data to the base PC. For that purpose I require that I address 
individual motes and command them to start and stop collecting data, reading 
lost packets from their EEPROM, etc. I worked out everything in Java by 
building my application around BcastInject and everything is working fine. 

I now intend to automate the whole process and create a front end in LabView 
which requires sending command messages through Labview. Does anybody know the 
raw format of the messages sent by BcastInject.java complete with all the 
required headers so that I will be able to configure and send the commands 
directly through labview over the serial port?

Thanks
Phaneeth

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Best physical nodes to test on.

2006-12-20 Thread Christian Brenninkmeijer

Hi Everyone,
We currently writing Sensor network application code for TOSSIM.

Could anyone suggest which would be the best types of physical nodes to 
buy. Ideally so the transfer from TOSSIM to real hardware is not too 
difficult.


We would like to test our material on some small not to expensive 
physical nodes.
We are looking at the data management side and are not too interested in 
fancy radio or routing material.

Any sensors that produce data are fine for our testing purpose.
We will not need to test outdoors.

--
Christian Brenninkmeijer
PhD Student - DIAS-MC project
Department of Computer Science
The University of Manchester
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Reading RSSI values from Tmote Sky

2006-12-20 Thread Milton Aguiar

Hi all:

I've tryed to do what is suggested in 
http://www.moteiv.com/community/Reading_RSSI_values_from_Tmote_Sky but 
when i try to compile my application an error occurs:


In component `CC2420ControlM':
C:/cygwin/opt/moteiv/tos/lib/CC2420Radio/CC2420ControlM.nc: In function 
`CmdRSSI.granted':
C:/cygwin/opt/moteiv/tos/lib/CC2420Radio/CC2420ControlM.nc:502: 
RSSI.dataReady not connected

make: *** [exe0] Error 1

I don't know what is the problem.

Can someone give a help?

Thanks in advance

Milton Aguiar


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Fwd: Re: [Tinyos-help] Reading RSSI values from Tmote Sky]

2006-12-20 Thread Milton Aguiar


---BeginMessage---

Hi:

And how i can do what you have suggested? The applicaion that i use 
wasn't developed by me. Can you give a help?


Thanks !

Milton


Joe Polastre escreveu:

Your application needs to handle the RSSI.dataReady() event or provide
a default event handler.

-Joe

On 12/20/06, Milton Aguiar [EMAIL PROTECTED] wrote:

Hi all:

I've tryed to do what is suggested in
http://www.moteiv.com/community/Reading_RSSI_values_from_Tmote_Sky but
when i try to compile my application an error occurs:

In component `CC2420ControlM':
C:/cygwin/opt/moteiv/tos/lib/CC2420Radio/CC2420ControlM.nc: In function
`CmdRSSI.granted':
C:/cygwin/opt/moteiv/tos/lib/CC2420Radio/CC2420ControlM.nc:502:
RSSI.dataReady not connected
make: *** [exe0] Error 1

I don't know what is the problem.

Can someone give a help?

Thanks in advance

Milton Aguiar


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 









---End Message---
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Tossim TCP connection

2006-12-20 Thread olcay çelik
Hello i want to ask a simple question. Is it possible to make a tcp 
connection to TOSSIM to recieve datas. ? If possible How ? any document 
relating to this plese share your experience


Thanks.

Kind Regards..
Mahmut Olcay Celik

_
Think you're a film buff? Play the Movie Mogul quiz and win fantastic 
prizes!  http://www.msnmoviemogul.com


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Transporting UserButton to Tinyos-2.x

2006-12-20 Thread Philip Levis

On Dec 20, 2006, at 4:08 AM, migueltsilva wrote:



Hello, I need help transporting UserButton from moteiv to T2, I  
have try with no sucess, can someonde help with this?
There's been some discussion in the core WG about how to present  
Buttons. Gil (author of TEP 114) has concluded that providing a  
Notifybool interface, where the bool denotes up or down, would  
probably be the simplest.


Take a look at TEP 117 (Low-Level IO) and TEP 102 (Timers). Those  
should have the T2 versions of the interfaces that Boomerang uses.


Phil

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] python version

2006-12-20 Thread Philip Levis

On Dec 20, 2006, at 6:39 AM, Krisakorn Rerkrai wrote:


Hi,

I just got the same problem after upgrading to 2.0.0-3. My fix was  
referred to Phil's comment.

I added one more flag (-shared) in PLATFORM_BUILD_FLAGS like this

PLATFORM_BUILD_FLAGS= -fpic -shared -W1,--enabled-auto-image-base

Then everything went through.

-Krisakorn



Blech. It looks like there are discrepancies in the version of gcc  
Cygwin has, such that different installations require different  
command-line flags. Some day, Cygwin will be nice and simple to support.


Phil
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] make: *** [sim-exe] Error 1

2006-12-20 Thread Philip Levis

On Dec 20, 2006, at 3:31 AM, Βάσω Καρυώτη wrote:


I get that: make: *** [sim-exe] Error 1
after I run this:  make micaz sim

What should I do?


You should give more information. :)

E.g., what does it print out before that error? Nothing at all?

Phil
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] cannot run tossim in python

2006-12-20 Thread Philip Levis

On Dec 20, 2006, at 12:23 AM, preeti k wrote:


Hello,

I have compiled the Blink application but an unable to run it.
After 'from tinyos.tossim import *' , when i say 't=tossim([])', i  
get an errot saying 'NameError: tossim not defined'
In the tossim lesson i came  across some python commands to get the  
variables. But here again i get error as follows:

**
$ python
Python 2.3.4 (#1, Jun 13 2004, 11:21:03)
[GCC 3.3.1 (cygming special)] on cygwin
Type help, copyright, credits or license for more information.
 from tinyos.tossim.TossimApp import *
 n=NescApp()
Traceback (most recent call last):
  File stdin, line 1, in ?
  File /opt/tinyos-2.x/support/sdk/python/tinyos/tossim/ 
TossimApp.py, line 494

, in __init__
raise Exception(\nERROR: cannot find file \%s\.
Exception:
ERROR: cannot find file app.xml.
Your nesC app cannot be imported.  Be sure that you compiled with  
the nescDecls

 option.


**

Can someone please help me out with respect to running tossim?


Typing 'make micaz sim' will generate app.xml. Please read the  
section Compiling TOSSIM of the tutorial. You should see this in  
our compilation output:


  mkdir -p build/micaz
placing object files in build/micaz
writing XML schema to app.xml
compiling BlinkAppC to object file sim.o

Note the third line: writing XML schema to app.xml.

You need to be in the directory with app.xml, so the Python code can  
read it in to figure out what variables your application has.


Phil
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] make: *** [RadioCountMsg.class] Error 127

2006-12-20 Thread Βάσω Καρυώτη
I am trying to build a TOSSIM aplication (the RadioCountToLeds to be excact) 
and right after I typemake micaz sim   I get an error and here are the last 
three lines of the output
   
   
  javac RadioCountMsg.java
make: javac: command not found
make: *** [RadioCountMsg.class] Error 127
   
   
  Is it a problem with java installation?
  Tossim?
   
  I would be thankful for any kind of help.
   
  vk
   
   


-
 Χρησιμοποιείτε Yahoo!
 Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την 
καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων 
 http://login.yahoo.com/config/mail?.intl=gr ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Best physical nodes to test on.

2006-12-20 Thread Michael Schippling

We just had a big go-round about this a couple weeks ago if you want to
search back for all the fun. I think Joe P. convinced me that the moteiv
products had good bang-fer-buck, however they have fewer I/O lines
available, vis the mica's (probably moot in all cases but mine...).
If you go with mica I suggest the 'Z's as the radio seems to be
somewhat more reliable (and quite a bit faster) vs the '2's.
MS


Christian Brenninkmeijer wrote:

Hi Everyone,
We currently writing Sensor network application code for TOSSIM.

Could anyone suggest which would be the best types of physical nodes to 
buy. Ideally so the transfer from TOSSIM to real hardware is not too 
difficult.


We would like to test our material on some small not to expensive 
physical nodes.
We are looking at the data management side and are not too interested in 
fancy radio or routing material.

Any sensors that produce data are fine for our testing purpose.
We will not need to test outdoors.


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] make: *** [RadioCountMsg.class] Error 127

2006-12-20 Thread Michael Schippling

You probably don't have the java SDK bin directory in your PATH env var.
In the cygwin shell window try:
type javac
to which you should see something like:
javac is /cygdrive/c/JAVA/j2sdk1.4.2_04/bin/javac

Here's a sample from my PATH setting:
export PATH =/cygdrive/c/JAVA/j2sdk1.4.2_04/bin:/usr/local/bin:...

MS



Βάσω Καρυώτη wrote:
I am trying to build a TOSSIM aplication (the RadioCountToLeds to be excact) 
and right after I type   / make micaz sim/   I get an error and here are the 
last three lines of the output



javac RadioCountMsg.java make: javac: command not found make: *** 
[RadioCountMsg.class] Error 127



Is it a problem with java installation? Tossim?

I would be thankful for any kind of help.

vk



 
Χρησιμοποιείτε Yahoo! Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! 
Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων 
http://login.yahoo.com/config/mail?.intl=gr





___ Tinyos-help mailing list 
Tinyos-help@Millennium.Berkeley.EDU 
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Erros with tos-check-env and make platform docs

2006-12-20 Thread Mohamed Ahmed
Hi,
   
  When I run tos-check-env, I got the following problem:
  tos-check-env completed with errors:
  -- WARNING: No dot in current path.
-- WARNING: tos-check-env could not find the 'dot' executable which is part of
the ATT Graphviz package. Please install version 1.1.0 of Graphviz if you'd lik
e to use the nescdoc documentation generator. If Graphviz is already installed,
then dot may not be in your PATH.
   
  Also, when I run make micaz docs, I got the following problem:
  dot: not found
dot: not found
Traceback (most recent call last):
  File /usr/lib/tinyos/nesdoc/genhtml.py, line 88, in ?
generate_component(ixml.documentElement)
  File /usr/lib/tinyos/nesdoc/components.py, line 114, in generate_component
cmap = file(chtml/%s.cmap % nicename)
IOError: [Errno 2] No such file or directory: 'chtml/BlinkAppC.cmap'
make: *** [docs_] Error 1
   
  Can someone help me fix these problems?
   
  Thanks in advance,
  Mohamed

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] reading temp and converting to celcius

2006-12-20 Thread Benjamin Madore

On Wed, December 20, 2006 6:21 am, olcay çelik said:

 in this code especially in the variable declaration a, b, c and Rthr what is
 it ?  i did not understand
 please someone help me because i have to write my own code. and

 my second question is in the simulation environment how can i see the raw
 data for the calculating temperature by using surge-view application

 if someone had did this measuring temperature please help me


You know, I just fudged it, since it wasn't important for me. That and the
battery code seem to implement strangely through Surge. It never mentions
anywhere if there is any pre-conversion in code or what, but things are
either wildly off or inverted. I probably have something wrong, but it's not
worth it to me to figure out what.

Also, the included code doesn't seem to be mathematically simplified, making
it slightly more complicated for those who don't want to try to understand
the sensor operation, only want to display the result.

-- 
The difference between the right word and the almost right word is really a
large matter- it's the difference between a lightning bug and the lightning.
-Twain

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Erros with tos-check-env and make platform docs

2006-12-20 Thread Michael Schippling

strangely enough those error messages are related...

Graphviz is the product that contains dot which
generates pretty network diagrams, such as the TOS
wiring charts. I thought that G.V. was part of the
main tinyos install, so you might just search your
machine and see that the path to it's bin dir is
set correctly. For instance mine is at:
enfield:schip [279] type dot
dot is /cygdrive/C/cygwin/ATT/Graphviz/bin/dot

If you don't have it, it may be on the TOS download sites,
or you could google for it. I don't think it hurts to have a
later version...

MS

Mohamed Ahmed wrote:

Hi,
 
When I run tos-check-env, I got the following problem:

tos-check-env completed with errors:
-- WARNING: No dot in current path.
-- WARNING: tos-check-env could not find the 'dot' executable which is 
part of
the ATT Graphviz package. Please install version 1.1.0 of Graphviz if 
you'd lik
e to use the nescdoc documentation generator. If Graphviz is already 
installed,

then dot may not be in your PATH.
 
Also, when I run make micaz docs, I got the following problem:

dot: not found
dot: not found
Traceback (most recent call last):
  File /usr/lib/tinyos/nesdoc/genhtml.py, line 88, in ?
generate_component(ixml.documentElement)
  File /usr/lib/tinyos/nesdoc/components.py, line 114, in 
generate_component

cmap = file(chtml/%s.cmap % nicename)
IOError: [Errno 2] No such file or directory: 'chtml/BlinkAppC.cmap'
make: *** [docs_] Error 1
 
Can someone help me fix these problems?
 
Thanks in advance,

Mohamed

__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] reading temp and converting to celcius

2006-12-20 Thread Michael Schippling

Just a note on the battery code...if you are using mica2
(and perhaps others...) the reading called battery from
ADC7 is coming from a fixed voltage reference, however the
Vref for the converter _is_ the battery. Therefore, as the
battery droops, the apparent value on ADC7 _increases_.
That's why the calculation of actual battery voltage involves
an inversion. I posted an excruciatingly nerdly exegesis of
this about a year ago if you search for battery and ADC...

The convenient thing about this is that sensors which boil
down to voltage dividers (e.g., thermistors) that run off
the same battery do not need to account for bat-volt change.

MS

Benjamin Madore wrote:

On Wed, December 20, 2006 6:21 am, olcay çelik said:

in this code especially in the variable declaration a, b, c and Rthr what is
it ?  i did not understand
please someone help me because i have to write my own code. and

my second question is in the simulation environment how can i see the raw
data for the calculating temperature by using surge-view application

if someone had did this measuring temperature please help me



You know, I just fudged it, since it wasn't important for me. That and the
battery code seem to implement strangely through Surge. It never mentions
anywhere if there is any pre-conversion in code or what, but things are
either wildly off or inverted. I probably have something wrong, but it's not
worth it to me to figure out what.

Also, the included code doesn't seem to be mathematically simplified, making
it slightly more complicated for those who don't want to try to understand
the sensor operation, only want to display the result.


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] shell script for all export

2006-12-20 Thread Mohamed Ahmed
Hi,
   
  It seems that whenever I open cygwin, I have to run the four
  export command shown in Step 5: Install the TinyOS-2.x given in the 
website
  http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html
   
  Otherwise, for instance make micaz will not work.
   
  Could you please tell me how to avoid doing this and let tinyos
  recognize these export commands without the user intervention
  if this possible?
  If there is a shell script to write, what would be its content/structure
  and where it should be located?
   
  Thanks,
  Mohamed
   

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] shell script for all export

2006-12-20 Thread Michael Schippling

There is a master script that is run at shell startup time in:
C:/cygwin/etc/profile
(or where ever your cygwin is installed)
It should also source a personal version in
$HOME/.bash_profile
where HOME would usually default to something like:
C:/cygwin/home/[your-user-name]

Anything you can put on a command line you can put in those scripts.

MS

Mohamed Ahmed wrote:

Hi,
 
It seems that whenever I open cygwin, I have to run the four
export command shown in Step 5: Install the TinyOS-2.x given in the 
website

http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html
 
Otherwise, for instance make micaz will not work.
 
Could you please tell me how to avoid doing this and let tinyos

recognize these export commands without the user intervention
if this possible?
If there is a shell script to write, what would be its content/structure
and where it should be located?
 
Thanks,

Mohamed
 


__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Re: did you figure out the TOSSIM problem?

2006-12-20 Thread preeti k

Add the following  shared flag to the build flags in sim.extra file

PLATFORM_BUILD_FLAGS= -fpic -shared -W1,--enabled-auto-image-base

That should solve the problem.

-Preeti



On 12/21/06, Mikhail Nesterenko [EMAIL PROTECTED] wrote:


Let me know if you do because I seem to have the same segfault
problem.

thanks,
--
Mikhail

 Hi,

 I am trying to find why tossim does not run. I guess there is a
 problem with
 the statement ' import _TOSSIM' in the TOSSIM.py file that gets
generated.
 IF i comment out the import statement and just import TOSSIM, i get
 following output

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Re: Tinyos-help Digest, Vol 44, Issue 66

2006-12-20 Thread Tarun Bansal

You can use Serial Forwarder for this purpose. That will create a pipe
from a specified serial port to TCP port of your choice.

check:
http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html


Tarun Bansal




Message: 6
Date: Wed, 20 Dec 2006 17:42:32 +
From: olcay çelik [EMAIL PROTECTED]
Subject: [Tinyos-help] Tossim TCP connection
To: tinyos-help@Millennium.Berkeley.EDU
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; format=flowed

Hello i want to ask a simple question. Is it possible to make a tcp
connection to TOSSIM to recieve datas. ? If possible How ? any document
relating to this plese share your experience

Thanks.

Kind Regards..
Mahmut Olcay Celik

_
Think you're a film buff? Play the Movie Mogul quiz and win fantastic
prizes!  http://www.msnmoviemogul.com





___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help