05-12-2021 08:59 PM
Is it possible to set a FlexLogger variable to the value of another channel when an event occurs? For example I have a distance measurement, and I want to record its value in a variable at the start of a test. It would then be used as a zero offset in a calculated channel.
Also is there a test started event? I'm having to use test time elasped, but that can only be set to a minimum of 1s.
Solved! Go to Solution.
05-17-2021 03:35 PM
There is not a built-in way to accomplish this, but can create your own plugin using the Plugin Development Kit:
https://www.ni.com/pdf/manuals/378089b.pdf
On page 19, it describes how to override the Handle Notification VI and when the "Test Start" command is sent, you can store the value of a configured channel and output this initial value so other plugins can use it for zero offset calculations.
Hope this helps,
Brad