Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2018-09-21 12:38:24

rexpeter
Member
Registered: 2016-09-06
Posts: 67

Subsystem problem in Example project 0305-01_Hour_Meter

Hi,

I observed that there is a problem with compiling the above mentioned example project.
The "popup string" appears to be incorrect.
Screenshot

I like to know how this should be setup correctly in order to use such a "hour meter" with different scales.

Second question related to that is that I would like to use above counter in a project to display total running hours, but I would like to make sure the counter will not reset back to "0" after a power failure but continues where it was before.
And also would like to avoid a different default "time scale" (seconds / minutes / hours / days), but the one that I selected prior to the power failure.
How can this be accomplished?

Thanks in advance for your help on this.

Best regards,
Peter

Offline

#2 2018-09-24 07:31:09

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Subsystem problem in Example project 0305-01_Hour_Meter

Hi Peter,
please find the corrected example project 0305-01. Thanks for reporting this.

The other part of your question can be solved by ticking the "Permanent" checkbox of the hour_meter subsystem and also of the INTE block inside the subsystem. That will make both the time scale and the hour meter value "permanent", i.e. they will be stored in a file on disk and they will be automatically loaded on startup. Default period of writing the values to disk is 5 minutes, i.e. in case of power failure your hour meter will be off by 5 minutes in the worst case scenario.

With kind regards,
Jaroslav

Offline

#3 2018-09-24 10:07:52

rexpeter
Member
Registered: 2016-09-06
Posts: 67

Re: Subsystem problem in Example project 0305-01_Hour_Meter

Hi Jaroslav,

Excellent, now I understand why it was not working before with this "selection-string".
And also the "Permanent" checkbox becomes more clear now to me.
Thank you very much for this update on the example and the reply to my request.
The "Subsystem" is a really nice tool! It would be great if you could "add" your own "custom made subsystems" to your personal "library" blocks.
It is working of course by simply copying it from one project file and drop it into another project file, but adding it to the "custom"-library on your PC, would just be a nice feature :-)

Thanks and best regards,
Peter

Offline

#4 2018-09-24 11:39:09

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: Subsystem problem in Example project 0305-01_Hour_Meter

Hi Peter,

the functionality you proposed is already under testing and will be part of new release wink

Cheers, Tomas

Offline

Board footer

Powered by FluxBB