Imports a single data file into the current Labbook.
IMPORTFILE("filename", "headerfile", autoload, overwrite, onewin, color, impmode)
"filename" |
- |
A string. The name of the file to import. |
||||||||||
"headerfile" |
- |
Optional. A string, the header file. |
||||||||||
autoload |
- |
Optional. An integer, the series load flag.
|
||||||||||
overwrite |
- |
Optional. An integer, the overwrite flag if autoload is 1.
|
||||||||||
onewin |
- |
Optional. An integer, load series into a single Window if autoload is 1
|
||||||||||
color |
- |
Optional. An integer, the onewin color mode.
|
||||||||||
impmode |
- |
Optional. An integer, the import save mode.
|
importfile(gethome + "\data\impthree.dat", 1, 1, 1, 1, 0)
imports the file, impthree.dat, into the current Labbook. The imported series are loaded into the current window using separate colors.
importfile("data.dat")
imports the file, data.dat, into the current Labbook. If the data file does not contain a DADiSP header, the standard importing defaults are used.
importfile("data2.dat","data2.hed",1)
imports the file, data.dat, using the header file, data2.hed, into the current Labbook, and automatically loads the Dataset into the current Window.
IMPORTFILE is a non-GUI version of the built in single file import facility.
See IMPORTSELECT to import multiple files from a folder.