|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Dashboard Tutorial fro Java Pls :)
I wrote up a custom object that lets you track variables and output more easily on the lcd in the bottom right. If you'd like, I can post it.
|
|
#2
|
||||
|
||||
|
Re: Dashboard Tutorial fro Java Pls :)
That would be cool, especially since i want to track the state of some switches we have..
|
|
#3
|
||||
|
||||
|
Re: Dashboard Tutorial fro Java Pls :)
PHP Code:
I don't have any documentation for it, but I'll summarize how to use it. Make a simpleLcd object with: PHP Code:
To monitor a variable: lcd.monitor needs two arguments. First is the variable itself. It needs to be in object format, but it should be able to automatically do get the object from a string or the like. You may need to wrap primitive data types, such as ints. The second is the number. If it's the first one, just pass 1. Second, pass 2, etc.TO do so: PHP Code:
|
|
#4
|
|||
|
|||
|
Re: Dashboard Tutorial fro Java Pls :)
We started with the approach of using the LCD on the Driver Station by doing something similar, because we thought that was the best we were going to be able to accomplish.
But, if you look at my post to bascially the same question on "Info to Dashboard" started by sand500 (sorry, I don't know how to link here), then you'll see the information you need to get you into the 'real' Dashboard with LabView. I know lots about Java programming, but our team had zero LabView experience, and we managed to make this work - so I'm sure you can too. Good luck! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|