Guardian Programming Reference Summary for pTAL and TAL
SETMODE Operations
Guardian Programming Reference Summary for pTAL and TAL—522631-001
11-27
163 SNAX:Enhanced CDI mode
param1
= 0 enables normal mode (disables all enhanced CDI support).
= 1 enables enhanced CDI mode.
= 2 enables special WRITEREAD mode (allows applications to determine the 
setting of CDI by using the WRITEREAD procedure; using WRITEREAD 
causes the outbound data buffer to be sent with CDI enabled).
The param2 parameter is not used with function 163.
A SETMODE 163 call applies only to the opener, not to the device that is 
opened; another SETMODE 163 call must be made if the file is closed. 
Enhanced CDI mode is supported only by the SNAX/XF and SNAX/CDF 
products. For more information about enhanced CDI mode, refer to the 
SNAX/XF Application Programming Manual and the SNAX/CDF Application 
Programming Manual. 
165 SNAX:Exception response (ER) mode
param1
= 0 disables ER mode. The LU sends outbound LU-LU FMD requests in 
definite response (DR) mode. This is the default value if SCF or SPI has not 
been used previously to configure ER mode; otherwise, the SCF or SPI 
configuration value is used. 
= 1 enables ER mode for applications existing prior to the introduction of ER 
mode. The LU sends outbound LU-LU FMD requests in ER mode. However, 
error 122 is sent on a negative response instead of error 951. 
= 2 enables ER mode for applications using the ER mode features. The LU 
sends outbound LU-LU FMD requests in ER mode. Error 951 is sent on a 
negative response. 
The param2 parameter is not used with function 165.
The last-params [0] parameter contains the previous value of param1.
The last-params [1] parameter contains the number of outbound requests 
required per device before an ER mode sync point is automatically generated 
on behalf of the user. 
ER mode is supported only by the SNAX/XF product. Specifying this function 
for SNALU causes an error 2 (invalid operation) to be returned. Passing a 
value other than one of those listed above causes an error 590 (invalid 
parameter value) to be returned. A SETMODE 165 call applies only to the 
opener, not to the device that is opened; another SETMODE 165 call must be 
made if the file is closed. 
For more information about ER mode, refer to the SNAX/XF Application 
Programming Manual. 
<function> Parameters and Effect










