This shows you the differences between two versions of the page.
host_adaptor_3270 [2024/12/10 13:16] montse [Predefined functions] |
host_adaptor_3270 [2024/12/10 13:23] (current) montse [Predefined functions] |
||
---|---|---|---|
Line 70: | Line 70: | ||
*Parameter Field: position (numeric) in which the field is located. | *Parameter Field: position (numeric) in which the field is located. | ||
*Parameter Offset: position within the field from which you want to read. | *Parameter Offset: position within the field from which you want to read. | ||
- | *Parameter Length: length of the field to be read.\\ These 3 parameters are obtained by clicking the right mouse button, on the field we want to read.\\ | + | *Parameter Length: length of the field to be read.\\ \\ These 3 parameters are obtained by clicking the right mouse button, on the field we want to read.\\ |
{{ :en:image_2021_01_11t12_08_14_736z.png?400 |}}\\ | {{ :en:image_2021_01_11t12_08_14_736z.png?400 |}}\\ | ||
* **readRow(Row):** this function reads a particular line on the screen. The whole line.\\ | * **readRow(Row):** this function reads a particular line on the screen. The whole line.\\ | ||
- | *Parameter Row: position (numerical) in which the line is located.\\ This parameter is obtained by clicking the right mouse button on the line we want to read.\\ | + | *Parameter Row: position (numerical) in which the line is located.\\ \\ This parameter is obtained by clicking the right mouse button on the line we want to read.\\ |
{{ :en:image_2021_01_11t12_08_14_736z.png?400 |}}\\ | {{ :en:image_2021_01_11t12_08_14_736z.png?400 |}}\\ | ||
Line 83: | Line 83: | ||
* **rowContaintsText(Text,Row):** this function checks if a certain text exists in a screen line.\\ | * **rowContaintsText(Text,Row):** this function checks if a certain text exists in a screen line.\\ | ||
*Parameter Text: enter the text to search for. | *Parameter Text: enter the text to search for. | ||
- | *Parameter Row: position (numeric) of the line.\\ These parameters are obtained by pressing the right mouse button, on the line we want to find the defined text.\\ | + | *Parameter Row: position (numeric) of the line.\\ \\ These parameters are obtained by pressing the right mouse button, on the line we want to find the defined text.\\ |
{{ :en:image_2021_01_11t12_08_14_736z.png?400 |}}\\ | {{ :en:image_2021_01_11t12_08_14_736z.png?400 |}}\\ | ||
* **waitCRC(screen_CRC):** this function waits for the screen we want to see next.\\ | * **waitCRC(screen_CRC):** this function waits for the screen we want to see next.\\ | ||
- | *Parameter screen_CRC: Value -> Obtained by right-clicking on the screen we want to display.\\ | + | *Parameter screen_CRC: value -> Obtained by right-clicking on the screen we want to display.\\ |
{{ :en:image_2021_01_11t12_08_14_736z.png?400 |}}\\ | {{ :en:image_2021_01_11t12_08_14_736z.png?400 |}}\\ | ||
Line 111: | Line 111: | ||
*Parameter Text: value-> Text to appear. | *Parameter Text: value-> Text to appear. | ||
*Parameter Field: field to be written. | *Parameter Field: field to be written. | ||
- | *Parameter Offset: p | + | *Parameter Offset: position of the field.\\ \\ These parameters are obtained by right-clicking on the screen we want to display. |
{{ :en:image_2021_01_11t12_08_14_736z.png?400 |}}\\ | {{ :en:image_2021_01_11t12_08_14_736z.png?400 |}}\\ | ||
* **writeKey (Key):** This function executes a predefined key on the screen.\\ (ENTER, PF8, PF4, etc…). | * **writeKey (Key):** This function executes a predefined key on the screen.\\ (ENTER, PF8, PF4, etc…). | ||
- | *Parameter Key: Value-> Function key. | + | *Parameter Key: value-> Function key. |
* **writeKeyUntilFind(Key, Text)**: This function executes the function key (Key) and waits for the text (Text) to appear on the screen. | * **writeKeyUntilFind(Key, Text)**: This function executes the function key (Key) and waits for the text (Text) to appear on the screen. | ||
* **writeText (Text,Row,Column):** This function writes a text in a defined position.(line and column). | * **writeText (Text,Row,Column):** This function writes a text in a defined position.(line and column). | ||
- | *Parameter Text: Value-> Text to write. | + | *Parameter Text: value-> Text to write. |
- | *Parameter Row: Value-> Row Number. | + | *Parameter Row: value-> Row Number. |
- | *Parameter Column: Value-> Column number.\\ These parameters are obtained by right-clicking on the screen we want to display.\\ | + | *Parameter Column: value-> Column number.\\ \\ These parameters are obtained by right-clicking on the screen we want to display.\\ |
{{ :en:image_2021_01_11t12_08_14_736z.png?400 |}}\\ \\ | {{ :en:image_2021_01_11t12_08_14_736z.png?400 |}}\\ \\ | ||