1. Target
    a. Automatically generate similiar VIs for LabVIEW API
    b. Analysis the VI properties, connector and generate report

  2. Functions
    a. Get the VI propery: Execution( Allow debugging, Reentrancy, Prioriy, Preferred Execution System, Inline subVI into calling VIs, Enable automatic error handing, Run when opened, Suspend when called, Clear indicators when called, Auto handle menus at launch).
    b. Get the VI connector information: Pattern, Terminal names and types, wiring rules.
    c. Generate a report contain above information using XML or HTML format.
    d. Generate VI and configure its controls and indicators, VI pane, connector and properties.
    e. Wiring block diagram objects.
    f. Aligning controls and indicators.
    g. Code convention check (case sensitive check)
    h. VI home position

  3. Input and Output
    a. input: a text configure file or a template VI user input by controls (Connector Pane Pattern Reference.vi). a folder containing the VIs need to ckeck
    b. output: a XML/HTML report. a boundle of VI API

  4. Progress
    a. research: validate that we can create VI through VI script and set the VI property, connector and controls/indicators Finished
    b. create VI through text configure file or template VI user input , set its controls/indicators, property and connector
    *For now, I want to use ini configure file to record the setting. Each section represents a VI API *
    Set the property directly by controls
    *Design a UI for it *
    *Wiring all lines *
    Finished
    c. get the VI property, connector and controls/indicators information and generate a report
    Generate a HTML file to show information
    Use ActiveX to show the HTML page
    Should show the connector view, wiring rule, terminal name and VI property
    name convention check
    d. build to exe

  5. Problem
    a. How to handle the connector and terminals ?
    b. How to connect wire with controls? Do I need to do that ?
    c. I cannot assign control to terminal. Why ?
    d. How can I align controls and indicators ?

  6. Outcome
    VI Generate Page
    VI Analyser Page

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