luc desruelle's Blogue

Navigateur communautaire
annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

Techniques Programmation avancée LabVIEW : Gestion des données FGV – AE - vers DVR

Desruelle_luc
Trusted Enthusiast

plus d'informations dans le chapitre 3 « programmation avancée » du  livre "LabVIEW programmation et applications" édition Dunod

 

http://www.amazon.fr/LabVIEW-3e-%C3%A9d-Programmation-applications/dp/2100724339/ref=la_B00VOUMY4A_1...

 

(environnement de développement, règles de style, gestion des données, gestion des erreurs et règles d’architecture) :

• la gestion des données : locale, globale, nœud de propriété, variables fonctionnelles (FGV), Action Engine (AE), programmation Objet (OOP), DVR; • les modèles de projet (VI général, machine à états, producteur/consommateur événementiel, boite de dialogue)

• la gestion des erreurs;

• les règles de styles;

• les outils gratuits et indispensables (OpenG, VIPM,...)

• ...

 

0] techniques Programmation Avancée : locale, Globale vers FGV et DVR

http://www.mesulog.fr/download/JournTech2013_MESULOG_ProgAvanceeLabVIEW_GestionDonnees_VNI.pdf

Par Luc DESRUELLE certifié LabVIEW Architecte et développeur - MESULOG lors des

Journées techniques LabVIEW National Instruments 21 novembre 2013

Présentation réalisée lors des Journées techniques LabVIEW, par Mesulog - Luc Desruelle - Technique de programmation avancée : gestion des données.

 

  • Sommaire :
    Où trouver de l’aide?
  • Quelques règles de style, LabVIEW Style Checklist
  • Contrôle, Indicateur VS Locale VS Globale VS Noeud de propriété
  • Pourquoi utiliser indicateur puis locale puis noeud de propriété
  • FGV : Functional Global Variable
  • AE : Action Engine
  • OOP : Object-Oriented Programming et structure
  • SM – QDMH
  • DVR : Data Value Reference

 

 

1) Histoire des FGV - Functional Global Variables – History

 

FGV : Functional Global Variable

 

Prior to the release of LabVIEW 2, the value of the initialized shift register had not been defined. This was during the time period in which LabVIEW was black and white and required the developer to disconnect all of the terminals to move an icon.

 

With the release of LabVIEW 2, the LabVIEW development team wisely determined that the uninitialized shift register would retain its previous value. The alternative would have been that it revert back to the default value of the data type. Subsequently, with the release of LabVIEW 2, this technique became the methodology for storing global data in LabVIEW.

 

The native global variable was not introduced until LabVIEW 3. But even with the introduction of the native global variable, the functional global variable remained a popular programming technique for global data storage.

 

Advanced Architectures in LabVIEW Course Manual

 

 

2) FGV - Functional Global Variables

La FGV est un registre à décalage non initialisé, d’un vi non réentrant, qui permet de mémoriser une valeur sur un set...

1 init.PNG

et de la lire sur un Get

2 get.PNG

 

3) AE -  Action Engine

L'AE permet de rajouter une action dans un état, principe de l'encapsulation

3 AE.PNG

 

Luc Desruelle | avatar_ld.gif | Voir le profil LinkedIn de Luc DesruelleVoir mon profil

CLA : Certified LabVIEW Architect / Certifié Architecte LabVIEW
CLD : Certified LabVIEW Developer / Certifié Développeur LabVIEW

Contact

banniere Luc Livre NXG Champion.png

Luc Desruelle | Mon profil | Mon blog LabVIEW | Auteur livre LabVIEW : Programmation et applications - G Web
Certified LabVIEW Architect (CLA) & Certified TestStand Developper (CTD) | LabVIEW Champion

MESULOG - LinkedIn site | NERYS - NERYS Group
| directeur CEO MESULOG
| CODIR - NERYS group