DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

DPF File

Solved!
Go to solution

Scaling with table of reference points in Mathematics Module provide option to load only dpf file. How to convert csv or xls file to dpf file.

0 Kudos
Message 1 of 3
(5,133 Views)
Solution
Accepted by topic author FrankK234

Hi Frank,

 

DPF is a text file of the format:

 

This file also be created using a simple text editor (such as windows notepad or DOS-Editor).

Data is stored line by line in ASCII format.

 

The following structure has to be observed:

1. row: INTERPOLATION

2. row: Name (free Text, max. 40 characters)
3. row: Number of columns;
max 17; (first column x values + max 16 columns y values.

You must insert ”2” if you you use a one-channel reference file.

(Values of the columns has to increase monotonically)

 

4. row: Number of data rows

The number of the following lines has to be exactly the same as defined in the previous line.

last line: EOF

 

The single columns are divided by space characters

Example 1:

INTERPOLATION

Example of a one-channel file

2

5

-2000 0

-1500 1.5151

-100 3.7456

10 7.87569

400 12.587

 

EOF

Example 2:

INTERPOLATION

Example of a multi-channel file

3

5

-2000 0.00 1.00

-1500 1.5151..2.50

-100 3.7456 3.5678

10 7.87569 2.222

400 12.587 3.334

EOF

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
Message 2 of 3
(5,127 Views)
Thanks CJ_Butler_DAS, this is sufficient to create conversion code.
0 Kudos
Message 3 of 3
(5,122 Views)