Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

...

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.

Code Block
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.

...

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

Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px