110 likes | 286 Views
Dashboard. The Dashboard Creation Toolkit (DCT) Project M. Fátima Gómez de la Cruz (EN-ICE-MTA). Dashboard Creation Toolkit. Provide an easy and standard way to create dynamic web pages from on-line data. Requirements: Drag and drop objects. Only configuration.
E N D
Dashboard The Dashboard Creation Toolkit (DCT) Project M. FátimaGómez de la Cruz (EN-ICE-MTA)
Dashboard Creation Toolkit • Provide an easy and standard way to create dynamic web pages from on-line data. • Requirements: • Drag and drop objects. • Only configuration. • Access to connect to data via dedicated server. • Clear template definition. • Web page creation. • Proposal: using the LabVIEWXControls technology and RADE framework
Xcontrol (I) • What is? • Is a reusable custom control/indicator. • Has dedicated code. • Possibility to add new user functionalities. • Why? • Grouping in the project window. • Configurable from pop-up windows. • Once drag and drop isn’t necessary to program the Block Diagram (no high LabVIEWknowledge).
Xcontrol (II) • The structure: • Data (.ctl) • State (.ctl) • Façade (.vi) • Init (.vi) • Convert State For Save (.vi) • Uninit (.vi) • Properties • Methods Abilities
DCT Generation Project • ProjectGeneratorMain.vi
Configuration File • The configuration file (devices.csv) has to be placed into Config file. • Structure: • Data Type • Device/Field#Property • Visible Name • Description • Units • Frequency • Buffer
Xcontrol Types Text Chart XY XY Graph
Configuration & Execution Drag and drop XControls Select device(s) in the pop-up window Configuration Devices and Refnums will be saved in a FG from the XControl Init ability Each XControl instance has all the Devices Names and only one user event refnum Read from Buffer and update the XControl Run Main.vi Execution Automatically we launch the subscriptions which will work in parallel with the Main.vi XControl update by notifications Write to Buffer
? Thank you