Go to Post Magic Smoke. One whiff and you never forget. - JohnBoucher [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 04-02-2015, 19:06
5048Programmer 5048Programmer is offline
Registered User
FRC #5048 (Spartronics)
Team Role: Programmer
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Imlay City
Posts: 5
5048Programmer is an unknown quantity at this point
Dashboard Project Alignment issues

I'm in a bit of a pickle right now. I've created a Dashboard Project in LabView and I've modified it quite extensively. I'd like to not redo it if at all possible. The only problem is that for some reason now when I run the dashboard everything is unusably shifted to the right. It's quite annoying to say the least. Here's a screenshot:

It kinda fixes itself if you expand it to the right, but there's still the big space to the left, and it just unfixes itself when you resize it vertically. I'd really like to find a solution to this.

If you need, I've zipped up the entire dashboard project and attached it. (Coding isn't 100% complete yet, mostly because I can't really test it.) Hopefully there's a solution to this issue.
Attached Files
File Type: zip Dashboard.zip (505.9 KB, 5 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2015, 19:58
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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: Dashboard Project Alignment issues

Open the front panel
Reposition the contents in the panel to appear as you want
Save the file
Build & test
Attached Thumbnails
Click image for larger version

Name:	Repositioned Dashboard.jpg
Views:	16
Size:	76.3 KB
ID:	18153  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2015, 21:37
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 Project Alignment issues

As Mark mentioned, I believe you mostly need to scroll to put the contents onscreen. There is some resize code that is built into the template. It does nice stuff for the default dashboard, but if you modify the overall structure, you may need to visit that resize code.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2015, 17:16
5048Programmer 5048Programmer is offline
Registered User
FRC #5048 (Spartronics)
Team Role: Programmer
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Imlay City
Posts: 5
5048Programmer is an unknown quantity at this point
Re: Dashboard Project Alignment issues

Here's the problem though: scrolling or moving does absolutely nothing. The thing's on an infintely wide plane; it doesn't seem to matter where the stuff is on the panel, it just kinda does it's thing. I think the problem is with the fact that it auto-scales to fit the window. Also, I haven't changed anything outside the tabs (at least, not on purpose, anyways.) I'll try looking at the resize code, but I'm not sure how much that would help. Thanks anyways, though.
Reply With Quote
  #5   Spotlight this post!  
Unread 05-02-2015, 18:13
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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: Dashboard Project Alignment issues

Your project works for me, but on a Classmate.
Here's the executable I built, so you can see if it's the resizing on your machine.

I zipped the project with the corrected positioning on my PC.
Without opening the Dashboard main vi, try just doing a build to see what it produces.
Attached Files
File Type: zip Dashboard5048.zip (2.52 MB, 6 views)
File Type: zip Dashboard.zip (1.53 MB, 5 views)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 05-02-2015, 20:28
5048Programmer 5048Programmer is offline
Registered User
FRC #5048 (Spartronics)
Team Role: Programmer
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Imlay City
Posts: 5
5048Programmer is an unknown quantity at this point
Re: Dashboard Project Alignment issues

I believe I found the problem. I was doing a right click>run on the EXE project assuming that would rebuild the project, but it didn't and it was trying to run an older, broken version. That explains a lot. Thank you.
Reply With Quote
  #7   Spotlight this post!  
Unread 05-02-2015, 20:43
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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: Dashboard Project Alignment issues

Thanks for the answer
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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 21:27.

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