1 / 29

LabVIEW 基礎課程 ( 三 A)

LabVIEW 基礎課程 ( 三 A). CH 9 字串和文件 IO. Using String Functions(1). Using String Functions(2). Using String Functions(3). 練習 9-1: String Construction. Parsing Functions. Special Characters Used by the Match Pattern Function. 檔案存取. 練習 9-3: Writing to a Spreadsheet File.

bedna
Télécharger la présentation

LabVIEW 基礎課程 ( 三 A)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LabVIEW基礎課程(三A)

  2. CH9 字串和文件IO

  3. Using String Functions(1)

  4. Using String Functions(2)

  5. Using String Functions(3)

  6. 練習9-1: String Construction

  7. Parsing Functions

  8. Special Characters Used by the Match Pattern Function

  9. 檔案存取

  10. 練習9-3: Writing to a Spreadsheet File

  11. 練習9-4: Reading from the Spreadsheet File

  12. 其他檔案功能

  13. Event & State Machine

  14. User Actions on the Front Panel Block Diagram Execution Why use Events? Synchronize

  15. The Event Structure • Examples of User Interface (Static) Events • Pressing a button on the mouse • Pressing a key on the keyboard • Value (Signaling) Property can generate a programmatic event

  16. Parts of an Event Structure • Event Selector Label — identifies event case viewed • Timeout— value in ms to wait for events; default value is –1 (indefinite) • Dynamic Event Terminals — used for dynamic event registration • Default Tunnel Values —new type of tunnel which allows unwired cases to provide default values

  17. Parts of an Event Structure (continued) • Event Data Node — identifies the data LabVIEW provides when the event occurs; similar to the Unbundle By Name function • Event Filter Node — identifies the subset of data available in the Event Data Node that the event case can modify

  18. Event Structure Basic Usage • Normally used in a While Loop • Sleeps and handles exactly one event per iteration • Event Data available in terminals on structure’s left border • Can right-click on Event Data and show only the terminals you need

  19. Event Structure Configuration • Use a dialog box to configure events byright-clicking the Event structure border and selecting Edit Events Handled by This Case from the shortcut menu

  20. Edit Events Dialog 1 • Configured Events • Event Sources • Events 2 3

  21. Event Demo

  22. State Machine in LabVIEW

  23. Excise

More Related