Interviewer - Server > Monitoring and tuning system performance > Load balancing interviewing engines > Passing values to the load balancing script
 
Passing values to the load balancing script
You can pass in specific values to the load balancing script that will assist with tasks such as determining whether a specific survey is a CATI or Web interview. For example, passing values would enable you to setup CATI specific limits in the script (such as StartUpLimit).
The following example demonstrates how to pass values that determine if a survey is CATI or web-based:
'Use existing variable InterviewProperties to determine if the survey is Web or CATI
  Dim InterviewerID
  Set InterviewerID = FindItem(InterviewProperties, "InterviewerID")
  If Not IsNullObject(InterviewerID) Then
    ' If this is a CATI survey set the StartUpLimit value
    StartupLimit = 200
  Else
    ' This is Web survey
    StartupLimit = Engine.StartPerSecLimit
  End If
In the above example, when the survey is a CATI survey, the property interviewerID is contained in InterviewProperties, otherwise it is not.
See also
Load balancing interviewing engines