Determine time period

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
FlWi_4222726
Level 1
Level 1

Hello, everybody,

is it possible to display the period of a program cycle in the Psoc Creater?

Thank you in advance.

0 Likes
1 Solution
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

FlWi,

If you are asking how the period of the programming time,  look at the "Output" window.  Here's an example of one programming session.

...

--------------- Build Succeeded: 10/24/2019 12:05:29 ---------------

Programming device 'PSoC 5LP CY8C5888LT*-LP097' with file 'C:\Users\lpoma\Documents\PSoC Projects\User Projects\PDS05FULL\PDS05FULL_191010.cydsn\CortexM3\ARM_GCC_541\Debug\PDS05FULL_191010.hex'.

Device ID Check

Erasing...

Programming of Flash Starting...

Protecting...

Verify Checksum...

Finished Programming

Device 'PSoC 5LP CY8C5888LT*-LP097' was successfully programmed at 10/24/2019 12:05:33.

Therefore the programming time is 12:05:33 - 12:05:29 = 4 secs. 

Is this what you are looking for?

Len

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes
3 Replies
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Now, the PSoC Creator (IDE) doesn't have this function. But the creator shows "the build started time" and "build succeeded time".

pastedImage_0.png

You could use the succeeded time minus started time.

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

FlWi,

You can try to use the StopWatch custom component for that

How to get timestamp in microseconds using Psoc5lp

/odissey1

Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

FlWi,

If you are asking how the period of the programming time,  look at the "Output" window.  Here's an example of one programming session.

...

--------------- Build Succeeded: 10/24/2019 12:05:29 ---------------

Programming device 'PSoC 5LP CY8C5888LT*-LP097' with file 'C:\Users\lpoma\Documents\PSoC Projects\User Projects\PDS05FULL\PDS05FULL_191010.cydsn\CortexM3\ARM_GCC_541\Debug\PDS05FULL_191010.hex'.

Device ID Check

Erasing...

Programming of Flash Starting...

Protecting...

Verify Checksum...

Finished Programming

Device 'PSoC 5LP CY8C5888LT*-LP097' was successfully programmed at 10/24/2019 12:05:33.

Therefore the programming time is 12:05:33 - 12:05:29 = 4 secs. 

Is this what you are looking for?

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes