Displaying all the active faults on screen at a time

Discuss issues and ideas you have to configuring displays with PowerVision
ShrutiK
Posts: 34
Joined: Sun Feb 06, 2011 2:03 am

Displaying all the active faults on screen at a time

Post by ShrutiK » Fri Apr 29, 2011 9:17 am

Hi,

I referred the Fault (DM1, Dm2) code of "Murphy Standard Configuration (PV450) 2.2.db3" file, I found it displays only single fault(active DTC) on a screen at a time. I wanted to display all the active faults on the screen at the same time, can someone help me in doing so?


Thanks and regards,
Shruti
bseidl

Re: Displaying all the active faults on screen at a time

Post by bseidl » Mon May 02, 2011 4:50 pm

Hello Shruti

The Diagnostics Messages app has several actions you can use in state machines to traverse through the list of active DM1s. (i.e. DM1GoToFirst, DM1GoToNext, DM1GoToLast, etc.). You could use these actions in state machines in conjuction with scripts to show a list of active DM1s in tabular form. To do this you could have an image widget of an Excel-like table and place text widgets over the top of that. Then use state machines along with the DM1 actions, and scripts to show the DM1s. This is one possible solution.

Brad Seidl
Test Engineer
F.W. Murphy
ShrutiK
Posts: 34
Joined: Sun Feb 06, 2011 2:03 am

Re: Displaying all the active faults on screen at a time

Post by ShrutiK » Tue May 03, 2011 3:39 am

Thanks Brad for the solution but it seems difficult for me to implement.I'll give a try.


By the way, what all changes I need to do if I want to use the Dm1,Dm2 program of standard
murphy config file?

Thanks & regards,
Shruti
bseidl

Re: Displaying all the active faults on screen at a time

Post by bseidl » Tue May 03, 2011 3:31 pm

If you want to implement DM1/DM2 like in the Murphy Standard, you would need all the state machines and screens that make it work. You could start with the Murphy Standard as a template and make your changes around it. That would probably be the easiest way to go.

Brad Seidl
Test Engineer
F.W. Murphy
jpurdum
Enovation Controls Development
Enovation Controls Development
Posts: 153
Joined: Mon Jun 21, 2010 11:19 am

Re: Displaying all the active faults on screen at a time

Post by jpurdum » Tue May 31, 2011 1:10 pm

We found an example config we did about a year ago. I updated it to 2.2. It works pretty well, but you will want to customize it to your needs.
DM1sInTableExampleConfig.zip
(6.14 MiB) Downloaded 45 times
john p.
ShrutiK
Posts: 34
Joined: Sun Feb 06, 2011 2:03 am

Re: Displaying all the active faults on screen at a time

Post by ShrutiK » Mon Jun 06, 2011 8:51 am

Thanks!
ShrutiK
Posts: 34
Joined: Sun Feb 06, 2011 2:03 am

Re: Displaying all the active faults on screen at a time

Post by ShrutiK » Wed Jun 08, 2011 5:22 am

Hi,

On Dm1 screen, I wanted to display the time and date of Dm1.So I added text guages and mapped them to appropriate system Dm1 variable; e.g, mapped "UserDefinedVariable.Dm1.Day" to day text guage.I'm testing the Dm1 screen working in simulation by setting "Initial Value" of "UserDefinedVariable.SettingSimData" variable as 1.With this, I could see the Dm1 screen getting displayed on display'; however, date and time related parameters are not visible.Why is it so?How can I simulate them?

Thanks.

P.S. Attached is the screenshot of Dm1 screen
Attachments
DM1_Date-Time.PNG
DM1_Date-Time.PNG (24.77 KiB) Viewed 367 times
bseidl

Re: Displaying all the active faults on screen at a time

Post by bseidl » Tue Jul 05, 2011 4:51 pm

Hi Shrutik

I'm going to enter a bug for this issue. Thanks for letting us know!


Brad Seidl
bseidl

Re: Displaying all the active faults on screen at a time

Post by bseidl » Wed Jul 06, 2011 1:44 pm

Shrutik

The DM1 time and date variables are used to timestamp the log. They are not automatically updated when a DM1 is sent.

Here's a link to a document that may help you.
viewtopic.php?f=5&t=259&start=0

Brad Seidl
ShrutiK
Posts: 34
Joined: Sun Feb 06, 2011 2:03 am

Re: Displaying all the active faults on screen at a time

Post by ShrutiK » Fri Nov 04, 2011 3:57 am

Brad,
I checked the document. But still I'm not clear on below comment -
"Updated by the config. Currently, need to copy data from any real-time source into this variable. The DM1 app uses this and the other following time variables to timestamp the log."

How exactly we can configure following parameters :
UserDefinedVariable.Dm1.Month
UserDefinedVariable.Dm1.Day
UserDefinedVariable.Dm1.Year
UserDefinedVariable.Dm1.Hours
UserDefinedVariable.Dm1.Minutes
UserDefinedVariable.Dm1.Seconds

Thanks & regards,
Shruti
bseidl

Re: Displaying all the active faults on screen at a time

Post by bseidl » Fri Nov 04, 2011 8:40 am

These variables are used by the DM1 app so they cannot be configured with reliability. What you can do is create your own time variables and reference the Real Time Clock with those variables.

