Classes | |
class | Gversions |
Contents:
Provides accessor methods to retrieve version information from both the software and hardware. Displays version info from loaded libraries. Used for troubleshooting problems.
Overview:
Each driver on VxWorks side and each module on the client side provides its version number through functions. When the function cmd.getVersions() is called the command server packetizes this information and sends it over the socket to the command client which gets decoded into a tuple. The getModuleVersions() function converts this tuple to a dictionary and adds the python module versions to it.
Usage:
To retrieve version information one can write::
python versions.py
or
import versions versions.Gversions.getModuleVersions()