LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problems about shift register

i am using shift register to detect the change of state of my system. --- to detect when the temperature exist the limit, say 50 degree
therefore, i want to set a constraint that when the past value is below the limit, and the present value is over the limit, the loop is runned and value, time is recoreded.
My problem is that the system can't run well.
here is my sample program
0 Kudos
Message 1 of 6
(3,124 Views)
Hi,

There's a couple of useful examples in the labview6.1 examples. Use the Find Examples.. option in the Menu Help, and enter Limit in the key word.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 6
(3,124 Views)
thank you ray!
but have u see my attached file and give some comments to it?
0 Kudos
Message 3 of 6
(3,124 Views)
what's your example? What was your question again?

university wrote in message
news:506500000005000000FE610000-1012609683000@exchange.ni.com...
> thank you ray!
> but have u see my attached file and give some comments to it?
0 Kudos
Message 4 of 6
(3,124 Views)
I am using shift register to record the previous value to detect the state, however, the register can't work correctly.
0 Kudos
Message 5 of 6
(3,124 Views)
Hi,

Yes I did see your eaxample.

Your inner loop will only ever get one reading if it is inside your limits because it will never exit and therefore your outer loop will never take another reading. Your limit checking needs to be in a parallel loop for it to have a chance to work.
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 6 of 6
(3,124 Views)