mjarvas Posted November 3, 2020 Report Posted November 3, 2020 I'd like to use a list in a combo box from a data table column on Unistream PLC. Is it possible? If yes, which is the easiest way to realize this? Thanks in advance for the help,
MVP 2023 Flex727 Posted November 3, 2020 MVP 2023 Report Posted November 3, 2020 Moved to a better forum.
bobnorway Posted November 4, 2020 Report Posted November 4, 2020 what is a better forum? I can't follow this now.
Rivka Posted November 10, 2020 Report Posted November 10, 2020 Hi, Combo box has indirect option that you can use to import your combo box options from a file located in SD or disk on key. Now, using the data table and converting it programmatically to the file format needed for indirect combobox is another story. If you have fix sets of data, you can prepare a few files and switch between them by modifying the tag containing path to the indirect combo box file. Hope that helps
Rivka Posted November 11, 2020 Report Posted November 11, 2020 Finally, that should not be as complicated as that: the indirect combo box file format is pretty simple (one option item on each line) So using the "copy column to array in DTI" ladder function, then the "tag to buffer" function, then "append buffer to SD file" should make the trick. (or some other combination that will work) Update us how it goes!
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