I/O counter handle with care !

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
2 posts • Page 1 of 1
frankySie
Posts:30
Joined: Mon Oct 15, 2012 12:01 pm

I/O counter handle with care !

Post by frankySie »

This is an information to the users of the I/O counter.

The I/O counter is an very useful panel to count datapoints which are relevant for license calculation.

We used it in our project. But the result was not correct, even it depended on the system load. The implementation of the panel realizes a delay operation which is set to 3 seconds hardcoded. This was too short for our project.

When you use this panel then change the delay-time and re-run the panel. Compare the results.

source code snippet:
for(d=1;d

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: I/O counter handle with care !

Post by leoknipp »

Hello,

if you want to avoid a fixed delay you could use a while-loop (with a short delay of about 1-3 seconds) which checks if the datapoint-element has been updated.
Then you should always get the correct result.

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1