Clickmsgwritevar – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual
Page 174
APPENDIX
• CLICK 500 DEVELOPER GUIDE
173
ClickMsgWriteVar
Function will write a value out to a particular Click message string variable.
˽
LIBRARY – click500message.LIB
˽
SYNTAX –
void ClickMsgWriteVar(char* varName, void* varValue);
˽
PARAMETER1 – The name of the variable from the Click message string
˽
PARAMETER2 – A pointer to the location of the value to be stored.
˽
RETURN VALUE – bool. SUCCESS == 0/ERROR == 1
˽
EXAMPLE –
ClickMsgWriteVar(“VarName”, &tempVar);
˽
SEE ALSO – ClickMsgRead
This manual is related to the following products: