| Tutorial > Data Collection > Data from a textfile |
| Entering data from a text file |
This tutorial will demonstrate how data can be converted from a single textfile to a data base using W-Import. Note that this example doesn't utilize W-Imports multi file or multi directory automatic features.
We will be using an actual data file produced by a gage. The file, e1.txt, looks like this:
13 ,01/11/94 ,7:57:19,qbet7029 ,1 ,ta6588 ,1,A,17,19,0.001930 13 ,01/11/94 ,8:2:37 ,qbet7029 ,1 ,ta6588 ,1,A,17,18,0.002059 13 ,01/11/94 ,8:2:46 ,qbet7029 ,1 ,ta6588 ,1,A,17,17,0.002318 13 ,01/11/94 ,8:2:49 ,qbet7029 ,1 ,ta6588 ,1,A,17,16,0.002553 |
As you can see, the file is comma delimited and has eleven fields, but only the last one contains the actual measurements we will focus on in this example.
Now, we are going to:
| field name | type | length |
| 13 | N | 0 |
| Date | N | 0 |
| time | N | 0 |
| Text1 | A | 10 |
| Num1 | N | 0 |
| Text2 | A | 10 |
| Num2 | N | 0 |
| A | A | 1 |
| Num3 | N | 0 |
| Num4 | N | 0 |
| Num5 | N | 0 |



| Top | < Prev | > Next |