DM2 app gets VariableWriteFail if no DTC is in DM2

Discuss issues and ideas you have to configuring displays with PowerVision
mkeller
Posts: 8
Joined: Tue Oct 08, 2013 9:29 am

DM2 app gets VariableWriteFail if no DTC is in DM2

Post by mkeller » Thu May 15, 2014 3:42 am

Hi,

my display is an HV700HB Rev-D and I am using PV 2.6

i'am using the DM2 Application from the PV780 example configuration. If there is no DTC active, the app shows "Timeout! No response from source". This fault is not correct, because on the BUS my other device is sending the DM2 message with no active DM2.

In the state machine the transision DM2.VariablesWriteFail is fired, which is IMHO wrong.

I a working on a workaround by checking the DM2 PGN by script to decide if no dtc is there.

I could imagine that the HV700 uses the old J1939 defines of "no dtc" active which is represented by 0x7FFF. In the current J1939-73 the recommended DTC for "no DTC" is 0.
stalley
Enovation Controls Development
Enovation Controls Development
Posts: 618
Joined: Tue Mar 18, 2014 12:57 pm

Re: DM2 app gets VariableWriteFail if no DTC is in DM2

Post by stalley » Thu May 15, 2014 7:19 am

Hi Mkeller,

If you will look at the DTC Setup under the Database tab, most of the example configurations have SPN 0/FMI 0 with Drop checked.

If that doesn't help, let us know.
Sara Talley
Software Engineer
Enovation Controls
mkeller
Posts: 8
Joined: Tue Oct 08, 2013 9:29 am

Re: DM2 app gets VariableWriteFail if no DTC is in DM2

Post by mkeller » Thu May 15, 2014 8:18 am

Hi Sara,

thank you for your help.
ok, now I getting no VariableWriteFail, but the SPN 0 /FMI 0 will be in DM2 and DM1 ... so I have to ignore that manually. that doesn't help much.

Writing a script for ignore the SPN 0/FMI 0 is much more effort then rewriting the DM2 Handler...

Regards from Germany
stalley
Enovation Controls Development
Enovation Controls Development
Posts: 618
Joined: Tue Mar 18, 2014 12:57 pm

Re: DM2 app gets VariableWriteFail if no DTC is in DM2

Post by stalley » Thu May 15, 2014 9:17 am

Hi Mkeller,

Something else you might look at is under the Applications tab\Diagnostic Messages\DM2 Setup, if you check the box you will be able to differentiate between no response and no faults in the list.
Sara Talley
Software Engineer
Enovation Controls