FreeMASTER ActiveX Object
KIT33912EVME System Basis Chip with LIN Tranceiver Setup Instructions, Rev. 2.0
24
Freescale Semiconductor
7.2.2 ReadVariable Function Example
// read FreeMASTER variable, display error box in case of error on success, value is returned
function read_fmaster_variable(varname){
var value
var succ = pcm.ReadVariable(varname);
if(succ){
value = pcm.LastVariable_vValue;
}else{
set_fmaster_err();
}
return value;
}