hello all,
how can I have two on all measurements under one monitor?
I am trying to do something like this, but only the first on all Measurement works while the second one does not, what do I have to fix?
monitor xxx(){
action onload(){
monitor.subscribe(Measurement.SUBSCRIBE_CHANNEL);
on all Measurement(type=MEASUREMENT_TYPE_A) as measurement
{
...code...
}
monitor.subscribe(Measurement.SUBSCRIBE_CHANNEL);
on all Measurement(type=MEASUREMENT_TYPE_B) as measurement
{
...code...
}
}
}