ni / niflexlogger-automation-python

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.
MIT License
8 stars 6 forks source link

Add disable channel feature #24

Closed ccaltagi closed 2 years ago

ccaltagi commented 2 years ago

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?