DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Channel values read

Solved!
Go to solution

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

0 Kudos
Message 1 of 6
(5,306 Views)

Hello!

 

AFAIK is there no build in function in DIAdem. You have to do it yourself.

 

Matthias

Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 6
(5,304 Views)

Thanks Matthias,

 

at least I know now 😞

 

Have a nice day

0 Kudos
Message 3 of 6
(5,302 Views)
Solution
Accepted by fscommand

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

Message 4 of 6
(5,246 Views)

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 

 

0 Kudos
Message 5 of 6
(5,243 Views)

 

hello, 

I was wondering if you could help me write a data plugin for XML! since you have already worked on one!  

cheers! 

0 Kudos
Message 6 of 6
(4,985 Views)