SET_XML_PATH_PC

This function is used to initialize EbmPapstFan.dll. It sets the path with given input for SQLite-DB. The product and measurement data of the fans in the collection from the database are read into the main memory.

Method Call:

Result = SET_XML_PATH_PC(InputString)

Input:

Position

Name

Description

Example Value

Required

Position

Name

Description

Example Value

Required

0

path

path to the folder of the SQLite-file, filename not included

D:\ebmpapst\data\

Y

1

without sound

F = Reading measurement data without sound

T = Reading measurement data with sound

F

N

2

reload

T = Loading the data from the database in any case 

F = Load the data from the database only at the first initialization

T

N

Example InputString

D:\ebmpapst\data\;F;T;

Output:

Positon

Name

Description

Example Value

Datatype

Positon

Name

Description

Example Value

Datatype

 

 

 

 

 

There are no output parameters.

Result:

Result

Info

Result

Info

0

No Error

-1

Database (Data.sqlite) not found

-2

Database could not be opened (e.g.: incompatible version)

-9

Error on opening database

-10

Error on opening database

-19

Error on initializing CDS

-20

Error on initializing CDS

-29

Table VIEW_PS_PRODUKTE_LU could not be opened

-30

Table VIEW_PS_PRODUKTE_LU could not be opened

-39

Measurement data could not be read

-40

Measurement data could not be read

-41

Error reading the air performance characteristic

-42

Error reading noise measurement data (octave band)

-43

Error checking multiple links