Specifications

97/201
BscHostPutVarDataM
FUNCTION: Sets multiple variables at the same time.
FORMAT: _declspec( dllexport ) short APIENTRY BscHostPutVarDataM(short
nCid,short type,short varno,short num, double *p);
ARGUMENTS: IN(Transfer)
nCid Communication handler ID number
type Variable type
varno Variable number
num Number of variables
*p Head pointer to the numeric variable storage area
OUT(Return)
None
Return Value
0:Normal completion
Others:Error codes
REMARKS: Restrictions
This function is effective only for transmission with the NX100 (NX100 transmission function).
Variable Types
The variable types are represented as follows.
0:Byte type
1:Integer type
2:Double-precision type
3:Real type
Variable Designation Method
The variable information transmitted is composed of the number of values (num) requested of the
specified variable type, beginning with the value of the specified variable number (varno) followed by
the values of subsequent variables.