Jump to content

C# Data Table


alex.t

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.