DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Variable: FileChnDataStyle

Variable: FileChnDataStyle

Specifies the data type of the channel data when DAT files are imported via header.

Definition FileChnDataStyle(i), Enumeration variable
i = 1 ... EditNoMax
Enumeration variable with the following selection terms
Script Term Interface Term, Explanation
"INT16"
INT16
"REAL48"
REAL48
"ASCII"
ASCII
"WORD8"
WORD8
"WORD16"
WORD16
"INT32"
INT32
"WORD32"
WORD32
"REAL32"
REAL32
"REAL64"
REAL64
"MSREAL32"
MSREAL32
"TWOC12"
TWOC12
"TWOC16"
TWOC16

Valid settings

ASCII ASCII format
INT16 2-byte values (16 bits) with a prefix
INT32 4-byte values (32 bits) with a prefix
WORD8 1-byte values (8 bits) without a prefix
WORD16 2-byte values (16 bits) without a prefix
WORD32 4-byte values (32 bits) without a prefix
REAL32 Data with 4-byte real format (32 bit) Turbo-Pascal: 'Single'), sign prefix=1 bit, exponent=8 bit, mantissa=23 bit
REAL48 Data in 6-byte real format (48 bit), Turbo-Pascal: 'Real', Sign prefix=1 bit, mantissa=39 bit, exponent=8 bit
REAL64 Data with 8-byte real format (64 bit) Turbo-Pascal: 'Double', Sign prefix=1 bit, exponent=11 bit, mantissa=52 bit
MSREAL32 Data with 4-byte real format, as older Microsoft programs (32 bit) generate, exponent=8 bits, prefix=1 bit, mantissa=23 bits
TWOC12, TWOC16 Special formats (complement on two), that write analog/digital converters
Note  DIAdem uses this variable to selectively load and save DAT files. The command DataLoadHdFile loads the respective data set properties of DAT files and assigns the respective value to the variable.

Related Topics

Variable: FileChnBeginIdx | Variable: FileChnBeginVal | Variable: FileChnComment | Variable: FileChnDataFile | Variable: FileChnDataType | Variable: FileChnDim | Variable: FileChnFormat | Variable: FileChnLength | Variable: FileChnMonoKey | Variable: FileChnName | Variable: FileChnNo | Variable: FileChnNovInChn | Variable: FileChnNovKey | Variable: FileChnOffs | Variable: FileChnSaveType | Variable: FileChnStep | Variable: FileChnValMax | Variable: FileChnValMin | Variable: FileChnXMark | Variable: FileHdAddTxt1 | Variable: FileHdAddTxt2 | Variable: FileHdAddTxt3 | Variable: FileHdASCIIPtr | Variable: FileHdASCIISep | Variable: FileHdAuthor | Variable: FileHdByteOrder | Variable: FileHdComment | Variable: FileHdCommentN | Variable: FileHdDate | Variable: FileHdDecChar | Variable: FileHdDTFormat | Variable: FileHdExpChar | Variable: FileHdNov | Variable: FileHdTime | Variable: FileHdTitle | Variable: FileHdType

Used by

Edit Channel Properties | Program Variables in Commands

In This Section
Was this information helpful?