To download NI software, including the products shown below, visit ni.com/downloads.
This example will guide you through the process of automating your data acquisition using the Flexlogger Python API. With this code, you will be able to:
FlexLogger and Python Previous Setup
Before integrating FlexLogger with Python, there are multiple necessary steps that must be completed. For further guidance on these prerequisites, please consult the Flexlogger Getting Started Guide. Make sure the project you will execute the automation on exists and also the channels are configured. If channels are not configured you will get an error.
Executing the Script
The API is tailored to meet your needs if you're seeking to automate your data acquisition process and prefer to utilize Python instead of the Flexlogger user interface. This functionality was added in Flexlogger 2020 R3 and can be used in all subsequent versions.
Additional-Separate-2Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.