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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help