Jump to content

Copy Array to a DTI column


Robin P

Recommended Posts

I want to copy from an Array (INT16 × 15) to a single DTI cell which holds a similar array. In effect I'm trying to copy one dimension to another.
Does the function 'Copy array to column in DTI' allow this? The compiler allows me to set the function up, but no data seems to be transferred.

 

Regards,

Robin Proctor

Link to comment
Share on other sites

Hi,

 

If the structure of the data table contains the array you described then one of the columns is from type array INT x 15

Then using read row or write row you can read or write data to a specific row.

Note that you need to create another struct using the data table struct in order to link it to the read row or write row. (This struct will contain the array where you can either fill with values or get the values from the Data table).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...