KOGNA read I/O bit from main status

Moderators: TomKerekes, dynomotion

User avatar
TomKerekes
Posts: 2676
Joined: Mon Dec 04, 2017 1:49 am

Re: KOGNA read I/O bit from main status

Post by TomKerekes » Tue Dec 12, 2023 2:17 am

Hi Raffaello,

Try this Debug64 Version
Attachments
KMotion_dotNet.dll
(194 KiB) Downloaded 174 times
Regards,

Tom Kerekes
Dynomotion, Inc.

TorRaf
Posts: 15
Joined: Thu Sep 02, 2021 12:15 pm

Re: KOGNA read I/O bit from main status

Post by TorRaf » Tue Dec 12, 2023 9:34 am

Hi Tom,

thanks for the file, but I get always the same problem :(
I tested it in my project and in your SimpleFormsCS, but BitState200 come as 2 length array

Raffaello

User avatar
TomKerekes
Posts: 2676
Joined: Mon Dec 04, 2017 1:49 am

Re: KOGNA read I/O bit from main status

Post by TomKerekes » Tue Dec 12, 2023 6:52 pm

Hi Raffaello,

It shows a 3 element array and works for me.

It seems you are using an old dll. I asked you to delete the dll to see if you get an error but you never responded respond.
Regards,

Tom Kerekes
Dynomotion, Inc.

TorRaf
Posts: 15
Joined: Thu Sep 02, 2021 12:15 pm

Re: KOGNA read I/O bit from main status

Post by TorRaf » Wed Dec 13, 2023 10:59 am

Hello Tom,

I tried to delete or rename file, also I deleted all the reference to the projet et give the new one, clean and rebuild the wole solution more times but it didn't work! :evil:

So I have try to create a brand new projet and put as reference the new dll and this time it works! :D

So, definitely the problem come from the setup of my main project. :(

Thanks for your support, if you have some suggestions, I'm hearing!

Good day
Raffaello

Moray
Posts: 288
Joined: Thu Apr 26, 2018 10:16 pm

Re: KOGNA read I/O bit from main status

Post by Moray » Wed Dec 13, 2023 11:54 am

I've had issues with VS referencing the wrong directory, and had to manually edit one of the project config files.

It seems to be that some settings get created by VS (possibly during project creation), which you then can't change within VS (or at least I couldn't find them!).

My problem was my project originally targeted 4.3x, and updating to 5.3.0 caused it to still use the 4.3x directory, despite updating every setting I could find within VS. In the end I done a text search of the project directory, and it turned up a setting that still pointed to 4.3x.
Having just looked at my notes, it was the <StartWorkingDirectory> setting within the .csproj.user file.

TorRaf
Posts: 15
Joined: Thu Sep 02, 2021 12:15 pm

Re: KOGNA read I/O bit from main status

Post by TorRaf » Wed Dec 13, 2023 1:17 pm

Yes!!!

Me to I started whit 4.3x, and i find in .csproj file a wrong link to the old folder.

Now it works like a charm :D

Thanks Moray!

Raffaello

Post Reply