
Operation,
Remote Operation
1-2-5
RGS-2000NG TCAS Test Set Operation Manual
139187 / Rev. 500
Page 228
Subject to Export Control. See Cover Page for details.
September 2021
{
Separator[j] = i; // Store index of separator
++j;
}
}
Separator[j] = i - 1; // set end of string
// Parse data with 'equal' separator
for (k = 0; k < j; ++k) // extract parameters
{
for (i = Equal[k] + 1; i < Separator[k]; ++i)
{
Buf[i-(Equal[k] + 1)] = readBuffer[i];
}
Buf[i-(Equal[k] + 1)] = 0; // store values
if (Equal[k] == 0) break;
Fmt(tmp_buffer[k], "%s<%s", Buf);
}
// Parse data with 'comma' separator
buffer_num = 0;
for (index = 0; index < k; index++)
{
comma = 0;
do
{
if ((comma = FindPattern (tmp_buffer[index], 0, -1, ",", 0, 0)) != -1)
{ // Comma found
switch (buffer_num)
{
case 0:
Fmt (Buffer, "%s<%s[i0w*]", comma, tmp_buffer[index]);
break;
case 1:
Fmt (Buffer1, "%s<%s[i0w*]", comma, tmp_buffer[index]);
break;
case 2:
Fmt (Buffer2, "%s<%s[i0w*]", comma, tmp_buffer[index]);
break;
case 3:
Fmt (Buffer3, "%s<%s[i0w*]", comma, tmp_buffer[index]);
break;
case 4:
Fmt (Buffer4, "%s<%s[i0w*]", comma, tmp_buffer[index]);
Example Program (cont)