DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

gpi -> Reading values from text channels

Which Gpi Function must I use to find the length of a value in a text channel.
0 Kudos
Message 1 of 2
(2,981 Views)
Hi,

I have programmed a little example function, which allocates a text channel, sets the current length of this text channel, sets the first three values and gets the first three values of this text channel in a loop.

The code, which answers your question, is in the loop. At first I call the DIAdem function �nDataObjTextChannelValueGet� for a text channel value.

Please consider the third argument of this call. When the third argument is NULL the function returns the current length of a text channel value. If the return value unequal 0, I allocate memory for this text in a next step and get the text value with help of the function �nDataObjTextChannelValueGet�.

I hope it helps.

Thomas
0 Kudos
Message 2 of 2
(2,981 Views)