LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Tags
This content has not been tagged yet

> Bug reporting guidelines:

See here for the proper LabVIEW bug reporting procedure.


 
Reply to this topic Start new topic
> Table scrollbar customizations not saved with VI, Scrollbar reverts to standard dimensions
David Boyd
post Sep 14 2006, 05:20 PM
Post #1


Very Active
***

Premium Member
Posts: 141
Joined: 13-November 03
From: Kennesaw, GA USA
Member No.: 195
Using LabVIEW Since:1997
LV:8.5 ,8.2.1 ,.
United States us_georgia us_pennsylvania


To demonstrate, do the following:

1) On a new VI, drop a table control from the 'List & Table' palette.
2) Popup and invoke the control editor on the table.
3) Show Parts Window. Change the width of the Y scrollbar from default (17) to 32 pixels.
4) Change the width of the frame from default (250) to 265 (to match the scrollbar change).
5) Apply changes, then dispose the control editor window.
6) Observe that the table has the 'fat' vertical scrollbar. Save and close the VI.
7) Reopen the VI - the scrollbar reverts to default width.

I also tried saving the control as a strict typedef. The typedef retains the change when reopened, but instances of it on VI FPs don't reflect the modification. EDIT: The typedef does not retain the change either - I may have had it lurking on my clipboard when I tried it earlier.

I wanted a 'fat' scrollbar for my touchscreen UI... sad.gif

My guess, FWIW: this is a bug related to the 'BigSavings' introduced in LV8 to reduce VI footprint on disk.

What I'd really like is for someone to check whether this behavior remains in 8.20 - I haven't received my 'official' SSP CDs, so I don't have it installed.

Best regards,

Dave

--------------------
David Boyd
Sr. Test Engineer
Respironics


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
Ad
post Sep 14 2006, 05:20 PM
Post #















Tags
This content has not been tagged yet
Go to the top of the page
Quote Post
smenjoulet
post Sep 14 2006, 05:55 PM
Post #2


Active
*

Member
Posts: 15
Joined: 17-May 04
From: Dallas, TX
Member No.: 415
Using LabVIEW Since:1992
LV:8.2.1 ,7.1 ,.
United States us_texas us_michigan


Dave,
Sorry to report that the behavior is unchanged in 8.20.


QUOTE (David Boyd @ Sep 14 2006, 12:20 PM) *
I also tried saving the control as a strict typedef. The typedef retains the change when reopened, but instances of it on VI FPs don't reflect the modification. EDIT: The typedef does not retain the change either - I may have had it lurking on my clipboard when I tried it earlier.

What I've seen (both in 8.0 and 8.20) is that the typedef does retain the customizations, but you only see them if you open the typedef while a containing VI is in memory. If you open only the typedef itself (or open it first) you won't see the customizations. Very weird...

Regards,
Scott


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
David Boyd
post Sep 14 2006, 06:34 PM
Post #3


Very Active
***

Premium Member
Posts: 141
Joined: 13-November 03
From: Kennesaw, GA USA
Member No.: 195
Using LabVIEW Since:1997
LV:8.5 ,8.2.1 ,.
United States us_georgia us_pennsylvania


QUOTE (smenjoulet @ Sep 14 2006, 01:55 PM) *
Dave,
Sorry to report that the behavior is unchanged in 8.20.
What I've seen (both in 8.0 and 8.20) is that the typedef does retain the customizations, but you only see them if you open the typedef while a containing VI is in memory. If you open only the typedef itself (or open it first) you won't see the customizations. Very weird...

Regards,
Scott

Thanks, Scott, for confirming this... I neglected to add that I did observe this behavior when I checked a LabVIEW version *ahem* between 8 and 8.20.

And just now I opened my typedef file and Hey Presto! there's my 'fat' scrollbar... so your observations about the order of opening TD vs. VI seem to be confirmed. If only there were a way to trick LabVIEW into using all the custom control's attributes when on the FP....

Dave

--------------------
David Boyd
Sr. Test Engineer
Respironics


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
jhoskins
post Sep 14 2006, 07:42 PM
Post #4


Very Active
***

Member
Posts: 75
Joined: 17-March 04
From: knoxville Tn.
Member No.: 310
Using LabVIEW Since:2003
LV:8.20 ,8.0.1 ,7.1
United States Nothing Selected Nothing Selected


QUOTE (David Boyd @ Sep 14 2006, 02:34 PM) *
Thanks, Scott, for confirming this... I neglected to add that I did observe this behavior when I checked a LabVIEW version *ahem* between 8 and 8.20.

And just now I opened my typedef file and Hey Presto! there's my 'fat' scrollbar... so your observations about the order of opening TD vs. VI seem to be confirmed. If only there were a way to trick LabVIEW into using all the custom control's attributes when on the FP....

Dave

