Go to Post Another lesson is don't post on Chief Delphi disappointed, stop and evaluate first. Emotions suck sometimes. :-) - sircedric4 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-03-2016, 16:56
CS-5's Avatar
CS-5 CS-5 is offline
Registered User
AKA: Carson
FRC #4050 (Biohazard)
Team Role: Programmer
 
Join Date: Oct 2014
Rookie Year: 2013
Location: Shippensburg, Pennsylvania
Posts: 4
CS-5 is an unknown quantity at this point
Question Labview FRC Custom Dashboard Problem

I was going about creating a custom dashboard for our team, since we are using several sensors on our robot this year. I was running low on space, and needed it to fit our larger laptop's screen better, so I changed the VI's window dimensions (within VI properties).

Image 1: shows what the dashboard should look like, when in full screen mode on the driving computer.
Click image for larger version

Name:	Image 1.PNG
Views:	36
Size:	29.6 KB
ID:	20236

Image 2: shows what it looks like when launched (you will notice the entire left-hand pane is missing).
Click image for larger version

Name:	Image 2.PNG
Views:	28
Size:	7.3 KB
ID:	20237

Image 3: shows the window stretched across my two monitors, only then can you actually see the tabbed pane.
Click image for larger version

Name:	Image 3.PNG
Views:	26
Size:	24.6 KB
ID:	20238

The Dashboard has never been easy to customize (one possible reason for switching to Java), but I have to work with it this year. Does anyone have recommendations on what I can do to resolve this issue? And suggestions or tips to keep in mind when making changes to the dashboard? Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-03-2016, 18:11
EthanJF123 EthanJF123 is offline
Registered User
FRC #2614
 
Join Date: Mar 2015
Location: Morgantown, WV
Posts: 11
EthanJF123 is an unknown quantity at this point
Re: Labview FRC Custom Dashboard Problem

On the driver station, there is a setting for picking the language used by the dashboard. What program is it set to? Attached is a photo is where the configuration is found on the driver station.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	13
Size:	278.1 KB
ID:	20239  
Reply With Quote
  #3   Spotlight this post!  
Unread 01-03-2016, 18:22
CS-5's Avatar
CS-5 CS-5 is offline
Registered User
AKA: Carson
FRC #4050 (Biohazard)
Team Role: Programmer
 
Join Date: Oct 2014
Rookie Year: 2013
Location: Shippensburg, Pennsylvania
Posts: 4
CS-5 is an unknown quantity at this point
Re: Labview FRC Custom Dashboard Problem

Quote:
Originally Posted by EthanJF123 View Post
On the driver station, there is a setting for picking the language used by the dashboard. What program is it set to? Attached is a photo is where the configuration is found on the driver station.
I have it set to the correct dashboard. It was tested with, and without the driver station connected.
Reply With Quote
  #4   Spotlight this post!  
Unread 01-03-2016, 20:25
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Labview FRC Custom Dashboard Problem

At the bottom of the Dashboard Main block diagram you will see an icon labeled DB Adjust.

If you want you can Disable that, and exercise manual control over everything, or you can play with the settings inside.

Look inside and you see where the screen size is set.
Check out the sizing refnums too. Those are used to resize panels.
Property nodes are in use there as well.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-03-2016 at 08:51.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-03-2016, 20:41
CS-5's Avatar
CS-5 CS-5 is offline
Registered User
AKA: Carson
FRC #4050 (Biohazard)
Team Role: Programmer
 
Join Date: Oct 2014
Rookie Year: 2013
Location: Shippensburg, Pennsylvania
Posts: 4
CS-5 is an unknown quantity at this point
Re: Labview FRC Custom Dashboard Problem

Quote:
Originally Posted by Mark McLeod View Post
At the bottom of the Dashboard Main block diagram you will see an icon labeled DB Adjust.

If you want you can Disable that, and exercise manual control over everything, or you can play with the settings inside.

Inside and you see where the screen size is set.
Check out the sizing refnums too. Those are used to resize panels.
Property nodes are in use there as well.
I was not aware it could be disabled, how can I go about doing that, without causing errors in the program?
Reply With Quote
  #6   Spotlight this post!  
Unread 01-03-2016, 20:48
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Labview FRC Custom Dashboard Problem

Programming palette -> Structures -> Diagram Disable

This will leave the Dashboard with a normal window border and it can be dragged about, minimized, etc.
It won't fit nicely on a Classmate-size screen with the borders active though.
Eventually you might want to explore how to get it to automatically resize to fit whatever screen you run on.
Attached Thumbnails
Click image for larger version

Name:	DiagramDisable.jpg
Views:	21
Size:	20.1 KB
ID:	20241  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 01-03-2016, 20:50
CS-5's Avatar
CS-5 CS-5 is offline
Registered User
AKA: Carson
FRC #4050 (Biohazard)
Team Role: Programmer
 
Join Date: Oct 2014
Rookie Year: 2013
Location: Shippensburg, Pennsylvania
Posts: 4
CS-5 is an unknown quantity at this point
Re: Labview FRC Custom Dashboard Problem

Quote:
Originally Posted by Mark McLeod View Post
Programming palette -> Structures -> Diagram Disable

This will leave the Dashboard with a normal window border and it can be dragged about, minimized, etc.
It won't fit nicely on a Classmate-size screen with the borders active though.
Thankfully, we aren't on a classmate! I appreciate the help, I wasn't aware you could use a diagram disable structure without affecting the program's functionality.
Reply With Quote
  #8   Spotlight this post!  
Unread 02-03-2016, 08:39
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: Labview FRC Custom Dashboard Problem

The diagram disable definitely does affect the program functionality, ... by disabling the execution of the code within it. It is similar to deleting the code.

The dashboard has lots of functionality and is shipped as source code. We've discussed making a simple dashboard template, but have thus far decided to keep the default one open and modifiable. Feedback about how this could be better documented or implemented is welcome.

Greg McKaskle
Reply With Quote
  #9   Spotlight this post!  
Unread 02-03-2016, 09:10
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Labview FRC Custom Dashboard Problem

Quote:
Originally Posted by Greg McKaskle View Post
The diagram disable definitely does affect the program functionality, ... by disabling the execution of the code within it. It is similar to deleting the code.

The dashboard has lots of functionality and is shipped as source code. We've discussed making a simple dashboard template, but have thus far decided to keep the default one open and modifiable. Feedback about how this could be better documented or implemented is welcome.

Greg McKaskle
I'll say the dashboard template is a large bit of code that is difficult to understand and handle. The large use of hidden front panel items makes it difficult to use. I'd prefer if it used more global variables than hidden front panel items.

A simple dashboard would be great to have. Might consider using popup VIs rather than the tab control to contain functionality such as the checklist, commands, and variable front panels to their respective code. Trying to work around all of this code was very difficult. I would love to keep the auto-resizing in there, but it caused too much grief, so I removed that.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
Reply


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 20:24.

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