「ITTS INF.dll」修訂間的差異
跳至導覽
跳至搜尋
Vincentcheng2116(討論 | 貢獻) |
Vincentcheng2116(討論 | 貢獻) |
||
| (未顯示同一使用者於中間所作的 4 次修訂) | |||
| 行 17: | 行 17: | ||
* 42: // search file and get index of that file's info ( name,create dateime, update datetime) | * 42: // search file and get index of that file's info ( name,create dateime, update datetime) | ||
* 43: // count match files use search *.* *.inf *.txt .. count number of files match the search | * 43: // count match files use search *.* *.inf *.txt .. count number of files match the search | ||
| + | |||
| + | * ITTS PIS field name & index access 33 | ||
| + | * 50: DLL ask for list of field_name.(sub cmd: -1) 33 | ||
| + | * 50: DLL ask for list of field_name.(sub cmd: -2) 35 | ||
| + | * 50: DLL ask for list of field_name.(sub cmd: n) 36 | ||
| + | * 51: DLL ask for list of field_value. (sub cmd: -1) 37 | ||
| + | * 51: DLL ask for list of field_value. (sub cmd: -1) 38 | ||
| + | * 51: DLL ask for list of field_value. (sub cmd: 4) 39 | ||
| + | * 52: DLL_get_field_min spec. (sub cmd: n) 40 | ||
| + | * 53: DLL_get_field_max spec. (sub cmd: -1) 41 | ||
| + | * 54: DLL_get_field_error_code. (sub cmd: -1) 42 | ||
| + | * 60: call ITTS smart_format | ||
| + | |||
* 80: // variable converter hex to float since version 3.7.1.26 | * 80: // variable converter hex to float since version 3.7.1.26 | ||
* 81: // variable converter float (single) to Hex since version 3.7.1.26 | * 81: // variable converter float (single) to Hex since version 3.7.1.26 | ||
| 行 566: | 行 579: | ||
<Description>P5 Section Idx</Description> | <Description>P5 Section Idx</Description> | ||
</i5> | </i5> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | </SubItem> | ||
| + | </Item> | ||
| + | |||
| + | |} | ||
| + | 50 ITTS call frature | ||
| + | {| class="mw-collapsible mw-collapsed wikitable" | ||
| + | ! 50 ITTS call frature example | ||
| + | |- | ||
| + | | | ||
| + | <Item> | ||
| + | <Text> Get ITTS PIS field_info</Text> | ||
| + | <Description> </Description> | ||
| + | <ItemType> 1</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <SubItem> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 50 -1 get_all_field_names</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> get_all_field_names</FieldName> | ||
| + | <FieldNumber> 23</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>50:get_all_field_names</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>-1</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 50 -2 get_field_names_cnt</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> get_field_names_cnt</FieldName> | ||
| + | <FieldNumber> 24</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>50:get_field_names</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>-2</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 50 # get_field_names_by_column_num</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> get_field_names_by_column_num</FieldName> | ||
| + | <FieldNumber> 25</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>50:get_field_names</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>4</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 51 -1 get_all_field_values</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> get_all_field_values</FieldName> | ||
| + | <FieldNumber> 26</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>51:get_all_field_values</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>-1</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 51 -2 get_field_value_cnt</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> get_field_value_cnt</FieldName> | ||
| + | <FieldNumber> 27</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>51:get_field_value</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>-2</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 51 # get_field_value_by_column_num</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> get_field_value_by_column_num</FieldName> | ||
| + | <FieldNumber> 28</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>51:get_field_value</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>4</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 52 -1 get_all_field_min_spec</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> get_all_field_min_spec</FieldName> | ||
| + | <FieldNumber> 29</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>52:get_all_field_min_spec</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>-1</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 53 -1 get_all_field_max_spec</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> get_all_field_max_spec</FieldName> | ||
| + | <FieldNumber> 30</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>53:get_all_field_max_spec</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>-1</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 54 -1 get_all_field_error_code</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> get_all_field_error_code</FieldName> | ||
| + | <FieldNumber> 31</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>54:get_all_field_error_code</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>-1</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 60 smart_format1 FIle_version</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> smart_format1</FieldName> | ||
| + | <FieldNumber> 32</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>60:Smart_format</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>ITTS_log_proc.dll</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | <i6> | ||
| + | <Content>File_version([all])</Content> | ||
| + | <Description>Value6</Description> | ||
| + | </i6> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 60 smart_format</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> smart_format1</FieldName> | ||
| + | <FieldNumber> 32</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>60:Smart_format</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>["1234567890"]</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | <i6> | ||
| + | <Content>S([5..9])</Content> | ||
| + | <Description>Value6</Description> | ||
| + | </i6> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 60 smart_format2</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> smart_format2</FieldName> | ||
| + | <FieldNumber> 33</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>60:Smart_format</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>["ITTS_log_proc.dll"]</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | <i6> | ||
| + | <Content>s([1..8][-4..-1])</Content> | ||
| + | <Description>Value6</Description> | ||
| + | </i6> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> </Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 2</Skip> | ||
| + | <ItemSection1> </ItemSection1> | ||
| + | <ItemSection2> </ItemSection2> | ||
| + | <ItemCommand> </ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> </FieldName> | ||
| + | <FieldNumber> </FieldNumber> | ||
| + | <ErrorCode> </ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
</Parameter> | </Parameter> | ||
</Item> | </Item> | ||
| 行 572: | 行 1,107: | ||
|} | |} | ||
| + | |||
| + | 60 chenge format funciton call | ||
| + | {| class="mw-collapsible mw-collapsed wikitable" | ||
| + | ! chenge format funciton call example | ||
| + | |- | ||
| + | | | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 60 smart_format1 FIle_version</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> smart_format1</FieldName> | ||
| + | <FieldNumber> 32</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>60:Smart_format</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>ITTS_log_proc.dll</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | <i6> | ||
| + | <Content>File_version([all])</Content> | ||
| + | <Description>Value6</Description> | ||
| + | </i6> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 60 smart_format</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> smart_format1</FieldName> | ||
| + | <FieldNumber> 32</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>60:Smart_format</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>["1234567890"]</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | <i6> | ||
| + | <Content>S([5..9])</Content> | ||
| + | <Description>Value6</Description> | ||
| + | </i6> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | <Item> | ||
| + | <Text> </Text> | ||
| + | <Description> 60 smart_format2</Description> | ||
| + | <ItemType> 2</ItemType> | ||
| + | <Skip> 1</Skip> | ||
| + | <ItemSection1> DLL</ItemSection1> | ||
| + | <ItemSection2> EXECUTE</ItemSection2> | ||
| + | <ItemCommand> ITTS_inf.dll</ItemCommand> | ||
| + | <FailAction> </FailAction> | ||
| + | <FieldName> smart_format2</FieldName> | ||
| + | <FieldNumber> 33</FieldNumber> | ||
| + | <ErrorCode> Err001</ErrorCode> | ||
| + | <RetryTimes> 0</RetryTimes> | ||
| + | <RetryDelay> 0</RetryDelay> | ||
| + | <Process> </Process> | ||
| + | <FieldType> </FieldType> | ||
| + | <Parameter> | ||
| + | <i1> | ||
| + | <Content></Content> | ||
| + | <Description>Min</Description> | ||
| + | </i1> | ||
| + | <i2> | ||
| + | <Content></Content> | ||
| + | <Description>Max</Description> | ||
| + | </i2> | ||
| + | <i3> | ||
| + | <Content>60:Smart_format</Content> | ||
| + | <Description>P3 command</Description> | ||
| + | </i3> | ||
| + | <i4> | ||
| + | <Content>['&testplanpath']</Content> | ||
| + | <Description>P4 FileName</Description> | ||
| + | </i4> | ||
| + | <i5> | ||
| + | <Content>["ITTS_log_proc.dll"]</Content> | ||
| + | <Description>sub cmd</Description> | ||
| + | </i5> | ||
| + | <i6> | ||
| + | <Content>s([1..8][-4..-1])</Content> | ||
| + | <Description>Value6</Description> | ||
| + | </i6> | ||
| + | </Parameter> | ||
| + | </Item> | ||
| + | |||
| + | |} | ||
| + | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
| 行 639: | 行 1,312: | ||
|} | |} | ||
| + | Read a text file | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! Example Code: read a text file which contents below. retrieve test log data latest data | ! Example Code: read a text file which contents below. retrieve test log data latest data | ||
| 行 724: | 行 1,398: | ||
|} | |} | ||
| + | 80 81 hex to float function | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! hex to float function and Single to Hex function example | ! hex to float function and Single to Hex function example | ||
| 行 977: | 行 1,652: | ||
|} | |} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<br> | <br> | ||
[http://intretech-tw.synology.me/mediawiki/index.php?title=DLL_Related_DOC back to DLLs list] | [http://intretech-tw.synology.me/mediawiki/index.php?title=DLL_Related_DOC back to DLLs list] | ||
於 2025年10月27日 (一) 11:22 的最新修訂
Feature:
- Provide inf file format access.
功能列表
- 01:WriteInteger
- 11:ReadInteger
- 02:WriteFlaot
- 12:ReadFloat
- 03:WriteString
- 13:ReadString
- 20: // normal file write file Append String
- 21: // read file
- 22: // test file speed (read file with (1) or without (0) cache ) (without cache will represent USB flash accessing speed)
- 23: // get file information exist:1 or not:0, size, CreationTime, TLastAccessTime, LastWriteTime
- 30: // delete file
- 40: // make Dir ForceDirectories('C:\NonExistantDir\TestDir')
- 41: // get file's information file name, size,datetime
- 42: // search file and get index of that file's info ( name,create dateime, update datetime)
- 43: // count match files use search *.* *.inf *.txt .. count number of files match the search
- ITTS PIS field name & index access 33
- 50: DLL ask for list of field_name.(sub cmd: -1) 33
- 50: DLL ask for list of field_name.(sub cmd: -2) 35
- 50: DLL ask for list of field_name.(sub cmd: n) 36
- 51: DLL ask for list of field_value. (sub cmd: -1) 37
- 51: DLL ask for list of field_value. (sub cmd: -1) 38
- 51: DLL ask for list of field_value. (sub cmd: 4) 39
- 52: DLL_get_field_min spec. (sub cmd: n) 40
- 53: DLL_get_field_max spec. (sub cmd: -1) 41
- 54: DLL_get_field_error_code. (sub cmd: -1) 42
- 60: call ITTS smart_format
- 80: // variable converter hex to float since version 3.7.1.26
- 81: // variable converter float (single) to Hex since version 3.7.1.26
add on feature:
- file access speed test.
- add hex to float convert
- add float to hex convert 檔案:Inf test.itts
Other Scrip file example:
ITTS:ITTS_INF.DLL_example
| ini inf example (copy scrip contents phase to scrip editor) |
|---|
<Item>
<Text> Section1</Text>
<Description> Test Group</Description>
<ItemType> 1</ItemType>
<Skip> 1</Skip>
<SubItem>
<Item>
<Text> </Text>
<Description> 01:WriteInteger</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> Ind_StringW</FieldName>
<FieldNumber> 8</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>01:WriteInteger</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'"AAA.inf"]</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>Section1</Content>
<Description>P5 Section Name</Description>
</i5>
<i6>
<Content>int_item</Content>
<Description>P6 Iden</Description>
</i6>
<i7>
<Content>2147483647</Content>
<Description>P7 Value</Description>
</i7>
<i8>
<Content></Content>
<Description>P8 default value</Description>
</i8>
<i9>
<Content></Content>
<Description>P9 StringProc</Description>
</i9>
<i10>
<Content></Content>
<Description>Value10</Description>
</i10>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 11:readInteger</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> Ind_StringW</FieldName>
<FieldNumber> 8</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>11:readInteger</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'"AAA.inf"]</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>Section1</Content>
<Description>P5 Section Name</Description>
</i5>
<i6>
<Content>int_item</Content>
<Description>P6 Iden</Description>
</i6>
<i7>
<Content></Content>
<Description>P7 Value</Description>
</i7>
<i8>
<Content>0</Content>
<Description>P8 default value</Description>
</i8>
<i9>
<Content></Content>
<Description>P9 StringProc</Description>
</i9>
<i10>
<Content></Content>
<Description>Value10</Description>
</i10>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 02:WriteFloat</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> float</FieldName>
<FieldNumber> 9</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>02:WriteFloat</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'"AAA.inf"]</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>Section1</Content>
<Description>P5 Section Name</Description>
</i5>
<i6>
<Content>Float_item</Content>
<Description>P6 Iden</Description>
</i6>
<i7>
<Content>3.14159</Content>
<Description>P7 Value</Description>
</i7>
<i8>
<Content></Content>
<Description>P8 default value</Description>
</i8>
<i9>
<Content></Content>
<Description>P9 StringProc</Description>
</i9>
<i10>
<Content></Content>
<Description>Value10</Description>
</i10>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 12:read float</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> float_r</FieldName>
<FieldNumber> 10</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content>3.14159</Content>
<Description>Min</Description>
</i1>
<i2>
<Content>3.14159</Content>
<Description>Max</Description>
</i2>
<i3>
<Content>12:readfloat</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'"AAA.inf"]</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>Section1</Content>
<Description>P5 Section Name</Description>
</i5>
<i6>
<Content>Float_item</Content>
<Description>P6 Iden</Description>
</i6>
<i7>
<Content></Content>
<Description>P7 Value</Description>
</i7>
<i8>
<Content>0.123456</Content>
<Description>P8 default value</Description>
</i8>
<i9>
<Content></Content>
<Description>P9 StringProc</Description>
</i9>
<i10>
<Content></Content>
<Description>Value10</Description>
</i10>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 11:ReadInteger</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> Ind_Int</FieldName>
<FieldNumber> 11</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content>54321</Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>11:ReadInteger</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'"AAA.inf"]</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>Section1</Content>
<Description>P5 Section Name</Description>
</i5>
<i6>
<Content>Ind_Int</Content>
<Description>P6 Iden</Description>
</i6>
<i7>
<Content></Content>
<Description>P7 Value</Description>
</i7>
<i8>
<Content>54321</Content>
<Description>P8 default value</Description>
</i8>
<i9>
<Content></Content>
<Description>P9 StringProc</Description>
</i9>
<i10>
<Content></Content>
<Description>Value10</Description>
</i10>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 13:ReadString</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> Ind_Int_R</FieldName>
<FieldNumber> 12</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content>ABCDEF</Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>13:ReadString</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'"AAA.inf"]</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>Section1</Content>
<Description>P5 Section Name</Description>
</i5>
<i6>
<Content>Ind_String</Content>
<Description>P6 Iden</Description>
</i6>
<i7>
<Content></Content>
<Description>P7 Value</Description>
</i7>
<i8>
<Content></Content>
<Description>P8 default value</Description>
</i8>
<i9>
<Content></Content>
<Description>P9 StringProc</Description>
</i9>
<i10>
<Content></Content>
<Description>Value10</Description>
</i10>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 14:get_sections_count</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> section_cnt</FieldName>
<FieldNumber> 13</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> raw=['&F:01']</Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>14:get_sections_count</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'"AAA.inf"]</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content></Content>
<Description>P5 Section Name</Description>
</i5>
<i6>
<Content></Content>
<Description>P6 Iden</Description>
</i6>
<i7>
<Content></Content>
<Description>P7 Value</Description>
</i7>
<i8>
<Content></Content>
<Description>P8 default value</Description>
</i8>
<i9>
<Content></Content>
<Description>P9 StringProc</Description>
</i9>
<i10>
<Content></Content>
<Description>Value10</Description>
</i10>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 15:return all sections names</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> s1;s2;s3;s4;s5;s6;s7</FieldName>
<FieldNumber> 14;15;16;17;18;19;20</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>15:return all sections names</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'"AAA.inf"]</Content>
<Description>P4 FileName</Description>
</i4>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 16:get_sec_n_name</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> idx_0_section_name</FieldName>
<FieldNumber> 21</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>16:get_sec_n_name</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'"AAA.inf"]</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>0</Content>
<Description>P5 Section Idx</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 16:get_sec_n_name</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> idx_3_section_name</FieldName>
<FieldNumber> 22</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>16:get_sec_n_name</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'"AAA.inf"]</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>3</Content>
<Description>P5 Section Idx</Description>
</i5>
</Parameter>
</Item>
</SubItem>
</Item>
|
50 ITTS call frature
| 50 ITTS call frature example |
|---|
<Item>
<Text> Get ITTS PIS field_info</Text>
<Description> </Description>
<ItemType> 1</ItemType>
<Skip> 1</Skip>
<SubItem>
<Item>
<Text> </Text>
<Description> 50 -1 get_all_field_names</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> get_all_field_names</FieldName>
<FieldNumber> 23</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>50:get_all_field_names</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>-1</Content>
<Description>sub cmd</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 50 -2 get_field_names_cnt</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> get_field_names_cnt</FieldName>
<FieldNumber> 24</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>50:get_field_names</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>-2</Content>
<Description>sub cmd</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 50 # get_field_names_by_column_num</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> get_field_names_by_column_num</FieldName>
<FieldNumber> 25</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>50:get_field_names</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>4</Content>
<Description>sub cmd</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 51 -1 get_all_field_values</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> get_all_field_values</FieldName>
<FieldNumber> 26</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>51:get_all_field_values</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>-1</Content>
<Description>sub cmd</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 51 -2 get_field_value_cnt</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> get_field_value_cnt</FieldName>
<FieldNumber> 27</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>51:get_field_value</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>-2</Content>
<Description>sub cmd</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 51 # get_field_value_by_column_num</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> get_field_value_by_column_num</FieldName>
<FieldNumber> 28</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>51:get_field_value</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>4</Content>
<Description>sub cmd</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 52 -1 get_all_field_min_spec</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> get_all_field_min_spec</FieldName>
<FieldNumber> 29</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>52:get_all_field_min_spec</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>-1</Content>
<Description>sub cmd</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 53 -1 get_all_field_max_spec</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> get_all_field_max_spec</FieldName>
<FieldNumber> 30</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>53:get_all_field_max_spec</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>-1</Content>
<Description>sub cmd</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 54 -1 get_all_field_error_code</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> get_all_field_error_code</FieldName>
<FieldNumber> 31</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>54:get_all_field_error_code</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>-1</Content>
<Description>sub cmd</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 60 smart_format1 FIle_version</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> smart_format1</FieldName>
<FieldNumber> 32</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>60:Smart_format</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>ITTS_log_proc.dll</Content>
<Description>sub cmd</Description>
</i5>
<i6>
<Content>File_version([all])</Content>
<Description>Value6</Description>
</i6>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 60 smart_format</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> smart_format1</FieldName>
<FieldNumber> 32</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>60:Smart_format</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>["1234567890"]</Content>
<Description>sub cmd</Description>
</i5>
<i6>
<Content>S([5..9])</Content>
<Description>Value6</Description>
</i6>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 60 smart_format2</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> smart_format2</FieldName>
<FieldNumber> 33</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>60:Smart_format</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>["ITTS_log_proc.dll"]</Content>
<Description>sub cmd</Description>
</i5>
<i6>
<Content>s([1..8][-4..-1])</Content>
<Description>Value6</Description>
</i6>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> </Description>
<ItemType> 2</ItemType>
<Skip> 2</Skip>
<ItemSection1> </ItemSection1>
<ItemSection2> </ItemSection2>
<ItemCommand> </ItemCommand>
<FailAction> </FailAction>
<FieldName> </FieldName>
<FieldNumber> </FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
</Parameter>
</Item>
</SubItem>
</Item>
|
60 chenge format funciton call
| chenge format funciton call example |
|---|
<Item>
<Text> </Text>
<Description> 60 smart_format1 FIle_version</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> smart_format1</FieldName>
<FieldNumber> 32</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>60:Smart_format</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>ITTS_log_proc.dll</Content>
<Description>sub cmd</Description>
</i5>
<i6>
<Content>File_version([all])</Content>
<Description>Value6</Description>
</i6>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 60 smart_format</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> smart_format1</FieldName>
<FieldNumber> 32</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>60:Smart_format</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>["1234567890"]</Content>
<Description>sub cmd</Description>
</i5>
<i6>
<Content>S([5..9])</Content>
<Description>Value6</Description>
</i6>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 60 smart_format2</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> smart_format2</FieldName>
<FieldNumber> 33</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>60:Smart_format</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&testplanpath']</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>["ITTS_log_proc.dll"]</Content>
<Description>sub cmd</Description>
</i5>
<i6>
<Content>s([1..8][-4..-1])</Content>
<Description>Value6</Description>
</i6>
</Parameter>
</Item>
|
| Example Code: file access time c: (need a Test.txt 100k size of file to test) |
|---|
<Item>
<Text> </Text>
<Description> file access time c:</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> HD_C_speed(kB/S);HD_C_D_T</FieldName>
<FieldNumber> 16;17</FieldNumber>
<ErrorCode> Err001</ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>22:accesstime</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'"Test.txt"]</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>0</Content>
<Description>cache1 or without0</Description>
</i5>
<i6>
<Content>2</Content>
<Description>test time for avg</Description>
</i6>
<i7>
<Content>1</Content>
<Description>skip first time</Description>
</i7>
<i8>
<Content></Content>
<Description>nil</Description>
</i8>
<i9>
<Content></Content>
<Description>format string</Description>
</i9>
<i10>
<Content>1</Content>
<Description>debug mode</Description>
</i10>
</Parameter>
</Item>
|
Read a text file
| Example Code: read a text file which contents below. retrieve test log data latest data |
|---|
<Item>
<Text> </Text>
<Description> read log file</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> USB_Result;Time;VID;PID;SN;Capacity;w_speed(MB/s);R_speed(MB/s);</FieldName>
<FieldNumber> 8;9;10;11;12;13;14;15;</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>21:read file</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'"log.csv"]</Content>
<Description>P4 FileName</Description>
</i4>
<i5>
<Content>-1</Content>
<Description>start line</Description>
</i5>
<i6>
<Content>-1</Content>
<Description>end line</Description>
</i6>
<i7>
<Content></Content>
<Description>leading string</Description>
</i7>
<i8>
<Content></Content>
<Description>end_string</Description>
</i8>
<i9>
<Content>T44([all])</Content>
<Description>format string</Description>
</i9>
<i10>
<Content></Content>
<Description>Value10</Description>
</i10>
</Parameter>
</Item>
|
| log.csv |
|---|
Test Result,Time,VID,PID,SN,Capacity,Write Speed,Read Speed Fail,2020-04-23 08:35:00,0781,5571,4C530000080815104501,7.45 GB,3.52 MB/s,23.70 MB/s Fail,2020-04-23 08:36:30,0781,5571,4C530000080815104501,7.45 GB,3.28 MB/s,24.63 MB/s Fail,2020-04-23 08:37:31,0781,5571,4C530000080815104501,7.45 GB,3.23 MB/s,23.70 MB/s Fail,2020-04-23 09:02:13,0781,5571,4C530000080815104501,7.45 GB,3.50 MB/s,22.88 MB/s Fail,2020-04-23 09:02:57,0781,5571,4C530000080815104501,7.45 GB,3.40 MB/s,24.63 MB/s Pass,2020-04-23 09:03:11,0781,5591,4C531001440215112065,28.64 GB,107.53 MB/s,128.21 MB/s Pass,2020-04-23 09:03:48,0781,5591,4C531001440215112065,28.64 GB,91.74 MB/s,106.38 MB/s Fail,2020-04-23 09:32:38,0781,5571,4C530000080815104501,7.45 GB,2.79 MB/s,22.08 MB/s Fail,2020-04-23 09:35:28,0781,5571,4C530000080815104501,7.45 GB,3.37 MB/s,22.08 MB/s Fail,2020-04-23 09:49:04,0781,5571,4C530000080815104501,7.45 GB,3.25 MB/s,22.83 MB/s Pass,2020-04-23 09:50:04,0781,5591,4C531001440215112065,28.64 GB,23.75 MB/s,33.67 MB/s Pass,2020-04-23 10:09:34,0781,5591,4C531001440215112065,28.64 GB,22.83 MB/s,33.67 MB/s Pass,2020-04-23 15:48:34,0781,5591,4C531001440215112065,28.64 GB,23.75 MB/s,33.67 MB/s |
80 81 hex to float function
| hex to float function and Single to Hex function example |
|---|
<Item>
<Text> </Text>
<Description> hex to float</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> hex_to_float</FieldName>
<FieldNumber> 8</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>80:hex_to_float</Content>
<Description>cmd</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH']</Content>
<Description>Value4 path</Description>
</i4>
<i5>
<Content>41F3D968</Content>
<Description>Value5 Hex</Description>
</i5>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> float to hex</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> float_to_hex</FieldName>
<FieldNumber> 9</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>81:Single_to_hex</Content>
<Description>cmd</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH']</Content>
<Description>Value4 path</Description>
</i4>
<i5>
<Content>3.12345</Content>
<Description>Value5 Hex</Description>
</i5>
</Parameter>
</Item>
|
41:get File info
| 41:get File info example |
|---|
<Item>
<Text> </Text>
<Description> 41 search file</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> name;size;date_time;cnt</FieldName>
<FieldNumber> 22;23;24;21</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>41:get file info</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'+"aaa.inf"]</Content>
<Description>P4 path</Description>
</i4>
</Parameter>
</Item>
|
42: get file name by search result index
| 42: get file name by search result index example |
|---|
<Item>
<Text> </Text>
<Description> i=1</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> variable</ItemSection1>
<ItemSection2> i</ItemSection2>
<ItemCommand> =</ItemCommand>
<FailAction> </FailAction>
<FieldName> </FieldName>
<FieldNumber> </FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>1</Content>
<Description>Value3</Description>
</i3>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> 42 get file name by search result index</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> name;size;date_time</FieldName>
<FieldNumber> 22;23;24</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>42:name by index</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'+"*.txt"]</Content>
<Description>P4 path</Description>
</i4>
<i5>
<Content>['&VAR:i']</Content>
<Description>index</Description>
</i5>
</Parameter>
</Item>
|
43: count files
| 43: count files example |
|---|
<Item>
<Text> </Text>
<Description> 43 count files</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> DLL</ItemSection1>
<ItemSection2> EXECUTE</ItemSection2>
<ItemCommand> ITTS_inf.dll</ItemCommand>
<FailAction> </FailAction>
<FieldName> cnt</FieldName>
<FieldNumber> 21</FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>43:countfiles</Content>
<Description>P3 command</Description>
</i3>
<i4>
<Content>['&TESTPLANPATH'+"*.txt"]</Content>
<Description>P4 path</Description>
</i4>
</Parameter>
</Item>
|