Bret You need to work out which direction your motion system is going. One easy way is to create a while loop that reads the position periodically and loads the value into a shift register. The direction is determined by comparing latest measured position to the last value form the shift register. Feed comparison result to Boolean arrow indicator and voila. If you want to be fancy, use a separate conditional so that when the values are equal the indicator disappears (create a property node and write to the "visible" property). Be sure to put an appropriate delay in the measurement loop (say 100 to 250 ms) so you do not load down your system.
Cheers Paul A. Rochefort AECL Chalk River Labs Ontario, Canada -----Original Message----- From: Brett Scott [mailto:[EMAIL PROTECTED] Sent: 25 February, 2004 4:13 AM To: Info-Labview Subject: data comparison for custom indicator Wireworkers How can I do a comparison in that, I have a machine witch travels up and down and the linear transducer sends this data position (displacement) to my application, I have a vi witch will accept a t/f and will flash arrow pointing down or up . I want to wire this up to the rest of my app so when the displacement increases it makes the arrow flash accordingly, Basically have done everything except the bit were I make a comparison and send the T/F ,to my little custom indicators. Any help or example code in V6 Base would be greatly appreciated.
