GET_DIMENSIONS_PC
This function is used to get informations and characteristics of the fan and motor of a connected product. It obtains the dimensions of the product from a file named “dimension.csv“, which must be in the same directory as the sqlite-file. The file can be created inside the “Get_Dimensions“-tab in the dll test environment of the FanScout. Within the file you can link informations to specific products of your collection by adding columns.
Method Call:
Result = GET_DIMENSIONS_PC(FanIdno, Separator, OutputBuffer)
Input:
There are two input variables.
Name | Description | Example Value | Required |
---|---|---|---|
fan idno | key for related measurement of the fan | 181054 | Y |
seperator | seperator char for csv | ; | Y |
Example Input
Product-ID= 181054
Seperator= ; |
Output:
The DLL returns the results in the variable "OutputBuffer".
You will get back a list as a string, where the data is separated by a semicolon.
The list will be structured as follows:
Positon | Name | Description | Example Value | Datatype |
---|---|---|---|---|
0 | id_no | key for related measurement of the fan | 141548 | Text |
1 | PN_epM | part number of the fan (ebmpapst) | R3G280AJ14C1 | Text |
2 | PN_customer | part number of the fan (customer) | R3G355AY4001M30 | Text |
3 | custom field 1 |
|
| Integer |
4 | custom field 2 |
|
| Integer |
5 | custom field 3 |
|
| Integer |
6 | … | … | … | … |
Example OutputBuffer
id_no=141548;PN_epM=R3G280AJ14C1;PN_customer=R3G355AY4001M30;AVH=37;BH=N/A;BW=N/A;CH=345;DIAM=404;FCC=525;FFD=90;FL=595;FLC=530;FLX_LEN=150;FW=575;MG=67;ML=64;OAH=610;OAL=615;OPEH=410;OPEW=410;PH=530;PW=555;TH=80;WL=238;PD=;ID=;DSC=404;USC=202;WSC=355; |