LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Community Nugget 02/25/2007

next project... LV-skins
Message 11 of 29
(7,327 Views)


@JoeLabView wrote:
next project... LV-skins

Can you elaborate?

___________________
Try to take over the world!
Message 12 of 29
(7,305 Views)
skins similar to what certain applications support, like WinAmp. 
to give a non-labview look to the application and allow users to create their own 😉
0 Kudos
Message 13 of 29
(7,286 Views)

Two options:

  1. Use the system controls, so that you get a system look instead of a LabVIEW look.
  2. Do skins, as you suggested. I think this was suggested in the MP3 player coding challenge. If I remember correctly, my thoughts at the time were of creating a framework which would allow using a picture control as a generic interface (describe "buttons", "indicators" and so on in a seperate ASCII\XML file).
    With something like that you would have a skinable interface (actually, you would be able to completely change your interface just by loading another definition file), but I never moved forward with it.

Another option for skins would be to remove all code from the GUI VIs into other VIs and just leave the controls and indicators there. That way, creating a new skin would be a matter of replacing the controls in the VI.


___________________
Try to take over the world!
Message 14 of 29
(7,272 Views)
I just finished taking the Advanced I Architectures class. The instructor showed an example of the case where all of the code for the UI was in a separate VI. The UI had a single output; a cluster of control and indicator references.

I couldn't wrap my mind around this, so I've been tinkering. See attached...


Message 15 of 29
(7,260 Views)

hai all,

          wow its wonderful, thank you for bringing out a options, but what i fear is does it reduce the performance of the labview or the application runn time,

0 Kudos
Message 16 of 29
(7,236 Views)
" ... wow its wonderful, thank you for bringing out a options, but what i fear is does it reduce the performance ..." [emphesis added]
 
In your query above, what does "it" refer to?
 
Ben
 
PS Sounds similar to "It depends on the what the definition of "is" is." ( William Jeffferson Clinton) Smiley Tongue
 
 
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 17 of 29
(7,228 Views)

@Phillip Brooks wrote:

I couldn't wrap my mind around this, so I've been tinkering. See attached...

Very nice.

kodee, some of the customizations suggested in the original post could definitely slow down LV, as actually mentioned there. Drawing a large imported image will take time and so will drawing overlapping objects, but these should only take time when actually updating the display.

Philip's demo should not slow down the application because it deals with the GUI which is relatively slow anyway.


___________________
Try to take over the world!
0 Kudos
Message 18 of 29
(7,174 Views)

Hi,

I am trying to create a steering wheel from a knob but I still not have any luck. The moving part is the needle. I want to replace it with the steering picture created from MS Word but looks like I cannot replace it. Do you have any suggestion for this one? This part is really important with the GUI of my project.

I highly appreciate your helps.

Best regards,

Thang Nguyen

Message Edited by THANG NGUYEN on 11-10-2008 01:27 PM
0 Kudos
Message 19 of 29
(5,587 Views)

THANG NGUYEN wrote:

Hi,

I am trying to create a steering wheel from a knob but I still not have any luck. The moving part is the needle. I want to replace it with the steering picture created from MS Word but looks like I cannot replace it. Do you have any suggestion for this one? This part is really important with the GUI of my project.

I highly appreciate your helps.

Best regards,

Thang Nguyen

Message Edited by THANG NGUYEN on 11-10-2008 01:27 PM

I did some checking with R&D and came away thinking that I should not hold my breath waiting for the ability to replace the needle.

 

I suggest you use a picture control to render the turning wheel.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 20 of 29
(5,583 Views)