I guess I was looking in the wrong place. Instead of using XMDA300.nc I probably have to use XSensorMDA300.nc to turn on the counter channel. Unfortunately, after uploading this code into a mote it stopped sending messages or I cannot receive them anymore. Anybody got tips? Greetings, Tjerk Kuipers