Closed charitylxy closed 2 months ago
This PR aims to report Python and its version as runtime environment through DAQmxSetRuntimeEnvironment C API at initialization.
In this PR, following implementations have been made:
DAQmxSetRuntimeEnvironment
set_runtime_environment
__init__
Tested locally with example code and verified Runtime Environment information is being logged correctly.
What does this Pull Request accomplish?
This PR aims to report Python and its version as runtime environment through DAQmxSetRuntimeEnvironment C API at initialization.
Why should this Pull Request be merged?
In this PR, following implementations have been made:
DAQmxSetRuntimeEnvironment
added with metadata generated in https://github.com/ni/grpc-device-scrapigen/pull/229set_runtime_environment
will be called at__init__
in _library_interpreter.py to report Python and its version as runtime environment.What testing has been done?
Tested locally with example code and verified Runtime Environment information is being logged correctly.![image](https://github.com/ni/nidaqmx-python/assets/55676809/85a34193-b262-49f5-a146-b11e11fa6fe8)