Processing Element Class
- Aktualisiert2025-11-25
- 2 Minute(n) Lesezeit
Learn how execution states are managed by FlexLogger plug-ins.
The Processing Element class, Processing Element.lvclass, defines the plug-in execution states. The FlexLogger data engine manages the transitions between these states with a set of methods. Refer to the following figure and table to learn more about each method.
| Method | Description |
|---|---|
| Initialize | Runs only once—When you add a plug-in to the FlexLogger Channel
Specification. Defines the timing method used by the Process method. Declare the plug-in parameters users interact with in FlexLogger. Declare the channels (and corresponding channel parameters) the plug-in will read data from or send data to. |
| Configure Session | Runs when you make a configuration change while FlexLogger is not
running a test. Initialize and configure hardware/instrument sessions. Runs after the Initialize method. Read the latest channel parameters set in FlexLogger. Read the latest plug-in parameters set in FlexLogger. Set the timing information (dt, T0) for data written to FlexLogger in the Process method. Read what channels FlexLogger reports as valid (channels defined by the plug-in may be modified in FlexLogger). |
| Process | Read from and write to third-party hardware. Read channel data from FlexLogger. Write channel data to FlexLogger. |
| Cleanup Session | Runs when you make a configuration change. Cleans up the hardware sessions and resources initialized by the Configure Session method. |
| Finalize | Runs when you remove a plug-in from your FlexLogger project or
close the project. Cleans up any resources initialized during the Initialize method. Commonly empty. |