05-02-2006 09:13 AM
05-02-2006 11:11 AM
I can't see the code, but doing the short or long implementation should be fairly easy using a switch until released mechanical action (you can even do it in an event structure if you place a loop inside the value change case), but I don't remember whether the PDA module supports this action. Obviously, the buttons will have to be seperate from the control.
I believe that doing the focus thing should also be possible if you use the mouse down event to detect which control was clicked on last and increment that control.
BTW, since you're already playing with incrementing controls, my experience has shown that it's better to place them at the right side of the control (for right-handed people) to avoid hiding the control with your hand.
05-02-2006 11:22 AM
05-02-2006 12:01 PM
a) I simply don't have LV 8.
b) The mouse down event was supported at least since 7.1 (If I remember correctly it wasn't for 7.0), but maybe that's only for picture controls.
c) If that's the case than you should be able to use a picture control as the button you click on. A mouse down will trigger the incrementing (you can change the event structure timeout or use a seperate loop with a flag) and a mouse up will stop it.
05-02-2006 12:40 PM
05-12-2006 09:35 AM
12-24-2010 03:19 PM
I have the same problem, event structures are not working for my PDA (labview 8.5). The Vi works perfect for my PC, so I think it is a bug hope from labview know for it and fix it
12-26-2010 04:15 AM
Hi Greycat,
I have attached a small example to do what i think you are trying to achieve. I have done it without using an event structure as i believe you are experiencing problems with this on a PDA. The example basically increments a button once if pressed once. If held it will increment at a set speed and then after an input amount of increments will switch to a second speed. Both speeds and the point at which they change are settable.
Hope this is along the lines of what you are after.
Regards,
Lucither.