LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Uncontrolled expansion of a system slide control

I have two system slide controls (part of a larger cluster) that are getting longer by a few pixels every so often without me touching them on the front panel.  I don't know what this is correlated to (i.e. opening the .vi, running the .vi, etc.) but these slides are now running into the space for other controls and even their own digital displays.  My program does not change the position or sizing of these controls, however I do occasionally write to them through local variables and value references.

 

After noticing this issue, I tried programmatically keeping them down to size however there is an issue with this.  When the slide controls start to grow, their scales remain in place so there is a bit of a mismatch between the position on the scale and the corresponding label.  When I reduce the size by hand, or in the program, the scale similarly moves thus preserving this mismatch between the slide position and the label position.

 

The only fix I have found deleting the control and putting in a brand new one.  This is obviously not a tenable solution.  Does anyone have any ideas?  For reference, I'm using LabView 8.5 on the Mac but I had this problem with version 8.2 as well.

 

Thanks! 

0 Kudos
Message 1 of 3
(2,962 Views)

I have not seen anything like that.  Although I rarely use the system controls.

 

Is your cluster a Typedef?  Strict?  Do controls of the same type but not in a cluster exhibit this behavior?

 

Please post a VI containing this control and I will run it.  I have both PPC and Intel Macs available and several versions of LV.

 

Lynn 

0 Kudos
Message 2 of 3
(2,951 Views)

johnsold / Lynn

 

The slider control is within a cluster that is indeed a typedef from a custom control, yes.  However, I noticed this behavior in slider controls belonging to clusters that are not deposited from a custom control.  I have never found this expansion to occur in slide controls that were standalone variables.

 

I have included a .vi. that has the cluster of interest -- it would be difficult to include the cluster as part of the offending program.  I should mention that this slide expansion does not occur when the program is running, or even when the .vi is in memory.  I only notice this when LabView boots up and the .vi is first loaded.  In looking at this cluster now, the slide controls have expanded more than 10px on both ends.  Interestingly, i just noticed that they are getting taller too.  The scale on the bottom cluster is now starting to be clipped by the boundary of the cluster itself.

 

Any insight would be a great help. 

  

0 Kudos
Message 3 of 3
(2,932 Views)