Compeare to CompVal (if equal)
[sim,out] = ld_CompareEqInt32(sim, events, in, CompVal)
in*, float
out*, int32 - 0 if (in == CompVal); 1 if (in != CompVal);