12-12-2011 06:44 AM
Joystick is moved to right direction. I want to fixed (26525) when joystick is released. But slide value returns to zero when joystick is released.
12-12-2011 08:18 AM
Right now you are blindly updating the indicator with the joystick value. You need to update the indicator when there's a change in the joystick value. This means you need to keep track of the current value and compare it to the previous value. If there's a change, update the indicator. Otherwise, don't. Either a shift register or feedback node will work.
Side-note: do not use the Run Continous button. Your VI already has a loop.
Side-note 2: Do not place the Initialize VI inside the loop. Initialize outside, do work inside, and then close when loop is done. Please see the examples that ship with LabVIEW.
12-13-2011 04:54 AM
I didn't understand.More information or can you joystick VI.
12-13-2011 08:31 AM
What don't you understand? What a shift register is? It's used to pass a value around in a loop. Have you done any basic LabVIEW tutorials? To learn more about LabVIEW it is recommended that you go through the introduction material, tutorial(s), and other material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. There are also several Technical Resources. You can also take the online courses for free.
12-13-2011 10:18 AM
Thank you...