Page 1 of 1
App Developer Timestamp and EventTrigger components
Posted: Wed Jan 27, 2021 10:09 am
by stefan.erni
Hi Ben
Timestamp and EventTrigger components are very good. A few more wishes
Timestamp component:
Would it be possible to have a timestamp string in this format as well? Then you can just use the string as a filename
2021-01-27_10-54-12
EventTrigger component:
Would it be possible to do the event trigger enable / disable with a macro?
To set the duration with a macro?
And when the appropriate time is over to start a macro like an interrupt?
regards
Stefan
Re: App Developer Timestamp and EventTrigger components
Posted: Wed Jan 27, 2021 2:53 pm
by BenR
Hi Stefan,
Thanks very much.
I've added your request to the timestamp component so you can change the various delimiters as required, I'll push these changes to the update system later on today.

- Timestamp.jpg (11.05 KiB) Viewed 7247 times
I'll have a look at the EventTrigger component and see what I can do there.
Re: App Developer Timestamp and EventTrigger components
Posted: Wed Jan 27, 2021 6:30 pm
by stefan.erni
Hi Ben
Thanks a lot.
There are only two small problems. After the year there is a space and yy-mm-dd_hh-mm-ss would be easier because the filenames are then always correctly sorted in the folder by year, month, day
01-27-21 _19-17-35.csv //this is now
21-01-27_19-17-35.csv //wish

- US_2021-01-27_19-01-56.png (26.39 KiB) Viewed 7236 times
Re: App Developer Timestamp and EventTrigger components
Posted: Wed Jan 27, 2021 9:49 pm
by BenR
Hello,
Thanks for letting me know.
I've now added an option for the date to be output as you've specified. As for the space between the date and the time, check your setting for the TimeStamp separator and make sure there are no spaces there. Hopefully that should solve the problems.
Re: App Developer Timestamp and EventTrigger components
Posted: Wed Jan 27, 2021 10:56 pm
by BenR
Hello again,
I've also now reworked the EventTrigger component to make it a lot more useful as per your suggestions. I've done a bit of testing and so far it seems to work well.
Let me know how you get on.
Re: App Developer Timestamp and EventTrigger components
Posted: Thu Jan 28, 2021 8:59 am
by stefan.erni
Hi Ben
That is very, very good what you did.
Selecting the macro in propertis is very practical.
The countdown in the icon is very pleasant.
And the timestamp is perfect.
regards
Stefan

- Macro_2021-01-28_9-45-07.png (227.63 KiB) Viewed 7220 times

- timestamp_2021-01-28_9-30-38.png (101.21 KiB) Viewed 7220 times
Re: App Developer Timestamp and EventTrigger components
Posted: Thu Jan 28, 2021 11:24 am
by BenR
Thanks Stefan,
Glad you like the changes
