Rodeviceinfo – BrightSign HD2000 Object Reference Manual User Manual

Page 32

Advertising
background image

roDeviceInfo

The roDeviceInfo object implements the ifDeviceInfo interface only.

The ifDeviceInfo interface provides:
 rotSTRING GetModel(rotVOID)

o

Returns the model name for the BrightSign device running the script as a string. For example

"HD600" or "HD2000".

 rotSTRING GetVersion(rotVOID)

o

Returns the version number of the BrightSign firmware running on the device. For example

"1.3.14".

 rotINT GetVersionNumber(rotVOID)

o

Returns the version number of the BrightSign firmware running on the device in the more

comparable numeric form of (major * 65536 + minor * 256 + build).

 rotSTRING GetBootVersion(rotVOID)

o

Returns the version number of the BrightSign boot firmware (also known as "safe mode") as a

string. For example "1.0.4".

 rotINT GetBootVersionNumber(rotVOID)

o

Returns the version number of the BrightSign boot firmware (also known as "safe mode") in

the more comparable numeric form of (major * 65536 + minor + 256 + build).

 rotINT GetDeviceUptime(rotVOID)

o

Returns the number of seconds that the device has been running since the last power cycle or

reboot.

 rotINT GetDeviceLifetime(rotVOID)

o

Returns the estimated number of seconds that the device has been running since manufacture.

The result is more accurate if the device is left switched on for long periods rather than being
constantly switched on and off. This figure has only been updated since v1.1.x firmware.

 rotINT GetDeviceBootCount(rotVOID)

o

Returns the number of times the device has successfully booted since manufacture. This

figure has only been updated since v1.1.x firmware.

 rotSTRING GetDeviceUniqueId(rotVOID)

o

Returns an identifier that if not an empty string is unique to the unit running the script.

o

On the HD2000, this string is the MAC address of the on board Ethernet.


Example:

di = CreateObject("roDeviceInfo")
print di.GetModel()
print di.GetVersion(), di.GetVersionNumber() print di.GetBootVersion(),
di.GetBootVersionNumber() print di.GetDeviceUptime(),
di.GetDeviceLifetime(), di.GetDeviceBootCount()

On a particular system generates:

HD2000
1.4.3 66563
1.0.4 65540
478 581578 77


32

Advertising
This manual is related to the following products: