Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

ON THIS PAGE

This object allows you to monitor and post how much bandwidth the player is using.

Object Creation: The roNetworkStatistics object is created with a single parameter.

CreateObject("roNetworkStatistics", network_interface as Integer)

The network_interface parameter is used to distinguish between the following:

  • 0: The Ethernet port on the BrightSign player.
  • 1: The optional internal Wi-Fi.

ifNetworkStatistics

GetTotals() As roAssociativeArray

Yields the total network figures since booting up.

GetIncremental() As roAssociativeArray

Yields the total network figures since booting up. Then, every subsequent time this method is called, it will yield the amount each figure has changed since the previous call.

Note

If multiple instances of roNetworkStatistics are created, GetIncremental() calls for each instance will track changes independently.

Both methods return the following statistics as floating point values:

  • tx_carrier_errors
  • tx_packets 
  •  rx_packets 
  •  tx_errors
  • rx_frame_errors
  • tx_bytes
  • rx_errors
  • tx_collisions
  • rx_dropped
  • tx_compressed
  • rx_multicast
  • tx_dropped
  • rx_fifo_errors
  • rx_bytes
  • tx_fifo_errors
  • rx_compressed
  • No labels