Go to Post Instant Replay??? AAAAAAUUUUUGGGGGHHHHHH!!! - Bill Moore [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 23-02-2011, 22:31
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Dashboard Tutorial fro Java Pls :)

There are two parts to this. One, update the Java robot code to read and update the values for the second digital slot. I don't have access to the Java code, so I can't help much with this part.

The second part is to update the code for the custom dashboard. If you haven't done it yet, create a dashboard project from the Getting Started window. Open the Dashboard Main VI. Duplicate the group of displays for slot 4 and make one for six. You can do this by ctl-clicking and dragging a copy to the right, or you can copy/paste. You may also want to grow the window and move around the solenoids, communications, and other stuff. All of the controls are grouped to make them be a bit easier to rearrange.

If you double click on the test that says slot four, it should be selected and you can rename it. If you double click on the PWMs, LV will take you to the diagram and hilite the terminal that needs to have data wired. Notice that the original PWM is wired to the outputs of a VI called Parse Digital Module. There is a second VI just beneath, and you only need to drag the four terminals into the same structure and wire them to the Parse outputs. Hopefully that is enough info.

If you decide to duplicate only some of the digital displays, I'd start as above, then ungroup and delete what you aren't using. Click on the new Slot 6 displays, click on the Reorder toolbar button -- second from the right, looks like circular arrows, and choose ungroup. You can how click around and delete items you don't want to wire up anyway. Note that the clusters, arrays, and other display containers are painted transparent, which means they are a bit hard to see where to click. You may find it easier to start from the diagram terminal of the control you want to delete, double click, and LV will flip to the panel and select the item. If you simply want to delete it, you can most likely delete it from the diagram as well -- depends on ini settings.
There is no need to regroup the controls if you don't want. Grouping has no impact on the form of the data. If you do something that seems odd, Undo is your friend.

Feel free to ask other questions.

Greg McKaskle
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi