alex.t Posted July 24, 2014 Report Share Posted July 24, 2014 Hello The c# demo application works ok, when i'm editing the data Table from the grid, and i've managed to write the information to PLC. I'm trying to write some imported data from xml file to an Unitronics V570 using C# Data Table application. From what i saw on write table i received the following error: "Operation is not valid for tables taken from UDT file" From what i saw the object "DataTables" has an private member PLC who has values when the data are imported from V570, but when the data is imported from xml file this member is null. What should i do in order to determine the "object" -> Table to succesfully write the information to V570. The xml file is generated from another application, so that is way i need this solution. If is necessary i can provide you my code. Thank you Link to comment Share on other sites More sharing options...
Saragani Posted July 27, 2014 Report Share Posted July 27, 2014 We already implemented a feature to support such request. You should have a function called SetPLC, which exist in the Data Tables DLL since version 1.0.0.15. Since it appears that the version on the website is too old, then I suggest you to take it from the SD Card Suite, since it has the latest version. Link to comment Share on other sites More sharing options...
alex.t Posted July 31, 2014 Author Report Share Posted July 31, 2014 Yes. Indeed, the version 1.0.0.13 of Unitronics.DataTables dll solved the issues. DataTable constructor has a third parameter PLC. Now it saves the structures in V570 without any error. Thank you for your support. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now