CONNECT: functionality corresponds to the KcsConnectProfile()() call. When this command is command is interpreted, the KcsConnectProfile()() function is executed and the status is reported back from the kcmstest command display to the test log.
CONNECT:NAME=reverse; Count=2; Reference=monitor; Reference=scanner; Operation=Forward;
Table 3-2 presents the CONNECT: command keywords and their descriptions.
Table 3-2 CONNECT: Command Keywords
Keyword |
Description |
---|---|
Name= |
Is the reference name that will be assigned to the new profile if the CONNECT:command completes successfully. |
Reference= |
Is the name that was assigned when the profiles were loaded or created. |
Count= |
Is the number of profiles that will be used in the connection. Currently two profiles are used to connect forward and reverse profiles. Three profiles are used to connect simulate profiles. |
Operation= |
Defines the operation load hint that will be used to connect the new profile. This keyword has the operation and content hint values shown in Table 3-3 . It indicates what transforms in the profiles will be loaded and connected in the final (complete) profile. An Operation= keyword can appear more than once in a single script command. Multiple operations are logically OR'd together. |
XStatus= |
The default expected status is KcsSuccess. If the script command is expected to complete successfully, the XStatus= keyword is not required. In cases where a script command is expected to return a non- success status, the XStatus= is followed by the corresponding expected, non-success status in hexadecimal format. |
Table 3-3 shows the acceptable values for the Operation= keyword.
Table 3-3 CONNECT: Command Operation= Keyword Values
Value |
Load Hint Set |
---|---|
Forward; |
KcsOpForward |
Reverse; |
KcsOpReverse |
Simulate; |
KcsOpSimulate |
Gamut; |
KcsOpGamutTest |
OpsAll; |
KcsOpAll |
ContUnkn; |
KcsContUnknown |
Graphics; |
KcsContGraphics |
Image; |
KcsContImage |
ColorMtrc; |
KcsContColorimetric |
ContAll; |