Setchange / lvshortcut_provider

Adds Shortcut item into the LabVIEW project tree.

Home Page:https://benjaminrlabviewextensions.github.io/lvshortcut_provider/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub all releases Wiki Issues Zero-Clause BSD LinkedIn

LabVIEW Shortcut Provider

Table of Contents
  1. LabVIEW Shortcut Provider

The idea. behind this plugin, is to be able to create Shortcuts, as we have on our desktop, to LabVIEW files directly within a LabVIEW project tree. This will allow developper to quickly open VIs, LVClass, RunTime Menu, ..., from the project tree root.

This plugin allows developpers to create a new Shorcut from the popup menu that appears when My Computer is right-clicked.

PopupMenuNew

The Create Shortcut wizard dialog helps the developper define the target file and name of a Shortcut.

Shortcut Wizard Target Shortcut Wizard Name
Wizard1 Wizard2

Once the wizard finished, the new Shortcut item appaers in the LabVIEW project tree with the default file type icon with a shortcut arrow overlay.

Item

Double-click on a Shortcut to open it within the active project context. You can also select Open from the right-click menu.

You can edit a Shortcut, using the Edit item from the right-click menu, to either change the target nor change the name. You can also drag and drop any LabVIEW files on the Shortcut in the project tree. This action will ask for confirmation before updating the Shortcut.

Editor

Use cases

  • Quick access to a DQMH Module Main VI to avoid librarie tree expansions.
  • Add item from the LabVIEW Tools menu to avoid clicks.

The LabVIEW Project Provider Framework is a previously internal-only feature for adding additional functionality to the LabVIEW Project Explorer. With it you can do things like add new items to the project window and modify existing items by adding extra right-click menu options, glyphs to the icons, extra toolbars, etc.

The LabVIEW Project Provider framework is an unsupported feature of LabVIEW.

If you’re interested in learning more about this framework, please visit the LabVIEW Project Providers group on the NI Community.

The LabVIEW Shortcut Provider is a primary LabVIEW Project Provider, responsible for putting one or more new shortcut item types into the project tree.

INI File Signer

Each provider contains an INI file that describes the supported type as well as the interfaces that are defined for that provider. Supported type represents the type ID (GUID) of the project item the provider applies to.

The INI file for the LabVIEW Shortcut Provider will look like:

[Provider]= SupportedType={08DCC3D2-2795-4EAC-AB66-1A269B67C835} Alias=Shortcut ItemInterfaceVI=..\LVProjectShortcut\LVProjectShortcut_Item_Interface.vi CreateNewWizardInterfaceVI=..\LVProjectShortcut\LVProjectShortcut_CreateNewWizard_Interface.vi ProviderInterfaceVI=..\LVProjectShortcut\LVProjectShortcut_Provider_Interface.vi CreateNewWizardHost=Source IsPrimary=1 LicenseName=None InterfaceVersion=1.0 Signature=

Where the SupportedType specifies a GUID that represents the type of project item. As we created a new type of item, a new GUID has been chosen {08DCC3D2-2795-4EAC-AB66-1A269B67C835}.

The INI file needs to be signed. Based on this Lavag discussion you can find the code in the support folder. The signed INI file is placed in the Providers\GProviders folder in order to be loaded by LabVIEW.

INI File Signer

About

Adds Shortcut item into the LabVIEW project tree.

https://benjaminrlabviewextensions.github.io/lvshortcut_provider/

License:Other


Languages

Language:CSS 51.0%Language:HTML 28.2%Language:LabVIEW 20.7%