Source Data Access Layer (DAL) configuration file example
- Last UpdatedApr 24, 2025
- 1 minute read
The DriverAlias configuration defined for DBEDIT in the DALConfig_Default.xml file is set to RealTime. However, you should set Pivot and Transfer DriverAlias configuration in the source computer to pdctst, as this is the name of the target system.
The configuration steps on the source computer are as follows:
-
Create a folder called pdctst under %DNADataRoot%\ADE\config\DAL\.
-
Under the %DNADataRoot%\ADE\config\DAL\pdctst directory, create a folder called control_room.
-
Make a copy of the DALConfig_Default.xml file and save it as DALConfig_DBEDIT.xml in the control_room folder.
-
In the copied file, remove everything except the RealTime DriverAlias element.
-
Change the name of the DriverAlias element from RealTime to pdctst.
-
Delete all DriverType elements in the pdctst DriverAlias element except for the DBEdit and BLT DriverType element.
-
Edit the following:
-
DriverAlias โ set this to the target system. For example, pdctst.
-
Host โ set this to the service name on the target computer. For example, pdctstRealtime.
-
SECURITY_LOGIN_ID โ set this to dnaAPP_<system name>@<domain name>.
-
NumOfThreads โ set this to 1.
-
This is an example of the DALConfig_DBEDIT.xml file is for AVEVA Enterprise SCADA 2022.
<?xml version="1.0" encoding="UTF-8"?>
<DALConfig xmlns="http://www.telvent.com/DALConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.telvent.com/DALConfig DALConfig.xsd">
<DriverAlias Alias="pdctst">
<DriverType Type="DBEdit">
<Description>RealTime DBEdit Driver</Description>
<DriverLocator>OASySDNA.Common.DAL.DBEdit777Driver.dll</DriverLocator>
<TransportType>InProcess</TransportType>
<DriverProperty Name="NumConnections">1</DriverProperty>
<DriverProperty Name="ConnectionString">Driver=DataDirect OpenAccess SDK 8.1;UID=%Username%;PWD=%Password%;Port=19990;Host=pdctstRealTime;DefaultDB=RTDB;SDSN=SQLEngine_%SQLAuthenticationType%;Trusted_Connection=yes;SCHEMA=ANSI;SECURITY_LOGIN_ID=dnaAPP_pdctst@testDomain;CLIENTHOSTNAME=%ClientHostName%;TIMEZONE=%TimeZone%;AppName=%ClientAppName%</DriverProperty>
<DriverProperty Name="DBProviderType">System.Data.Odbc</DriverProperty>
<DriverProperty Name="DBName">RTDB</DriverProperty>
</DriverType>
<DriverType Type="BLT">
<Description>Realtime BLT Driver</Description>
<DriverLocator>OASySDNA.Common.DAL.BLT75Driver.dll</DriverLocator>
<TransportType>InProcess</TransportType>
<DriverProperty Name="HostName">pdctstRealtime</DriverProperty>
<DriverProperty Name="NumOfThreads">1</DriverProperty>
<DriverProperty Name="LocaleID">%LocaleID%</DriverProperty>
<DriverProperty Name="TimeZone">%TimeZone%</DriverProperty>
<DriverProperty Name="TablePollMultiplier">1</DriverProperty>
</DriverType>
</DriverAlias>
</DALConfig>
This DALConfig_DBEDIT.xml file is located in the %DNADataRoot%\ADE\config\DAL\pdctst\control_room directory.
There is no change to the DALConfig on the target computers.