09-21-2009 03:50 AM
Hi everyone,
I have a very trivial problem.In a SUD dialog I load and display some channels in a channel-combo-box.So everythings perfect so far,but I have some texts channels and I have text entries which lenght may vary, but I cannot figure it out how to display the text channel values in a combo-box, after the corresponding text channel is selected.It can be very simple if there is a command which is sthg like 'read channel values'. I had an idea , which is more time consuming, I can create a dinamic array and use a enumeration-combo-box but I'm in kind of a hurry.So if you have an idea about it I'll be most grateful.
Thanks in advance
Solved! Go to Solution.
09-21-2009 04:03 AM
Hello!
AFAIK is there no build in function in DIAdem. You have to do it yourself.
Matthias
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
09-21-2009 04:06 AM
Thanks Matthias,
at least I know now 😞
Have a nice day
09-25-2009 02:22 AM
Hi fscommand,
I dont know if it might be helpful for you but if you want to write or read text channel values there is a command called CHT.
For example: reading MyText = CHT(3,"Group1/TextChannel")
writing For intLoop = 1 to 10 CHT(intLoop,MyChnName(0)) = "Value " & intLoop Next //for loop writing values
Greg
09-25-2009 02:49 AM
Wow G.INNI,
you are my hero/ine 🙂 It actually works pretty well with CHT ,thanks again!I'll kudo you for that.
Have a nice weekend
11-24-2009 04:00 AM
hello,
I was wondering if you could help me write a data plugin for XML! since you have already worked on one!
cheers!