Importing Single Channel Data into a Dataset

A single channel of importing data can be stored in an ASCII or binary file. An ASCII file contains plain text, human readable values. Single channel ASCII data files can have each sample point on a separate line, or delimited by a comma, space(s), or tab(s). A CSV or Comma Separated Values file is an ASCII file where the delimiter character is a comma.


A binary file contains compact, machine readable values. The binary file format must be one of the following formats: 8-bit Byte, 16-bit Integer, 32-bit Integer, 64-bit Integer, IEEE 32-bit Floating Point, or IEEE 64-bit Double Precision. Delimiters are not used to separate data values in binary data files; the binary data format indicates how many bytes there are per point.


For the purposes of readability, only ASCII files will be used in the examples that follow.




In the following single-channel ASCII data file, each sample point appears on a separate line:


0.53538621 . . .  


In the following single channel ASCII data file, sample points are delimited by commas and newlines (i.e.  carriage return):


0.49476608,0.12469863 . . . 


To import a file which contains a single channel of data, whether ASCII or binary, you will need to identify parameters such as the Units, Sampling Rate, and the name of the Series into which the data will be imported. This can be done by editing the default import header during the import process.


If there is a header on the data file which is not a DADiSP header, then you will need to specify a file offset in order to skip over the header. DADiSP will attempt to read the information in the header unless you check the Skip Header box in the Advanced Import dialog box, or set IMP_SKIP_HEADER in the dadisp.cnf file to 1. DADiSP only interprets DADiSP keywords in headers.


You can also specify the number of points of data to import if you do not want to import the entire file.


Finally, if the data file contains multiple channels of data but you only want to import one of them, then you can specify which column or channel to import. These advanced options are available in the "Advanced" button in the Import Data dialog box.