Brad
ShrutiK
Posts: 34
Joined: Sun Feb 06, 2011 2:03 am

Re: Displaying all the active faults on screen at a time

Post by ShrutiK » Tue Nov 08, 2011 2:19 am

Awaiting for answer..
ShrutiK
Posts: 34
Joined: Sun Feb 06, 2011 2:03 am

Re: Displaying all the active faults on screen at a time

Post by ShrutiK » Thu Feb 16, 2012 6:25 am

My requirement is still not fulfilled..awaiting for solution
Please help..
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: Displaying all the active faults on screen at a time

Post by ksaenz » Mon Feb 20, 2012 7:48 am

Hello ShrutiK,

Do you have questions about the last reply by bseidl?

Regards,

ksaenz
bmcrae
Enovation Controls Development
Enovation Controls Development
Posts: 75
Joined: Thu Sep 09, 2010 11:20 am

Re: Displaying all the active faults on screen at a time

Post by bmcrae » Mon Feb 20, 2012 8:29 am

Brad does not work for FW Murphy anymore.

There is a DM1 logger built into the units and can be configured via the configuration tool. The log has year, month, day, and time stamps for every DM1 that comes in.

If this DM1 logger does not meet your needs, please let us know what is required beyond this.

Thanks,

Brian McRae
FW Murphy
ShrutiK
Posts: 34
Joined: Sun Feb 06, 2011 2:03 am

Re: Displaying all the active faults on screen at a time

Post by ShrutiK » Mon Mar 05, 2012 5:01 am

Kristian,

I'm looking for inputs/answer for my earlier post - "by ShrutiK » Wed Jun 08, 2011 3:52 pm ".

Brian,

How to use DM1 logger to fetch year, month, day, and time stamps for every DM1 that comes in?

Thanks & regards,
Shruti
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: Displaying all the active faults on screen at a time

Post by ksaenz » Mon Mar 05, 2012 9:11 am

Shruti,

Regarding simulation.
All variables have these Simulation fields: Min, Max, Step.
You need to provide values for those fields to work in simulation mode.

Regards,

ksaenz
ShrutiK
Posts: 34
Joined: Sun Feb 06, 2011 2:03 am

Re: Displaying all the active faults on screen at a time

Post by ShrutiK » Thu Mar 08, 2012 4:02 am

How to use DM1 logger to fetch year, month, day, and time stamps for every DM1 that comes in?
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: Displaying all the active faults on screen at a time

Post by ksaenz » Thu Mar 08, 2012 8:19 am

The snapshot logger adds the time and date when it takes a snapshot and you can use a script to read them from the records and entries files.

The applications reference manual found here explains how to setup and use the snapshot logger and I also attached a sample configuration that you can use to experiment.
Attachments
PV750 with snapshot logger.zip
Created with PVCS 2.3.11157
(5.37 MiB) Downloaded 34 times
ShrutiK
Posts: 34
Joined: Sun Feb 06, 2011 2:03 am

Re: Displaying all the active faults on screen at a time

Post by ShrutiK » Fri Mar 09, 2012 1:46 am

Kristian,

Thanks for the reference example; however, since its incompatible with my configuration tool version(2.3.1117), I'm unable to open it.

Thanks & regards,
Shruti
Attachments
ErrorSnapshot.JPG
Error in opening your example with configuration tool version(2.3.1117)
ErrorSnapshot.JPG (41 KiB) Viewed 210 times
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: Displaying all the active faults on screen at a time

Post by ksaenz » Fri Mar 09, 2012 7:42 am

ShrutiK,

You can find and download the latest releases here in the forum:

viewtopic.php?f=3&t=523

Regards,

ksaenz
ShrutiK
Posts: 34
Joined: Sun Feb 06, 2011 2:03 am

Re: Displaying all the active faults on screen at a time

Post by ShrutiK » Tue Mar 20, 2012 2:22 am

Hi,

Currently I’m facing a problem with Dm1 screen. The problem is Dm1 screen pops up every time the display starts up though there are no active faults present (refer attached snapshot-1).
I’ve derived from Dm1 state machine from Murphy’s Dm1 state machine. While differentiating Murphy Dm1 with my derived Dm1 state machine, I found that there is “ServRempopUpControl” event getting fired in “Initial” state which I have omitted(refer attached snapshot-2). Actually I’m not using service remainders and hence I’ve not provided the events associated with it in my Dm1 state machine. Is because of this the problem occurring? How does “Dm1.NewActiveFaultAvailable” event work?

Thanks & regards,
Shruti
Attachments
Snapshot-1.png
Snapshot-1.png (951.55 KiB) Viewed 199 times
Snapshot-2.png
Snapshot-2.png (81.72 KiB) Viewed 199 times
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: Displaying all the active faults on screen at a time

Post by ksaenz » Tue Mar 20, 2012 7:44 am

Hello ShrutiK,

I noticed in the first picture that it says Diagnostic Message 1 of 1 which means that the display is receiving a DTC.

Since the SPN is 0 and the FMI is 0 I assume that the display is receiving the standard DM1 message sith SPN 0 and FMI 0 and this needs to be ignored.

To ignore a DTC you need to add it to the list of DTCs and check the "Drop" box.

Regards,

ksaeenz