LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

changing the value of indicator

Solved!
Go to solution

I have to change the value of an indicator while the program is running.

I am attaching a VI ,

1. A double is given as input to find ptbypt derivative then I am comparing the derivative ( Threshold) to input value to give a boolean output.

 

I need the user to change the threshold value as needed by him.

 

Thanks in Advance

@nk
0 Kudos
Message 1 of 4
(2,383 Views)
Solution
Accepted by topic author @nk

well, use the property node.

 

Ran

0 Kudos
Message 2 of 4
(2,374 Views)

Wire Numeric 3 to the threashold and remove the local variable (and the wire from Numeric 1).

You've got a race condition. The result in Numeric 2 will depend on which code executes last (probably the calculation).

/Y

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 4
(2,332 Views)

You have conflicting requirements here.  You are using the derivative as the threshold, but you want the user to specify the threshold.  So which is it really supposed to be?  Or are you supposed to put a threshold on the derivative?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4
(2,316 Views)