Owning Palette: Programming VIs and Functions
Use the Application Control VIs and functions to programmatically control PDA and Touch Panel VIs and applications.
There are some caveats to using the Application Control VIs and functions and the Menu functions in PDA and Touch Panel VIs.
| Palette Object | Description |
|---|---|
| Call By Reference Node | Calls the VI specified by reference. The reference VI must be a strictly typed VI reference. |
| Call Chain | Returns the chain of callers from the current VI to the top-level VI. |
| Clear PDA Chart | Clears the data displayed on a graph or chart in a PDA or Touch Panel application. The data type you wire to Control Reference determines the polymorphic instance to use. |
| Close Reference | Closes a refnum associated with an open VI, VI object, an open application instance, or a .NET or ActiveX object. |
| Get Special Folder Path | Returns the path to the application or directories that applications frequently use. |
| Invoke Node | Invokes a method or action on a reference. Most methods have associated parameters. |
| Open Application Reference | Returns a reference to a VI Server application running on the specified computer. |
| Open VI Reference | Returns a reference to a VI, custom control, or global variable specified by a name string or path to the VI's location on disk. |
| PDA Get Screen Size | Returns the width and height of a PDA or Touch Panel screen in pixels. |
| PDA Screen Orientation | Determines if the orientation of the screen on the PDA or Touch Panel target changed while the application was running. This VI also returns the height and width of the screen on the target. |
| Property Node | Gets (reads) and/or sets (writes) properties of a reference. |
| Quit LabVIEW | Stops all executing VIs and ends the current instance of LabVIEW. |
| Run Application | Runs the application specified by application path. Use this VI instead of the System Exec VI for PDA and Touch Panel applications. |
| Set Help File Path | Sets the file path for an HTML help file you create for a PDA or Touch Panel application. |
| Show Hide Input Panel | Displays or hides the input panel. |
| Static VI Reference | Maintains a static reference to a VI. You can configure the Static VI Reference function to output a generic or strictly typed VI reference. After you place the Static VI Reference function on a block diagram, double-click the function to display a file dialog box where you can select a VI. |
| Stop | Stops the VI in which it executes, just as if you clicked the Abort Execution button on the toolbar. Before you call this function with a TRUE input, be sure to complete all final tasks for the VI first, such as closing files, setting safe values for devices being controlled, and so on. |
| Zoom Chart or Graph | Enables and defines zooming in graphs and charts in PDA or Touch Panel applications. The data type you wire to Control Reference determines the polymorphic instance to use. |
| Subpalette | Description |
|---|---|
| Menu Functions | Use the Menu functions to modify the menus in LabVIEW applications. Use the functions located on the top row of the palette to handle menu selections. |
| PDA Memory VIs | Use the PDA Memory VIs to manage memory on a PDA or Touch Panel device. |