I updated to latest RC version 1.0.9.94
After updating my lib in my project from version 1.0.0.0 the Variable NumberOfTests of my instance of FB_Sum_Test is always 0..
I have exactly the same setting as it is described in the tutorial with the FB_Sum..
Diff:
Hi,
The simple example works fine with the RC4.
Please, check all your settings or libs references, etc, etc... (see the attached picture for proof as I ran it just now).
Usually after library swapping, it is usually better to close/reopen the project before running it again with the new libraries.
What system at you using? The preciser the information the better you help:
The version and brand of your IDE,
The version and type and brand of your controller,
The version of the firmware.
With kind regards,
The CfUnit team
i changed line 15 in FB_TestSuite.AreAllTestsFinished to:
CurrentCycleCount := GetCurrentTaskIndex.CurTaskInfo.dwIECCycleCount;
instead of
CurrentCycleCount := GetCurrentTaskIndex.CurTaskInfo.dwCycleCount;
i have seen that dwCycleCount is already >= 1 and because of this AreAllTestsFinished is TRUE already in first IEC Cycle..
so no tests are added to TestSuite because function FB_TestSuite.AddTest is never called
Good Catch :-)
I'll test this patch
Hi,
What type of CODESYS version are you running (IDE)
What type of CPU are you running?
What CODESYS runtime version is running on your CPU?
our runtime system is running on a debian based system.
i guess the difference is when you test the lib with the CODESYS Control
Win V3 controller simulation and when i test the lib on the real
controller...
Von: tickets@cfunit.prj.forge.codesys.com tickets@cfunit.prj.forge.codesys.com Im Auftrag von aliazzz
Gesendet: Freitag, 12. Juni 2020 20:01
An: [cfunit:tickets] 46@tickets.cfunit.prj.forge.codesys.com
Betreff: [cfunit:tickets] Re: #46 tutorial example not working anymore
after update
I have tested your
Please can you provide more information about your setup?
What type of CODESYS version are you running (IDE)
What type of CPU are you running?
What CODESYS runtime version is running on your CPU?
Thank you
[tickets:#46] https://forge.codesys.com/prj/cfunit/tickets/46/
tutorial example not working anymore after update
Status: open
Milestone: v1.1.0.0
Created: Mon Jun 08, 2020 11:50 AM UTC by lukasstelzer
Last Updated: Wed Jun 10, 2020 03:59 PM UTC
Owner: nobody
I updated to latest RC version 1.0.9.94
After updating my lib in my project from version 1.0.0.0 the Variable
NumberOfTests of my instance of FB_Sum_Test is always 0..
I have exactly the same setting as it is described in the tutorial with the
FB_Sum..
Sent from forge.codesys.com because you indicated interest in
https://forge.codesys.com/prj/cfunit/tickets/46/
To unsubscribe from further messages, please visit
https://forge.codesys.com/auth/subscriptions/
Related
Tickets:
#46RC5 in the trunk is tested and fixes this issue
Hi,
Would you please provide feedback whether the solution has helped?
Thank you.
tested succesfully on my system!
-- ticket can be closed --
Good to hear this.