get_dds_version

lsst.ts.salobj.get_dds_version(dds_file: str | None = None) str

Get the version of OpenSplice dds library.

If it cannot be determined, return “?”.

Note: do not use this function to determine the OpenSplice version for the softwareVersions event. Use the value of environment variable OSPL_RELEASE for that.

Parameters:
dds_filestr or None, optional

Value of dds.__file__. Use None except when testing this function.