If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
reset counter at a hour
9 posts
• Page 1 of 1
reset counter at a hour
Hi everybody, i want a counter reset, not with a trigger but with a time value like what i have posted i don't find the solution, if someone have please help me ! I can say i'm a noob in flowstone ^^
thanks !
thanks !
- Attachments
-
- counter.fsm
- (1.22 KiB) Downloaded 761 times
- RZK
- Posts: 23
- Joined: Mon Dec 23, 2013 9:50 am
Re: reset counter at a hour
Like this?
- Attachments
-
- reset.fsm
- (1.23 KiB) Downloaded 792 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: reset counter at a hour
WTF I have tried this but in string... thank's a lot !
- RZK
- Posts: 23
- Joined: Mon Dec 23, 2013 9:50 am
Re: reset counter at a hour
You can make it even simpler.
- Attachments
-
- reset-v2.fsm
- (1.2 KiB) Downloaded 782 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: reset counter at a hour
Thanks for your help tester. I need one more thing, if the computer is shut down at the hour of the reset this counter isn't reseted. i want to reset my counter at a new day if its possible.
- RZK
- Posts: 23
- Joined: Mon Dec 23, 2013 9:50 am
Re: reset counter at a hour
hi everybody, my counter need to do not reset my counter when i have a power failure, like a save of the value. i don't know if a program in flowstone can make that(ex: counter at 015==>power failure at restart of program start value of counter ==>015). Next stuff to develop is to reset this counter at 00:00 or at a new day even if i have the computer is shut down. Then at restart the day have changed. Is possible to use this value to reset the counter ? I know its a hard problem ^^ but i need to find solution with Computer program like flowstone. I tried to do that with a PLC its simple but the communication it's hard... in flowstone communication extra simple but programming hard xD. Thank's for reading guys ! (sry for my English )
- RZK
- Posts: 23
- Joined: Mon Dec 23, 2013 9:50 am
Re: reset counter at a hour
If you save your reset date to text file on reset point, then at next app start - app can compare current date with last date that was saved in file (file is overwriten each time when it's saved). Have you tried to use that?
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: reset counter at a hour
i will, thanks for the advice !
- RZK
- Posts: 23
- Joined: Mon Dec 23, 2013 9:50 am
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 74 guests