I just figured out something else, If I do everything you say I can recreate what you see. But in LabVIEW 8.20 if you open a blank project and then do everything from inside the project the VI and controls are just fine. And they also are able to be built into an EXE OK.

It also does not matter if the control is type def'd or not.
Weird.

This post has been edited by jhoskins: Sep 14 2006, 07:43 PM

--------------------
One day I'm going to grow up and be somebody else, but until then I will just keep on being me.

Joe


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
smenjoulet
post Sep 14 2006, 08:21 PM
Post #5


Active
*

Member
Posts: 15
Joined: 17-May 04
From: Dallas, TX
Member No.: 415
Using LabVIEW Since:1992
LV:8.2.1 ,7.1 ,.
United States us_texas us_michigan


QUOTE (jhoskins @ Sep 14 2006, 02:42 PM) *
But in LabVIEW 8.20 if you open a blank project and then do everything from inside the project the VI and controls are just fine. And they also are able to be built into an EXE OK.


Right you are! Nice catch. thumbup1.gif
It also works in 8.0. You don't need to start from scratch either. Just put the existing files into a project.

Scott


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
jhoskins
post Sep 14 2006, 08:27 PM
Post #6


Very Active
***

Member
Posts: 75
Joined: 17-March 04
From: knoxville Tn.
Member No.: 310
Using LabVIEW Since:2003
LV:8.20 ,8.0.1 ,7.1
United States Nothing Selected Nothing Selected


QUOTE (smenjoulet @ Sep 14 2006, 04:21 PM) *
Right you are! Nice catch. thumbup1.gif
It also works in 8.0. You don't need to start from scratch either. Just put the existing files into a project.

Scott

Thanks, and right you are thumbup1.gif

--------------------
One day I'm going to grow up and be somebody else, but until then I will just keep on being me.

Joe


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
David Boyd
post Sep 15 2006, 11:43 AM
Post #7


Very Active
***

Premium Member
Posts: 141
Joined: 13-November 03
From: Kennesaw, GA USA
Member No.: 195
Using LabVIEW Since:1997
LV:8.5 ,8.2.1 ,.
United States us_georgia us_pennsylvania


QUOTE (jhoskins @ Sep 14 2006, 03:42 PM) *
I just figured out something else, If I do everything you say I can recreate what you see. But in LabVIEW 8.20 if you open a blank project and then do everything from inside the project the VI and controls are just fine. And they also are able to be built into an EXE OK.

It also does not matter if the control is type def'd or not.
Weird.

So far I'm unable to get this to work - I recreated the customized control w/in a LabVIEW 8.0 project, along with a VI which uses it, but it still seems to show the default scrollbar appearance once reloaded. Sorry, but can you give me a step-by-step of how you did this workaround?

Thanks so much to you and to Scott for knocking this around - this is why I love the online LabVIEW community so much.

Best,

Dave

--------------------
David Boyd
Sr. Test Engineer
Respironics


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
jhoskins
post Sep 15 2006, 12:32 PM
Post #8


Very Active
***

Member
Posts: 75
Joined: 17-March 04
From: knoxville Tn.
Member No.: 310
Using LabVIEW Since:2003
LV:8.20 ,8.0.1 ,7.1
United States Nothing Selected Nothing Selected


QUOTE (David Boyd @ Sep 15 2006, 07:43 AM) *
So far I'm unable to get this to work - I recreated the customized control w/in a LabVIEW 8.0 project, along with a VI which uses it, but it still seems to show the default scrollbar appearance once reloaded. Sorry, but can you give me a step-by-step of how you did this workaround?

Thanks so much to you and to Scott for knocking this around - this is why I love the online LabVIEW community so much.

Best,

Dave

First off just turning it into a project works great witout any little quirks, which I found investigating this morning.

Steps I took: 8.20
  1. open labview and create a new project
  2. right click on my computer and select new control
  3. customize control as you wish--I did not use a type def I just did a regular control
  4. save control
  5. right click on my computer again and select new VI
  6. Here is where the little quirks come in-- If you open the contol via control pallettes and select control then nothing is kept it is just the same BUG as noted before, But if you drag the control onto the front panel from the project explorer then the control is fine.
  7. Save VI
  8. Save project.
I would say that this is a BIG BUG. thumbdown.gif Doing it this way is not much of a work around but it is a way to get what you want. it is just a shame that you cannot save a control the way you want it and have it stay that way.

It's funny how we can get Labview to do anything we want except for what we want it to do. throwpc.gif

--------------------
One day I'm going to grow up and be somebody else, but until then I will just keep on being me.

Joe


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
David Boyd
post Sep 18 2006, 12:45 AM
Post #9


Very Active
***

Premium Member
Posts: 141
Joined: 13-November 03
From: Kennesaw, GA USA
Member No.: 195
Using LabVIEW Since:1997
LV:8.5 ,8.2.1 ,.
United States us_georgia us_pennsylvania


