Before you begin
- FlexLogger 2024 Q4 or above
- API access set up with an API key and the REST and gRPC base URLs for your Sift environment
- Optional: Set environment variables on the machine running FlexLogger to pre-fill plugin configuration fields
Set environment variables
Setting these Windows environment variables before adding either plugin to a FlexLogger project automatically populates the corresponding plugin settings, so you do not need to enter them manually in each plugin’s configuration dialog.How the FlexLogger plugins work
Installing the Sift FlexLogger plugin package adds two ways to send data to Sift:- Stream Channel data to Sift live, as a test runs (Sift Stream)
- Upload a TDMS file to Sift once a run stops (Sift TDMS Uploader)
Install the Sift FlexLogger plugins
- Go to the sift-labview Releases page and find the most recent release tagged
flexlogger-plugins. Downloadflexlogger_dist.zipfrom that release. - Unzip the file.
- Run
install_flexlogger_plugins.bat.
Stream live data to Sift
- In FlexLogger, configure the Channels you want to stream.
- Select Add channels > Plug-in > Sift Stream.
- Click the configure (gear) icon on the Sift Stream plugin.
- If you set the environment variables beforehand, the fields are pre-filled. Otherwise, fill out the plugin settings.
Upload a test file to Sift
- In FlexLogger, configure the Channels you want to log.
- Select Add channels > Plug-in > Sift TDMS Uploader.
- Click the configure (gear) icon on the Sift TDMS Uploader plugin.
- If you set the environment variables beforehand, the fields are pre-filled. Otherwise, fill out the plugin settings.
- Start and stop a run in FlexLogger. Stopping the run generates a TDMS file for that session, which the plugin uploads to Sift automatically as a Run, as long as the plugin is configured in that project.
Run name: To change the Run name, edit the TDMS file name in FlexLogger’s Logging Specification tab.
Verify
To verify data was received, open Sift and navigate to the Asset you configured. A new Run should appear containing the streamed or uploaded data. If no data appears, check the plugin log files atC:\Users\Public\Documents\National Instruments\FlexLogger\Plugins\IOPlugins\Sift Stream for error details, and confirm that the API key, gRPC URL, and REST URL were entered correctly in the plugin settings.