CM4D.ini - DMIS Statement

This section of the Cm4d.ini file is for setting up the exact format you want for the Export Data format DataSource of DataSet into DMIS Statement.

A general setup is provided as a starting point in the Cm4D.ini file, based on DMIS formatting. These settings allow you to make changes to the definitions if there are future changes to the DMIS headers. Replace the values as needed to match your Header format requirements.

Name Description Setting Default Value Alternate Value(s)

Default Directory

The default directory that is set when the DMIS Statement export option is selected

DEFAULTDIRECTORY=

"C:\TEMP"

Any valid file path.

Existing File - Overwrite

When enabled (1), files with the same name are overwritten. If this is disabled (0) it will attempt to append the suffix provided.

OVERWRITEEXISTINGFILE=

0

1

Existing File - Suffix

If the file overwrite is not allowed, a suffix is appended to the file name in order to attempt to create a unique file name for the exported file. However, if the suffix definition provided does not result in a unique file name, the file will be overwritten anyway.

SUFFIXEXISTINGFILE=

"~time~"

File Extension

The file extension assigned to the exported data file.

FILEEXTENSION=

"dmo"

File Name - No Sample Label

The file name to be used if the sample label is not available.

FILENAMEWITHOUTSAMPLELABEL=

"~rout,code~-~rout,hand,RH,LH,BH,BH~-~samp,label~"

File Name - Sample Label

The file name to be used if the sample label is available.

FILENAMEWITHSAMPLELABEL=

"~rout,code~-~rout,hand,RH,LH,BH,BH~"

Header Count

# number of header definition. Must be followed by the same number of HEADERXX entries where XX is replaced with a the index starting with 1. Two digits. Leading 0

HEADERCOUNT=

12

01 - 12

Header Definitions - 01

Example HEADER 01 definition.

HEADER01=

"TEXT/OUTFIL,'~rout,description~'"

Header Definitions - 02

Example HEADER 02 definition.

HEADER02=

"TEXT/OUTFIL,'~samp,filter,Y~'"

Header Definitions - 03

Example HEADER 03 definition.

HEADER03=

"TEXT/OUTFIL,'[email protected]'"

Header Definitions - 04

Example HEADER 04 definition.

HEADER04=

"TEXT/OUTFIL,'~samp,filter,Z~'"

Header Definitions - 05

Example HEADER 05 definition.

HEADER05=

"DATE=~sample,date~"

Header Definitions - 06

Example HEADER 06 definition.

HEADER06=

"TIME=~sample,time~"

Header Definitions - 07

Example HEADER 07 definition.

HEADER07=

"PR(1)='~rout,filter,M~'"

Header Definitions - 08

Example HEADER 08 definition.

HEADER08=

"LI(2)='~samp,filter,G~'"

Header Definitions - 09

Example HEADER 09 definition.

HEADER09=

"PL(3)='~rout,hand~'"

Header Definitions - 10

Example HEADER 10 definition.

HEADER10=

"PN(4)='~samp,filter,D~'"

Header Definitions - 11

Example HEADER 11 definition.

HEADER11=

"PS(5)='~rout,filter,N~,~rout,filter,O~'"

 

Header Definitions - 12

Example HEADER 12 definition.

HEADER12=

"Q(6)='~rout,filter,A~'"

 

Header Definitions - 13

Example HEADER 13 definition.

HEADER13=

"Q(COMMENT)='~rout,filter,Z~'"

Header File Name

The header file name.

HEADERFILNAM =

"~rout,label~"

Section Example

[DMISSTATEMENTEXPORT]
DEFAULTDIRECTORY="C:\TEMP"
FILENAMEWITHSAMPLELABEL="~rout~-~rout,hand,RH,LH,BH,BH~-~samp,label~"
FILENAMEWITHOUTSAMPLELABEL="~rout~-~rout,hand,RH,LH,BH,BH~"
FILEEXTENSION="dmo"
OVERWRITEEXISTINGFILE=0
SUFFIXEXISTINGFILE="~time~"
HEADERFILNAM = "'~rout~'"
HEADERCOUNT=13
HEADER01="TEXT/OUTFIL,'~rout,desc~'"
HEADER02="TEXT/OUTFIL,'~samp,filter,Y~'"
HEADER03="TEXT/OUTFIL,'[email protected]'"
HEADER04="TEXT/OUTFIL,'~samp,filter,Z~'"
HEADER05="DATE=~sample,date,%m/%d/%Y~"
HEADER06="TIME=~sample,date,%H:%M:%S~"
HEADER07="PR(1)='~rout,filter,M~'"
HEADER08="LI(2)='~samp,filter,G~'"
HEADER09="PL(3)='~rout,hand~'"
HEADER10="PN(4)='~samp,filter,D~'"
HEADER11="PS(5)='~rout,filter,N~,~rout,filter,O~'"
HEADER12="Q(6)='~rout,filter,A~'"
HEADER13="Q(COMMENT)='~rout,filter,Z~'"

 

Can we improve this topic?