Importing ASCII Files with the DataPlugin Wizard
- Updated2024-09-12
- 2 minute(s) read
Finding, Loading, and Saving Data > Loading and Saving Data > Importing ASCII Files with the DataPlugin Wizard
Importing ASCII Files with the DataPlugin Wizard
Use the DataPlugin Wizard to interactively create a new DataPlugin. You can use a DataPlugin to load, register, and search for your own data formats.
-
Select the DIAdem NAVIGATOR panel.
-
In the file browser, select the file that you want as template for your DataPlugin settings. For example, you can find the file DataPlugin_Proc.asc in the user file, which per default is located in the Search areas in National Instruments\DIAdem xxx\Data.
-
Right-click the file and select Open With from the context menu.
-
Click Wizard in the dialog box that opens, to open the DataPlugin Wizard.
-
In Step 1 of the Wizard you assign a meaning to the individual lines to specify the file structure of the text file to be read.
a) Enable Blank lines so that DIAdem skips the blank lines in the text file.
b) Enter { next to Line starts with so that DIAdem skips comment lines.
c) Assign the Group type to rows 1 and 2 of the table so that DIAdem interprets these rows as group properties.
d) Assign the Channel type to rows 4 and 5 of the table so that DIAdem interprets these rows as channel properties. -
Click Next.
-
In Step 2 of the Wizard you specify the group properties.
a) Disable Space.
b) Assign the Name property to row 1 of the table.
c) Assign the Description property to row 2 of the table. -
Click Next.
-
In Step 3 of the Wizard you specify the channel properties.
a) Enable Semicolon.
b) Assign the Name property to row 1 of the table.
c) Assign the Unit property to row 2 of the table. -
Click Next.
-
In Step 4 of the Wizard you specify the channel values.
a) Disable Semicolon.
b) Enable Space.
c) Enter the Time format MM.DD.YYYY.
d) Assign the Time type to the Date column in the table. -
Click Next.
-
In Step 5 of the Wizard you specify the DataPlugin properties.
a) Enter DataPlugin_Proc as the Name.
b) Enter *.asc in Filename extensions. -
Click Finish. DIAdem creates the DataPlugin as the DataPlugin_Proc.vbs script and registers the DataPlugin. You can now edit, export, or delete the registered DataPlugin through Settings»Extensions»DataPlugins.
| Note Refer to DataPlugin Wizard, Step 1 of 5 and the following pages for further information. |