SignalPropagationVisualizationExample.ned 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package inet.examples.visualization.propagation;
  2. import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
  3. import inet.node.ethernet.Eth1G;
  4. import inet.node.inet.AdhocHost;
  5. import inet.node.inet.Router;
  6. import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
  7. import inet.visualizer.integrated.IntegratedVisualizer;
  8. network SignalPropagationVisualizationExample
  9. {
  10. parameters:
  11. @figure[description](type=text; pos=30,30; font=Arial,24; text="Demonstrates how to display transmissions, receptions and propagating signals.");
  12. @display("bgb=1000,500");
  13. submodules:
  14. visualizer: IntegratedVisualizer {
  15. parameters:
  16. @display("p=100,100");
  17. }
  18. configurator: IPv4NetworkConfigurator {
  19. parameters:
  20. @display("p=100,200");
  21. }
  22. radioMedium: Ieee80211ScalarRadioMedium {
  23. parameters:
  24. @display("p=100,300");
  25. }
  26. source: AdhocHost {
  27. parameters:
  28. @display("p=300,200");
  29. }
  30. node: AdhocHost {
  31. parameters:
  32. @display("p=600,300");
  33. }
  34. destination: AdhocHost {
  35. parameters:
  36. @display("p=900,200");
  37. }
  38. }