View Single Post
  #5   Spotlight this post!  
Unread 01-02-2013, 12:12
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,751
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: Setting and saving values on Dashboard

The attached image shows the palette that exposes the VI Server. The VI Server is a hierarchy of class oriented services to the LabVIEW editor itself and to the objects on panels.

To the left of the palette are the VI methods for getting and setting a control value by name.

To their right are property nodes that get or set the value via an object refnum. You get the refnum using other VI server icons, or you can use linked property nodes that are bound to a specific control.

The VI Server is super powerful, but not the simplest thing to figure out. You may find the examples helpful, and you may also decide that the locals are good enough for what you are doing and you don't need a more extensible solution like VI Server.

Greg McKaskle
Reply With Quote