LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

local variable



anyasodor wrote:
i thank u all for ur fast reply. attached is the VI and the problem is, that when the motor nears the sensor(reference sensor) the Round LED at the Frontpanel shows
but the local variable(DI9_Ax_RefB) shows  false.

A local variable does not "show" anything, it always contains the same value as the control/indicator.
  • How do you determine the value of the local? Are you probing the wire after the local variable for example?
  • Of course the local variable will only get read if dataflow allows.
  • Is "Motor2Rückrwärts" TRUE?
  • How long does it take to execute the first frame of the flat sequence?
  • Place an indicators on the [i] of your various loops. Do they really spin as expected?

Can you rework your demo to avoid all the hardware (e.g. replace things with random number generators and delays). Can you make an example that we can actually run that shows the same problem?

0 Kudos
Message 11 of 12
(476 Views)
Hi All,
thank u all for the prompt reply , i've solved the problem, rebuilding the vi without check move complet flx and it works perfectly ok!

thanks all once again and regards , till next time bye for now and have a great day!

gerald anyasodor
germany
Message 12 of 12
(450 Views)