NIPO ODIN Version 5.17

Previous Topic

Next Topic

Channel Aware Scripting Variables and Constants

The _CHANNEL variable contains a numeric value that represents the channel (NIPO CATI, NIPO CAWI, NIPO CAPI or NIPO CASI) where the questionnaire is currently executed. The value of this variable is automatically set by the system and cannot be changed. You can check for the value corresponding with the channel, but you can also refer to a channel by using the corresponding constant. See the table below.

Values for _CHANNEL

Value Constant Value

NIPO CATI Stand-Alone

 

0

NIPO CATI

_CATI_

1

NIPO CAWI

_CAWI_

2

NIPO CAPI

_CAPI_

3

NIPO CASI

_CASI_

4


In addition, for each channel there is a variable that is set to 1 (true) if that channel is used or to 0 (false) otherwise:

Channel variables

  • _ISCATI is 1 if the script is run in NIPO CATI.
  • _ISCAWI is 1 if the script is run in NIPO CAWI.
  • _ISCAPI is 1 if the script is run in NIPO CAPI.
  • _ISCASI is 1 if the script is run in NIPO CASI.

See Also