Lesson 09 - Accessing Files in LabVIEW-1
Lesson 09 - Accessing Files in LabVIEW-1
1
LESSON 9 Accessing Files in LabVIEW
2
A. Accessing Files from LabVIEW
Open/ Read
Close Check for
Create/ and/or
File Errors
Replace File Write to File
3
A. Accessing Files from LabVIEW
4
LESSON 9 Accessing Files in LabVIEW
5
B. High-Level and Low-Level File I/O Functions
6
LESSON 9 Accessing Files in LabVIEW
Exercise 9-1
Exploring High-Level File I/O
7
LESSON 9 Accessing Files in LabVIEW
Exercise 9-1
Exploring High-Level File I/O
How would you include more columns of data in the log file?
8
B. High-Level and Low-Level File I/O Functions
Open/ Read
Close Check for
Create/ and/or
Replace File Write to File File Errors
9
B. High-Level and Low-Level File I/O Functions
File Refnums
Identify unique file I/O sessions.
refnum
10
B. High-Level and Low-Level File I/O Functions
11
B. High-Level and Low-Level File I/O Functions
String Functions
Convert data types to text
12
LESSON 9 Accessing Files in LabVIEW
Exercise 9-2
Temperature Monitor VI—Logging Data
13
LESSON 9 Accessing Files in LabVIEW
Exercise 9-2
Temperature Monitor VI—Logging Data
What would happen if you used the Open/Create/Replace File and Close File
functions inside the While Loop?
14
LESSON 9 Accessing Files in LabVIEW
15
C. Comparing File Formats
ASCII/
LVM
Binary
16
C. Comparing File Formats
Activity 9-1
Lesson Review
Refer to the participant guide to answer questions about what you have learned in
this lesson and then discuss the answers as a group.
18
Lesson Review
19
Lesson Review
20
Lesson Review
a. ASCII
b. Binary
c. TDMS
d. LVM
21
Lesson Review
a. ASCII
b. Binary
c. TDMS
d. LVM
22