Updated to work in TwinCAT version 4026 with 99% functionality#11
Updated to work in TwinCAT version 4026 with 99% functionality#11djonas171 wants to merge 2 commits intoBurksEngineering:mainfrom
Conversation
TcMatrix for TwinCAT 4026 have disabled Method: GetSubMatrixAccessor and FillFromAt.
|
Thank you for contributing the solution! I'm not a git workflow expert, but if it isn't too hard I would prefer for you to start a 4026 branch for TcMatrix and put these changes in there so that we don't lose 4024 functionality. Let me know if there is anything I can do to make that branch easier for you to contribute to! |
|
I think it is a good idea with a seperate branch, i do not have much time this week to make it, but i will try, otherwise i will do it next week. Thanks for reaching out! it is very nice that we can create a solution and keep using your brillant library! |
|
I have just received news from Beckhoff that the "NullReference error" is not reproducible in version their internal version 4026.14 which is expected to be released in the coming weeks, - maybe 2-4 weeks from now. |
TcMatrix for TwinCAT 4026 have disabled Method: GetSubMatrixAccessor and FillFromAt due to compiler issues. Otherwise this verision should have full functionallity.
The method calls:
GetShrunkMatrixAccessor
GetTransposeMatrixAccessor
Have been changed so they no longer creates a compiler error. This sadly means the call have to be made a little different, but is it very easy to adjust to.
Old call example: Mt := M1.GetTransposeMatrixAccessor();
New call example: M1.GetTransposeMatrixAccessor(Mt);
The solution have been opened in 4026 so it is no longer compatible with solutions running 4024 or lower.
The update passes all Unit tests as no test is using the method FillFromAt.