FlexLogger

cancel
Showing results for 
Search instead for 
Did you mean: 

Set variable to channel value?

Solved!
Go to solution

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.




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
0 Kudos
Message 1 of 2
(1,766 Views)
Solution
Accepted by topic author MichaelBalzer

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

0 Kudos
Message 2 of 2
(1,706 Views)