Hello,
Is there any way to know if a CAN message has been received on one of the CAN buses?
I would like to program the display to automatically recognize presence of a 2nd engine on the 2nd CAN bus. This bus will only be used if there is a second engine.
I think I can also look for a variable to remain invalid, just not sure how to implement that. If I were to use engine RPM for this purpose, what would be the result of "If Engine RPM > = 0...." If data is valid, value will always be >= 0, but if data is invalid would the IF be false? I've never used 'invalid' in this manner so I am not sure if it will work.
Any help is appreciated!
Regards,
Phil
CAN Bus Rx bit?
- drphil69
- Posts: 139
- Joined: Wed Mar 02, 2011 5:59 pm
- jpratt
- Enovation Controls Development
- Posts: 222
- Joined: Mon Jun 21, 2010 11:18 am
Re: CAN Bus Rx bit?
Sorry for the delay on this.
Your assumption is absolutely correct. If you run an expression on the variable, the ISValid will return false if the variable has not been updated (by can or other) before the timeout.
Your assumption is absolutely correct. If you run an expression on the variable, the ISValid will return false if the variable has not been updated (by can or other) before the timeout.
Jake Pratt
Software Development Manager
Software Development Manager