Check out our User Interface Code Repository Files or visit the LabVIEW Wiki User Interface Portal
Tags |
(This content has not been tagged yet)
|
![]() |
Nov 23 2004, 03:50 PM
Post
#1
|
|||
|
Active Member Posts: 20 Joined: 23-October 04 From: England Member No.: 892 LV:7.1 |
Is there a way to make a slider control return to the default position when released?
The aim is to have a control which acts like the accelerator of a car. When released, it will spring back to 0. Thanks Jason
|
||
|
|
|||
| Ad |
Nov 23 2004, 03:50 PM
Post
#
|
||
|
|
|
||
|
|
|||
Nov 23 2004, 03:53 PM
Post
#2
|
|||
|
Active Member Posts: 20 Joined: 23-October 04 From: England Member No.: 892 LV:7.1 |
In conjuction with the lever mentiond on my previous post:
The harder the accelerator is pressed, the faster the car accelerates. This will be illustrated with a Tachometer (RPM). When the accelerator is released, the car will decelerate. So a ramp up/down function is needed??
|
||
|
|
|||
Nov 23 2004, 07:33 PM
Post
#3
|
|||
|
Very Active Member Posts: 55 Joined: 31-August 04 Member No.: 645 LV:7.0
|
QUOTE (boyracer38 @ Nov 23 2004, 03:50 PM) Is there a way to make a slider control return to the default position when released? The aim is to have a control which acts like the accelerator of a car. When released, it will spring back to 0. Thanks Jason Hi, If you use a Event structer associate with your slider, i think you can do that. Use the mouse up event. i hope this example can help you. bye
Attached File(s)
|
||
|
|
|||
Nov 24 2004, 09:39 AM
Post
#4
|
|||
|
Active Member Posts: 20 Joined: 23-October 04 From: England Member No.: 892 LV:7.1 |
That really helps thanks!!!!
Thanks Jason
|
||
|
|
|||
![]() ![]() |
| Time is now: 22nd November 2008 - 03:38 AM |