Changes between Version 1 and Version 2 of Old/NodeHandler/FAQ/ToUseNoiseGenerator
- Timestamp:
- Nov 23, 2005, 7:44:27 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Old/NodeHandler/FAQ/ToUseNoiseGenerator
v1 v2 32 32 33 33 antenna(4,4).signal {|s| 34 s.type = ‘noise’ 34 35 35 s.bandwidth = 20 36 36 s.channel = 3 … … 45 45 wait 10 46 46 47 # increase noise from -44 dBm to - 4dBm in steps of 2 dBm47 # increase noise from -44 dBm to -20dBm in steps of 2 dBm 48 48 antenna(4,4).signal.on 49 -44.step( 4, 2) { |p|49 -44.step(-20, 2) { |p| 50 50 Experiment.props.noisePower = p 51 51 wait 30