05-05-2008 01:34 AM
05-05-2008 08:05 AM
It seems you have not closed all handles correctly, before you called the config function again to set the new baudrate. Could you post your code, thus i could have a look to it.
DirkW
05-05-2008 10:23 AM
05-06-2008 09:09 AM
Hi,
You made a mistake with your handles. The create interface function creates a Port handle and the Create SDO function creates a object handle. In the end the close closes only the object handle. The Port handle stays open. If you then open another interface it works if you do not change the baudrate. But if you changes the baudrate the driver needs to access the handle. That causes a problem because the handle is still open.
See the attached picture for how to close the port handle instead of the object handle. If you close the port handle, the driver closes all object handles as well.
DirkW
05-06-2008 09:52 AM
05-07-2008 06:55 AM