LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Freq Entry XControl, first XControl attempt

Solved!
Go to solution

My first attempt at an XControl is attached. I'm looking for feedback on things I may have overlooked and areas where the code could be improved. I'm also not completely satisfied with the control's appearance so any suggestions in that area would be good. The version is 8.2.

0 Kudos
Message 1 of 3
(2,250 Views)
Solution
Accepted by topic author gchristi1

Hi gchristi1,

 

It looks pretty good so far!  The only big thing that I saw was the code outside the event structure that sets certain values and appearances.  I would try to put this in certain cases of the event structure or within a case structure outside the event structure.  That way you don't call this multiple times unnecessarily.

Jared S.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 3
(2,227 Views)

Thank you. Intuitively, the code outside the event structure didn't look right.

 

The thermometer example is pretty good, but outside of that, it's kind of hard to find XControl example that I can relate to.

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