Function 3

In the User Function window:

Return Type:

Single

Input Parameters:

long a;

short b;

Output Parameters:

char w[1];

long y;

char x[30];

long z;

In the state table:

STRING func3_char, NUMBER func3_long1, NUMBER func3_long2,
STRING func3_string, NUMBER send3_long, NUMBER send3_short;
AssignData(send3_long, "ASSIGN", "300") ;
AssignData(send3_short, "ASSIGN", "20") ;
SendData("CUSTOM_SERVER", "TEST_PARMS", 30, "TEST_PARMS_func3",
        "send3_long", "send3_short") ;
ReceiveData("CUSTOM_SERVER", "TEST_PARMS", 30, "TEST_PARMS_func3",
           func3_char, func3_long1, func3_string, func3_long2) ;

So, using the data in SendData (above), the parameters in ReceiveData have the following values: