I am trying to write a motor record driver for the PXI7344 motor controller from
National Instruments and I am experiencing a weird pointer corruption problem.
First the environment:
- Windows 10, PSI computer security wants that
- MS Visual Studio 2010, I have to interface with the NI FlexMotion library which is EOL and from
I am using the asynMotorController. What I see in my debugger is that everything is fine with my
pointer until epicsEventSignal(pollEventId_) is called in asynMotorController::wakeupPoller().
After that call my this pointer is corrupted and everything goes downhill from then. I tried to
override wakeupPoller() to an empty method in order to get more information but then
I get the pointer corruption
on the call to epicsEventWaitWithTimeout(pollEventId_,
Any ideas what could be wrong here?