The niflexlogger-automation package contains an API (Application Programming Interface) and examples for using Python to automate NI FlexLogger. The automation API supports modifying the configuration of existing FlexLogger projects and controlling the execution of FlexLogger test sessions. The package is implemented in Python. NI created and supports this package.
Users want the ability to define a standard measurement project and then enable/disable channels from the python API depending on which channels they need for the test they're going to run - same goal as how this behaves in the app but for users automating their tests.
We should make the API have the same behaviors as disabling/enabling channels in the app. E.g.
Users shouldn't be able to enable/disable channels while a test is running
Users shouldn't be able to enable/disable channels while a project is locked
Users shouldn't be able to query or set the value on a disabled channel
Users shouldn't be able to start a test if all the channels are disabled
Why should this Pull Request be merged?
Add new functionality to the FlexLogger Python automation API.
What testing has been done?
Manual test to ensure that the feature works as expected
Addition of new automated tests.
[x] I have run the automated tests (required if there are code changes)
What does this Pull Request accomplish?
Users want the ability to define a standard measurement project and then enable/disable channels from the python API depending on which channels they need for the test they're going to run - same goal as how this behaves in the app but for users automating their tests.
We should make the API have the same behaviors as disabling/enabling channels in the app. E.g. Users shouldn't be able to enable/disable channels while a test is running Users shouldn't be able to enable/disable channels while a project is locked Users shouldn't be able to query or set the value on a disabled channel Users shouldn't be able to start a test if all the channels are disabled
Why should this Pull Request be merged?
Add new functionality to the FlexLogger Python automation API.
What testing has been done?
Manual test to ensure that the feature works as expected
Addition of new automated tests.
[x] I have run the automated tests (required if there are code changes)