Skip to content

Latest commit

 

History

History
39 lines (39 loc) · 1.21 KB

File metadata and controls

39 lines (39 loc) · 1.21 KB

Lecture 2

1. 控制邏輯

  • Structure -> For Loop 、 While Lop
    • 項目右鍵 - Conditional Terminal 、 Loop Iteration

2. 陣列與叢集

  • Array -> Array Const
    • For Loop
      • Input
        • 1D Array (垂直排列) -> Numeric Const 、 String Const
    • Case Structure
      • Input -> Bool 、 Int 、 Enum Cons (Numeric) 、 String
  • Dialog & User Interface
    • 顯示文字 -> One Btn Dialog
      • 轉成字串 -> String -> Format Into String
  • Cluster

3. Events

  • Structures -> Event Sturcture
    • 架構右鍵 -> Add Events Case -> Add Button Click Event
    • 內容右鍵 -> Application Control -> Property Node
      • Property Node 右鍵 -> Create -> Property for Application Class
    • Ctl Ref 拉線至 Property for Application Class
      • 右鍵 -> Create -> Property for Boolean Class -> Label -> Text
      • 將 Ctl Ref 重新拉線至 Boolean Class (Label.Text)
      • 原先 Property Node 刪除
  • 字串合併
    • String -> Concantenate
  • Class 屬性
    • Indicator -> 右鍵 -> Create -> Property Node

4. 波形繪製


5. 自行設定 VI


6. 檔案輸入與輸出