QUOTE (jhoskins @ Sep 15 2006, 08:32 AM) *
I would say that this is a BIG BUG. thumbdown.gif Doing it this way is not much of a work around but it is a way to get what you want. it is just a shame that you cannot save a control the way you want it and have it stay that way.

It's funny how we can get Labview to do anything we want except for what we want it to do. throwpc.gif


frusty.gif Y'know, I STILL can't get this to work under LV8 - I've moved the code into a project (a step long overdue anyway), created a .ctl file w/in the project, &c., and gone back over your steps, and no joy. Did I mention that the containing object for the table is not the FP directly, but one of the pages of a tab control? You don't suppose this has anything to do with the behavior?

It's just a little wish - just one of those UI dress-ups you turn your attention to when the project has reached the 90%+ functional mark. mad.gif

Thanks again for all the experimentation on my behalf.

Dave

--------------------
David Boyd
Sr. Test Engineer
Respironics


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
jhoskins
post Sep 18 2006, 12:35 PM
Post #10


Very Active
***

Member
Posts: 75
Joined: 17-March 04
From: knoxville Tn.
Member No.: 310
Using LabVIEW Since:2003
LV:8.20 ,8.0.1 ,7.1
United States Nothing Selected Nothing Selected


QUOTE (David Boyd @ Sep 17 2006, 08:45 PM) *
frusty.gif Y'know, I STILL can't get this to work under LV8 - I've moved the code into a project (a step long overdue anyway), created a .ctl file w/in the project, &c., and gone back over your steps, and no joy. Did I mention that the containing object for the table is not the FP directly, but one of the pages of a tab control? You don't suppose this has anything to do with the behavior?

It's just a little wish - just one of those UI dress-ups you turn your attention to when the project has reached the 90%+ functional mark. mad.gif

Thanks again for all the experimentation on my behalf.

Dave

David,

Are you sure that you dragged the control fromn the project onto the the front panel. Even when I do this with the tab control I get the same results.

Which version of LabVIEW are you using. 8 or 8.2 or something in between for now. I have all. Let mw know so that I can try to help you troubleshoot this in the same version that you are using.

--------------------
One day I'm going to grow up and be somebody else, but until then I will just keep on being me.

Joe


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
smenjoulet
post Sep 19 2006, 03:53 AM
Post #11


Active
*

Member
Posts: 15
Joined: 17-May 04
From: Dallas, TX
Member No.: 415
Using LabVIEW Since:1992
LV:8.2.1 ,7.1 ,.
United States us_texas us_michigan


QUOTE (David Boyd @ Sep 17 2006, 07:45 PM) *
frusty.gif Y'know, I STILL can't get this to work under LV8

I wonder if this is not an 8.0 vs 8.0.1 issue in your case. I tried it in 8.0.1 and 8.2, but not 8.0. Though obviuosly still a bug, maybe it was "cleaned" up enough in 8.0.1 to get it to work in the project scenario. What ver are you using?

Then again, I guess you could just wait 'til you get your 8.2 CD's.

Regards,
Scott


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
David Boyd
post Sep 25 2006, 03:23 AM
Post #12


Very Active
***

Premium Member
Posts: 141
Joined: 13-November 03
From: Kennesaw, GA USA
Member No.: 195
Using LabVIEW Since:1997
LV:8.5 ,8.2.1 ,.
United States us_georgia us_pennsylvania


QUOTE (smenjoulet @ Sep 18 2006, 11:53 PM) *
I wonder if this is not an 8.0 vs 8.0.1 issue in your case. I tried it in 8.0.1 and 8.2, but not 8.0. Though obviuosly still a bug, maybe it was "cleaned" up enough in 8.0.1 to get it to work in the project scenario. What ver are you using?

Then again, I guess you could just wait 'til you get your 8.2 CD's.

Regards,
Scott

Scott.

I am using 8.0, never having dealt with the patch/masscomp situation. My official 8.2 CDs arrived this past Friday. I don't know if I'll migrate the present app development to 8.2 anytime soon.

Thanks again for all the testing you did on my behalf. Eventually I'll get a bug report into NI for this.

Dave

--------------------
David Boyd
Sr. Test Engineer
Respironics


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   6 Rick M 1639 30th December 2004 - 06:39 PM
Last post by: Michael Ashe
No New Posts   0 Mikrobi 877 30th August 2004 - 01:23 PM
Last post by: Mikrobi
No New Posts   2 sirzrx 1207 11th November 2004 - 04:37 PM
Last post by: sirzrx
No New Posts   1 Mikrobi 1208 26th February 2005 - 09:16 AM
Last post by: skywalkerxp


Reply to this topicStart new topic

 




Time is now: 6th October 2008 - 01:54 PM