01-14-2009 09:02 AM
Here is a shot of the sub vi I am running. The purpose of this vi is to zero and average my pressure transducer reading. My problem is when I start the vi the first time the zero function will work properly, the second time the zero function (when used) returns the last value in the shift register, the third time it will work again and so on. I am not sure if it is a shift register problem or the first call function. I am new with labview so maybe I am missing something!!
Thanks,
joew
01-14-2009 09:17 AM
Hi joew,
just connect a constant to the shift register solves your problem. Right click on the left part of the shift register and select "create" -> "create constant".
Mike
01-14-2009 10:15 AM
01-14-2009 10:22 AM
It looks to me like the problem is your "Zeroing". In the right hand Case, which your Zero-button connects to, just place a constant "0" in the False and send it to the shift register. That would set the Shift register to 0 on the next loop.
/Y