The maximum length of time in milliseconds to wait. This parameter
is optional. The default is Infinite.
Integer bWaitForIr
If this value is true, after meeting the wait condition the
function will wait until the OIA is ready to accept input. This parameter
is optional. The default is 0.
Integer bCaseSens
If this value is 1, the wait condition is verified as case-sensitive.
This parameter is optional. The default is 0.