I have a problem on the messages of DM1 and DM2.
Even if there are the messages on DTC Setup tab、some appears, others does't.
I don't know what's the difference between them.
Please tell me how to solve the problem.
Examples in case of DM2 are below.
Massages appears:SPN3 FMI2,SPN1 FMI10,SPN3 FMI8,SPN1 FMI8
Massages not appears:SPN231 FMI5,SPN254 FMI8,SPN231 FMI6
My environment:
・PV Studio:V2.8.10546
・Configuration:Based on Standard PV780
・Windows:win7(64bit,service pack1)
Regards,
Hiroto
Problem on DM1 and DM2
- Hiroto miyazaki
- Posts: 11
- Joined: Mon Sep 17, 2012 9:18 pm
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: Problem on DM1 and DM2
Can you Private Message your configuration to me so that I can use it to test?
Boyce Schrack
Enovation Controls
Enovation Controls
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: Problem on DM1 and DM2
Good news, we found the problem. The reserved strings used by the Diagnostic Messages application were too small. Change the DM1.Header.Description, DM2.Header.Description, DM2.Table.Description.1, etc. Length from 128 to 512.
Boyce Schrack
Enovation Controls
Enovation Controls
- Hiroto miyazaki
- Posts: 11
- Joined: Mon Sep 17, 2012 9:18 pm
Re: Problem on DM1 and DM2
Hello,
Thank you for your quick response.
I'll try it and report the result later.
:My primitive question
Ex.
Message of SPN3FMI2 is much longer then that of SPN231SPN5.
The former appears, the latter does't.Why?
See you later.
Thank you for your quick response.
I'll try it and report the result later.
:My primitive question
Ex.
Message of SPN3FMI2 is much longer then that of SPN231SPN5.
The former appears, the latter does't.Why?
See you later.
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: Problem on DM1 and DM2
It is probably because the string was being truncated within a multi-byte character code and that caused it to ignore the entire line.
Boyce Schrack
Enovation Controls
Enovation Controls
- Hiroto miyazaki
- Posts: 11
- Joined: Mon Sep 17, 2012 9:18 pm
Re: Problem on DM1 and DM2
Hello,
I tried changing length from 128 to 512.
It works very well.
Thanks a lot.
I tried changing length from 128 to 512.
It works very well.
Thanks a lot.