we are encountering continous problems with exeptions which are closing pc’s com ports - and that makes controlling the stepper motors impossible.
the app continues to work, but any control can’t be made, everything looks just fine but after the exception stepper just doesn’t move
the aplication which communicates with your stepper motor card is based on your .dll
The only messages that is returned by the exception is described as “internal library exception”.
Hope i’ll get a feedback from you soon
Any help would be great
[edit]
one more thing, the exception accures after a period of time of continous work (standby), sometimes it takes more time sometimes less
I don’t want it to be public, so if it’s possible can i sent it to you via email (what address)?
if not i could just upload zipped solution to a fileshare portal or somethink like that…
well yes it’s multithreaded - there are couple of modules, each module communicates with it’s card so each thread is using your dll
here’s the vs solution onedrive.live.com/redir?resid=E … file%2czip
I suspected multithreading was involved because “the exception accures after a period of time of continous work (standby), sometimes it takes more time sometimes less”. The functions in the DLL are not thread safe, you will need to implement a locking mechanism.