#!/usr/bin/env python def execute(api): api.log("eth0 is {}".format(api.read("ncom_eth0"))) api.wait(624) api.log("eth0 is {}".format(api.read("ncom_eth0"))) api.wait(624) # Now we are at 624*2=1248 (first sender start a communication) api.wait(1) # Let the communication starts api.log("eth0 is {}".format(api.read("ncom_eth0"))) # Should print 1 api.wait(1) # Now second sender start a communication api.log("eth0 is {}".format(api.read("ncom_eth0"))) # Should print 2