|
|
|
| You may possess me without penalty. |
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Tachometer and Custom Dashboard Help?
Hello There! My Team and I are attempting to use an tachometer connected via DIO, to get the speed of our shooter's wheel, we've got a program we think will work, but we don't know how to display the counter number onto a dashboard i'm fairly certain that we need a custom dashboard but I've got no clue
on how to set one up or use it with the driver station... Any help is appreciated!! |
|
#2
|
||||
|
||||
|
Re: Tachometer and Custom Dashboard Help?
What language are you programming in?
|
|
#3
|
||||
|
||||
|
Re: Tachometer and Custom Dashboard Help?
Judging by the fact that this is in the LabVIEW subforum, I'd venture to guess they use LabVIEW.
Sending values to the dashboard in LabVIEW is very easy. If you are using the default dashboard, use the Smart Dashboard Write vi to send the value to the name "DB/Slider 0". Then when the robot is running, open up the default dashboard and switch to the Basic tab and your number should be in the top number output. It gets a bit more complicated if you want to use a custom dashboard, but if all you need is that one number then that's not really necessary. |
|
#4
|
||||
|
||||
|
Re: Tachometer and Custom Dashboard Help?
Quote:
|
|
#5
|
||||
|
||||
|
Re: Tachometer and Custom Dashboard Help?
IIRC the default dashboard has all the values on the Basic tab bound to their names (in one of the loops below the "don't touch this" line). I would check that, but my LabVIEW expired last year and since I'm not programming the robot anymore I've been too lazy to put in the new activation code. Someone can check my memory if you want to be sure.
|
|
#6
|
||||
|
||||
|
Re: Tachometer and Custom Dashboard Help?
Quote:
Off topic: Have you ever used the VIremote app for iOS? |
|
#7
|
||||
|
||||
|
Re: Tachometer and Custom Dashboard Help?
Quote:
I have not used the VIremote app yet. Might be an interesting tool for debugging if setup and integration isn't too much of a hassle. |
|
#8
|
||||
|
||||
|
Re: Tachometer and Custom Dashboard Help?
It's not a debugging tool, it just lets you control a front panel from an iOS device, as well as get various data from the device. It works great with Google Cardboard.
|
|
#9
|
||||
|
||||
|
Re: Tachometer and Custom Dashboard Help?
If I understand correctly, the app connects over wifi so it can't be used in competition. It could be used, however, to get data from the robot at home while debugging.
|
|
#10
|
||||
|
||||
|
Re: Tachometer and Custom Dashboard Help?
Quote:
I'm pretty sure and Oculus VR has enough resolution to do a full VR dash rather than a simple dual camera display. But the Oculus takes away all the programming fun, since you (IIRC) can set it up as two displays and just run two separate default dashboards set to their respective cameras. Not only that, but you could set up the Oculus hand controllers as joysticks for driving. Although Oculus is so much nicer, I still prefer VIRemote. It's so much more fun. |
|
#11
|
|||
|
|||
|
Re: Tachometer and Custom Dashboard Help?
The easiest way to present a numeric number is to write to DB/String 0 through DB/String 9. Format the number, any way you, like to a string and write to the variables listed above.
If the range works, you can also write to DB/Slider 0 through 3. There are LEDs and buttons too. Beyond that, you can make a custom DB. Controls placed in the Custom tab are still bound by name. The difference between simple and default DB are ... Default --------- 2nd camera - simple supports just one on the left pane Test - allows you to view sensor and motor configuration, values, and experimentally modify many values. Commands - Interactively fire a command for testing Checklist - Display a text file and support checking them off as part of drive team procedure Simple -------- Missing the above features, but the diagram is considerably simpler, therefore a much better template for many to start with. If you identify that binding or other features don't work, please bring it up. Greg McKaskle |
|
#12
|
||||
|
||||
|
Re: Tachometer and Custom Dashboard Help?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|