[Tinyos-help] PowerTOSSIM - Error
Ittipong Khemapech
ik.tinyos at googlemail.com
Thu Aug 2 08:23:10 PDT 2007
Hello,
Sorry for the previous email on the postprocess.py problem, already figured
it out.
However, I have got another error from running PowerTOSSIM. I adapt the
CntToLedsAndRfm application by enabling transmission power control
adjustment (SetRFPower() in CC1000Control interface). I need to know the
amount of power has been used.
After running PowerTOSSIM, I've got the following messages:
Traceback (most recent call last):
File "/opt/tinyos-1.x/tools/scripts/PowerTOSSIM/postprocess.py", line 543,
in ?
handle_event(1)
File "/opt/tinyos-1.x/tools/scripts/PowerTOSSIM/postprocess.py", line 496,
in handle_event
update_currents(time)
File "/opt/tinyos-1.x/tools/scripts/PowerTOSSIM/postprocess.py", line 428,
in update_currents
prev_current[m][t] = current_fn_map[t](m)
File "/opt/tinyos-1.x/tools/scripts/PowerTOSSIM/postprocess.py", line 216,
in get_radio_current
return tx_current(mystate['txpower'])
File "/opt/tinyos-1.x/tools/scripts/PowerTOSSIM/postprocess.py", line 209,
in tx_current
return em["RADIO_TX_"+("%20" % x)]
KeyError: 'RADIO_TX_EC'
Any suggestions would be much appreciated.
Many thanks,
Ittipong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070802/227397b8/attachment.htm
More information about the Tinyos-help
mailing list