Jump to content
Sign in to follow this  
janm7462

Read column of indexed data table

Recommended Posts

Hello,

I'm using UniLogic and I want to copy only a column for example recipe names. In the VisiLogic software this is possible with a function under data tables. How do I do this in UniLogic?

 

Thanks,

Jan Martijn Lenselink

Share this post


Link to post
Share on other sites

Hello Jan, thank you for using our Unitronics Forum.

You can use our "Read Row from DTI"  function block under our Data Table: Indexed tab in UniLogic.  This will copy a row of the data table into a struct.  I would copy it into a "buffer struct", then copy the ASCII string of the Column (from the buffer struct) to where ever you want to move the information to.  Then increment the index of the data table and do the same for the rest of the rows.

Let us know if this helps.

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...