Page 1 of 1

Pass/Fail criteria to received message

Posted: Mon 21. Mar 2016, 17:15
by mihirkiran26
Hi,

Would it be possible to display "Pass/Fail" based on the data received? If I want to compare certain bytes in the variable with a fixed value, would this be possible? How to go about this?
Thanks!

Re: Pass/Fail criteria to received message

Posted: Tue 22. Mar 2016, 10:55
by M.Maidhof
Hi,

yes, this is possible. Please use "enum" in your symbol files, to display text for a given value. See help of PCAN-Explorer for more details.

regards

Michael

Re: Pass/Fail criteria to received message

Posted: Fri 1. Apr 2016, 20:03
by mihirkiran26
Thank you! I incorporated that.

But I'd like to know if any comparison any be done?

Let's say if I received a message 03 03 04 05 .... and I want to compare the first byte with a fixed value or another byte.. can that be done?

Re: Pass/Fail criteria to received message

Posted: Tue 5. Apr 2016, 10:50
by M.Maidhof
Hi,

yes, possible. You have to write a macro for such an application.

regards

Michael