
12
P94DLL01A
long SS940_SetParamAsDouble ( SHANDLE h, int pid, double param )
Purpose: To write the RAM (run time) variable as a DOUBLE type with index specified by pid and return
it in argument parameter.
Inputs: h handle to interface opened by the function
SS940_OpenInterfaceB
pid variable (parameter) index
Returns: param variable value in double format
long SS940_SetParamAsInteger ( SHANDLE h, int pid, int param )
Purpose: To write the RAM (run time) variable as a DOUBLE type with index specified by pid and return
it in argument param.
Inputs: h handle to interface opened by the function
SS940_OpenInterfaceB
pid variable (parameter) index
Returns: param variable value in integer format
long SS940_GetArrayAsDouble ( SHANDLE h, BYTE* pids, double* params, int count )
Purpose: To read the RAM (run time) array of variables (up to 10 variables) as a DOUBLE type with indexes
specified by elements of array pids and return it in array parameter.
Inputs: h handle to interface opened by the function SS940_OpenInterfaceB
pids array of variable’s indexes
count number of array elements. Maximum number of elements is 10.
Returns: params array of values of type DOUBLE.
long SS940_GetArrayAsInteger ( SHANDLE h, BYTE* pids, long* params, int count )
Purpose: To read the RAM (run time) array of variables (up to 10 variables) as a 32- bit INTEGER type
with indexes specified by elements of array pids and return it in array parameter.
Inputs: h handle to interface opened by the function
SS940_OpenInterfaceB
pids array of variable’s indexes
count number of array elements. Maximum number of elements is 10.
Returns: params array of values of type DOUBLE.
Comentários a estes Manuais