SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Static Public Member Functions | List of all members
Seci.Managers.LabViewMgr Class Reference

The manager class for interacting with LabVIEW. More...

Collaboration diagram for Seci.Managers.LabViewMgr:
Collaboration graph

Static Public Member Functions

static void AddVI (LabView.LabViewPanelInfo panel)
 Adds/loads a VI based on the LabViewPanelInfo More...
 
static Boolean DoesVIExist (String fileName)
 Checks whether the VI is present (i.e. has been loaded by SECI) More...
 
static SerialisableList
< LabView.LabViewPanelInfo
GetAllPanelsInfo ()
 Get the panel information for all the VIs More...
 
static Definitions.ControlType GetControlType (String fileName, String control)
 
static String GetFrontPanelTitle (String fileName)
 Get the full title of the VI. Needed for the Win32API stuff. More...
 
static List< String > GetListOfVIs (Boolean includeDefault)
 Gets a list of all the VIs loaded by SECI More...
 
static List< String > GetLlbInfo (String fileName)
 Get the information about the .llb file. More...
 
static int[] GetPanelBounds (String fileName)
 Get the bounds of the VI More...
 
static List< String > GetVIControls (String fileName)
 Get a list of the controls on the VI More...
 
static List< String > GetVIsNotLoaded ()
 Gets a list of VIs that SECI failed to load. Used when loading a configuration More...
 
static void HideVI (String fileName)
 Hides the VI front panel completely. More...
 
static Boolean IsLabViewRunning ()
 
static Boolean IsVIHidden (String fileName)
 Checks whether the VI front panel is hidden. More...
 
static void MinimiseVI (String fileName)
 Minimises the VI front panel. More...
 
static void RemoveVI (String fileName)
 Removes a VI from the current configuration and "closes" it. More...
 
static void RestoreVI (String fileName)
 Restores the VI front panel. More...
 
static void SetFrontPanelBounds (String fileName, int[] bounds)
 Set the bound of the front panel. Can be used to move the VI or resize it (not recommended). More...
 
static void SetPanelsInfo (SerialisableList< LabView.LabViewPanelInfo > panels)
 Set the panel information for the VIs More...
 
static void SetVisibilityToDefault (String fileName)
 Returns the VI to its default visibility as determined by the SECI settings. More...
 
static void ShowVI (String fileName)
 Shows the VI front panel if it was hidden. More...
 
static void UpdateFrontPanelTitle (String fileName)
 Update the stored window title for the front panel of the VI More...
 

Detailed Description

The manager class for interacting with LabVIEW.

Definition at line 10 of file LabViewMgr.cs.

Member Function Documentation

static void Seci.Managers.LabViewMgr.AddVI ( LabView.LabViewPanelInfo  panel)
inlinestatic

Adds/loads a VI based on the LabViewPanelInfo

Parameters
panelThe LabViewPanelInfo for the VI to load

Definition at line 176 of file LabViewMgr.cs.

static Boolean Seci.Managers.LabViewMgr.DoesVIExist ( String  fileName)
inlinestatic

Checks whether the VI is present (i.e. has been loaded by SECI)

Parameters
fileNameThe full filepath of the VI
Returns
True indicates it exists

Definition at line 147 of file LabViewMgr.cs.

static SerialisableList<LabView.LabViewPanelInfo> Seci.Managers.LabViewMgr.GetAllPanelsInfo ( )
inlinestatic

Get the panel information for all the VIs

Returns
List of LabViewPanelInfo

Definition at line 204 of file LabViewMgr.cs.

static Definitions.ControlType Seci.Managers.LabViewMgr.GetControlType ( String  fileName,
String  control 
)
inlinestatic

Definition at line 22 of file LabViewMgr.cs.

static String Seci.Managers.LabViewMgr.GetFrontPanelTitle ( String  fileName)
inlinestatic

Get the full title of the VI. Needed for the Win32API stuff.

Parameters
fileNameThe full filepath of the VI
Returns
The full title

Definition at line 69 of file LabViewMgr.cs.

static List<String> Seci.Managers.LabViewMgr.GetListOfVIs ( Boolean  includeDefault)
inlinestatic

Gets a list of all the VIs loaded by SECI

Parameters
includeDefaultWhether to include the default VIs
Returns
List of VI names

Definition at line 195 of file LabViewMgr.cs.

static List<String> Seci.Managers.LabViewMgr.GetLlbInfo ( String  fileName)
inlinestatic

Get the information about the .llb file.

Parameters
fileNameThe full filepath of the VI
Returns
List of Strings containg the names of the VIs and other information

Definition at line 167 of file LabViewMgr.cs.

static int [] Seci.Managers.LabViewMgr.GetPanelBounds ( String  fileName)
inlinestatic

Get the bounds of the VI

Parameters
fileNameThe full filepath of the VI
Returns
Integer array

Definition at line 49 of file LabViewMgr.cs.

static List<String> Seci.Managers.LabViewMgr.GetVIControls ( String  fileName)
inlinestatic

Get a list of the controls on the VI

Parameters
fileNameThe full filepath of the VI
Returns

Definition at line 17 of file LabViewMgr.cs.

static List<String> Seci.Managers.LabViewMgr.GetVIsNotLoaded ( )
inlinestatic

Gets a list of VIs that SECI failed to load. Used when loading a configuration

Returns
List of VIs that were not loaded

Definition at line 157 of file LabViewMgr.cs.

static void Seci.Managers.LabViewMgr.HideVI ( String  fileName)
inlinestatic

Hides the VI front panel completely.

Parameters
fileNameThe full filepath of the VI

Definition at line 116 of file LabViewMgr.cs.

static Boolean Seci.Managers.LabViewMgr.IsLabViewRunning ( )
inlinestatic

Definition at line 218 of file LabViewMgr.cs.

static Boolean Seci.Managers.LabViewMgr.IsVIHidden ( String  fileName)
inlinestatic

Checks whether the VI front panel is hidden.

Parameters
fileNameThe full filepath of the VI
Returns
True indicates that it is hidden

Definition at line 126 of file LabViewMgr.cs.

static void Seci.Managers.LabViewMgr.MinimiseVI ( String  fileName)
inlinestatic

Minimises the VI front panel.

Parameters
fileNameThe full filepath of the VI

Definition at line 89 of file LabViewMgr.cs.

static void Seci.Managers.LabViewMgr.RemoveVI ( String  fileName)
inlinestatic

Removes a VI from the current configuration and "closes" it.

Parameters
fileNameThe full filepath of the VI to remove

Definition at line 185 of file LabViewMgr.cs.

static void Seci.Managers.LabViewMgr.RestoreVI ( String  fileName)
inlinestatic

Restores the VI front panel.

Parameters
fileNameThe full filepath of the VI

Definition at line 98 of file LabViewMgr.cs.

static void Seci.Managers.LabViewMgr.SetFrontPanelBounds ( String  fileName,
int[]  bounds 
)
inlinestatic

Set the bound of the front panel. Can be used to move the VI or resize it (not recommended).

Parameters
fileNameThe full filepath of the VI
boundsThe new bounds

Definition at line 59 of file LabViewMgr.cs.

static void Seci.Managers.LabViewMgr.SetPanelsInfo ( SerialisableList< LabView.LabViewPanelInfo panels)
inlinestatic

Set the panel information for the VIs

Parameters
panelsList of LabViewPanelInfo

Definition at line 213 of file LabViewMgr.cs.

static void Seci.Managers.LabViewMgr.SetVisibilityToDefault ( String  fileName)
inlinestatic

Returns the VI to its default visibility as determined by the SECI settings.

Parameters
fileNameThe full filepath of the VI

Definition at line 135 of file LabViewMgr.cs.

static void Seci.Managers.LabViewMgr.ShowVI ( String  fileName)
inlinestatic

Shows the VI front panel if it was hidden.

Parameters
fileNameThe full filepath of the VI

Definition at line 107 of file LabViewMgr.cs.

static void Seci.Managers.LabViewMgr.UpdateFrontPanelTitle ( String  fileName)
inlinestatic

Update the stored window title for the front panel of the VI

Parameters
fileNameThe full filepath of the VI<

Definition at line 78 of file LabViewMgr.cs.


The documentation for this class was generated from the following file: