04-02-2023 11:42 AM
how to Store the last measured value of the sensor in a variable
04-02-2023 12:54 PM
Hi johnalia,
@johnalia wrote:
how to Store the last measured value of the sensor in a variable
Use a shift register instead of a "variable".
THINK DATAFLOW: in LabVIEW wires/shift registers/feedback nodes are "variables"…
04-02-2023 01:48 PM
can you please show me an example
04-02-2023 02:47 PM
Go to ni.com and search. You can find many useful knowledgebase and documentation.
Using Shift Registers in LabVIEW
04-02-2023 04:06 PM
... and next time please use a post subject related to the question. "hello everyone" is not a suitable subject.
04-02-2023 04:11 PM - edited 04-02-2023 04:13 PM
@johnalia wrote:
how to Store the last measured value of the sensor in a variable
The last measured value is stored forever in the indicator connected to it and will only change when a new value arrives.
If you want to keep the previous value AND compare it to the newly measured value, use a shift register or feedback node as already suggested.
You can dramatically increase the chances of a useful answer if you exactly define the problem you are trying to solve and attach your code draft (a vi, not a picture).