LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Control for Manual Shifting Lever

Hi folks,
 
i am just creating a HIL-simulation for a LabCar and i need to create a custom control for the shifting lever (both for manual and automatic transmission).
Has anyone an idea how to create such a control (should look like as the controls you can see in different car race computer games)??
 
Thanks for your help.
 
Karl
 
 
0 Kudos
Message 1 of 6
(3,669 Views)

I would suggest using a picture ring with a different image for each gear.

To create the images, you can try finding some on the web (or taking some yourself) or create a graphic representation using anything from Paint to Word to Photoshop. You then just need to import the images into the picture ring and change it when the user clicks on it.

If you want to get the full animation, you will need to do something more complicated (like using a picture control and building the image based on the position of the cursor).


___________________
Try to take over the world!
Message 2 of 6
(3,659 Views)
For the automatic transmission, you could use a slide control. Set the control's data type to integer (U8) then use the slide's properties to set the fill type and scale. Add a text decoration (PRNDL) and set the text size to line up with the markers on the slide.

(attached file is LabVIEW 8.2)



Message Edited by Phillip Brooks on 07-23-2007 09:51 AM

0 Kudos
Message 3 of 6
(3,638 Views)
Thanks for your answers.
Have just created the manual shifting lever control.
What do you think about it?
0 Kudos
Message 4 of 6
(3,616 Views)
0 Kudos
Message 5 of 6
(3,603 Views)
Nice indeed, although, if you do it like that, you don't need the picture control. Just change the picture ring to an indicator and use the event structure with mouse up, down and move events to determine which image to use.

___________________
Try to take over the world!
0 Kudos
Message 6 of 6
(3,592 Views)