Below are some other functions you can use in automation scripts:
paGetLanguage - Return the selected
language for the Workbench
paTRACE... - Output a report
message
Below is detialed information about these functions:
LGE := paGetLanguage ()
Parameters:
LGE : DINT; | Language identifier (see notes) |
Description:
This function returns the language currently selected for the Workbench. Possible returned values are:
_WB_USA | English |
_WB_GER | German |
_WB_FRA | French |
_WB_ITA | Italian |
_WB_SPA | Spanish |
_MW_KOR | Korean |
paTRACE0 (TEXT)
paTRACE1 (TEXT, ARG1)
paTRACE2 (TEXT, ARG1, ARG2)
paTRACE3 (TEXT, ARG1, ARG2, ARG3)
paTRACE4 (TEXT, ARG1, ARG2, ARG3, ARG3)
Parameters:
TEXT : STRING; | Text to be output |
ARG1..4 : DINT; | Arguments |
Description:
The message specified in the TEXT argument is output to the report window when the automation script is run. The message text may include up to 4 integer arguments, specified in the TEXT string with special character sequences:
%ld signed value
in decimal
%lu unsigned value in decimal
%lx value in hexadecimal