From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to take a single value from a Floating-Point Scalar Wire?

Solved!
Go to solution

Hi all,

 

I just started working with LabVIEW, and I am trying to create a zero-ing (tare) function for a pressure transducer. To do this, I would like to have a switch that takes the current value of a floating-point scalar wire (orange), stores it, and subtract it from the wire. Is there any way to do this? I am using LabVIEW 2014.

 

Thank you

0 Kudos
Message 1 of 5
(2,690 Views)
Solution
Accepted by mig1214

Hi, I have shown a very simple example using  a shift register and select.  This is one of many ways but it is simple to follow.  It should help the thought process at least.

Michael.

Message 2 of 5
(2,681 Views)

Thank you very much Michael,

 

That was exactly what I needed.

 

-Miguel

0 Kudos
Message 3 of 5
(2,665 Views)

As mentioned in the duplicate thread, a feedback node is often cleaner than a shift register because the relevant code is more localized. Same functionality.

 

UseFN.png

0 Kudos
Message 4 of 5
(2,657 Views)

Hi altenbach,

 

Sorry about the duplicate thread; the page did not give me any confirmation that my question was posted so I thought I made an error and wrote another thread. Thank you for your help.

0 Kudos
Message 5 of 5
(2,640 Views)