03-06-2023 06:22 AM
Hi,
is there possibility to write Simulated parameters of J1939 from 2 different sources! Actually, I have J1939 Customs Device in NI VeriStand in that some Parameters or massages are links with outputs of Simulink module. for the diagnostics testing I need to override some parameters
Please let me know if any solution on this.
03-06-2023 07:51 AM
What kind of parameters you would like to override? Can you give some examples?
03-06-2023 09:58 PM
Parameters means CAN massage for example I have an address of 0x5A with name speed. this address is, connected to simulated model output in VeriStand, but I want to write value to Speed(0x5A) other than model output
03-07-2023 07:05 PM - edited 03-07-2023 07:08 PM
You would need to implement the override checking logic, either in that model, or another model that acts as a gatekeeper. For example, as shown in the VI below.
J1939 custom device only exposes the override feature for the protection and counter channels. However. those channels generate their own value instead of receive value from another channel, when not being overridden.