[wiki:Documentation] | [wiki:Documentation/NodeHandler NodeHandler] | [wiki:Documentation/NodeHandler/Commands Commands] | prop = prop: Setting Experiment Properties = Parameters of application or values of resources used in the experiment can be bound to experiment properties defined with [wiki:Documentation/NodeHandler/Commands/defProperty defProperty]. When changing an experiment property via the 'prop' command, the nodehandler will follow all the bindings and will automatically issue all the necessary commands to propagate the new value to all the bound applications and resources. == Syntax == '''prop.''propName''[[BR]] prop.''propName'' = ''newValue''''' * '''propName''': Name of experiment property * '''newValue''': New value to assign to property. == Usage == {{{ defProperty('rate', 300, 'Bits per second sent from sender') defNodes('sender', [1,2]) {|node| node.prototype("test:proto:sender", { ... 'rate' => prop.rate }) } whenAllInstalled { ... [500, 1000, 2000].each { |newRate| prop.rate = newRate wait 30 } } }}} == See Also == [wiki:Documentation/NodeHandler/Commands/defProperty defProperty]