DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

delete all values of a channel

Hi,
 
when i delete all values in a channel in data portal
 
Call DATABLDEL("/VS_Y",1,Chnlength(3))
 
it also deletes the name of the channel! how can i avoid this?
 
thanks in advance
 
kaan
0 Kudos
Message 1 of 3
(3,531 Views)

Hi kaan,

I think the reason is, that DIAdem 'think', if you delete all data of a channel you don't need that channel.

A workaround could be to re-create that channel with ChnAlloc

 

greets Andreas

Volkswagen AG
Wolfsburg - Germany
0 Kudos
Message 2 of 3
(3,520 Views)
Hi,

It is possible to set the channel length to zero:

Call ChnPropSet(3, "length", 0) ' Set length of channel 3 to zero

This is different from deleting, because usually the values are still there, but not valid anymore. You can get the values back by resetting the length. For normal operations, the channel should behave like a channel with the length of zero.
0 Kudos
Message 3 of 3
(3,501 Views)