Types

class quanser.hardware.types.Version(size, major, minor, release, build)

A structure to hold version information returned from HIL’s get_version function.

Parameters
  • size (int) – The size of the HILVersion structure.

  • major (int) – The major version number of the HIL SDK.

  • minor (int) – The minor version number of the HIL SDK.

  • release (int) – The release version number of the HIL SDK.

  • build (int) – The build version number of the HIL SDK.

size

The size of the HILVersion structure.

Type

int

major

The major version number of the HIL SDK.

Type

int

minor

The minor version number of the HIL SDK.

Type

int

release

The release version number of the HIL SDK.

Type

int

build

The build version number of the HIL SDK.

Type

int

Examples

>>> from quanser.hardware.hil import HIL
>>> version = HIL.get_version()