Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: FoxtrotBravo on June 01, 2012, 05:13:35 PM

Title: Issue with Plug In writing to device profile
Post by: FoxtrotBravo on June 01, 2012, 05:13:35 PM
I'm completing a new plug-in for an USB BOB.

When my plug-in writes configuration data back to the profile file using "DevProf->WriteProfileInt" everything is fine, as I verify using a text editor on the .xml file, but when Mach3 exits, it writes the previous data back to the file. It seems like Mach3 (or some other plug-in) is holding on to an CXMLProfile handle until it exits, at which time old data is flushing back to disk.

Has anyone else noticed this? Is there any easy work-around without having to create a custom configuration/setup file for my plugin?

Thanks for your help.
Frank