Functions
| asctime(([tuple]) -> string) | Convert a time tuple to a string, e.g. |
| localtime(...) | tm_sec,tm_wday,tm_yday,tm_isdst) |
Convert a time tuple to a string, e.g. ‘Sat Jun 06 16:26:11 1998’. When the time tuple is not present, current time as returned by localtime() is used.
tm_sec,tm_wday,tm_yday,tm_isdst)
Convert seconds since the Epoch to a time tuple expressing local time. When ‘seconds’ is not passed in, convert the current time instead.
Bases: object
Decodes SC&MP/SARK version information as returned by the SVER command
| Parameters: | version_data (bytearray) – bytes from an SCP packet containing version information |
|---|---|
| Raises spinnman.exceptions.SpinnmanInvalidParameterException: | |
| If the message does not contain valid version information | |
Attributes
| build_date | The build date of the software |
| hardware | The hardware being run on |
| name | The name of the software |
| p | The processor id of the processor where the information was obtained |
| version_number | The version number of the software |
| version_string | The version information as text |
| x | The x-coordinate of the chip where the information was obtained |
| y | The y-coordinate of the chip where the information was obtained |