DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Insert same value to text channels with Diadem function

Solved!
Go to solution

Hi,

i got a text channel with 50 rows and i would like to set all values to empty string "". I found function "DataBlInsertVal", but its not for text channels. So i found function "ChnAreaInsert0", this insert zeto value.

Can you please tell me which function i can use. I dont want to iterate through each row and set it, some function to specify start row, number of records AND THE VALUE could be good, im sure there is some, but i cant find it in the sea of fuctions.

Does this function exists?

Thanks

0 Kudos
Message 1 of 3
(2,864 Views)
Solution
Accepted by topic author Lukas_Doubek

Hi Lukas,

 

If you have DIAdem 2015 or later, you can use the Channel.SetValues() command:

 

Set Group = Data.Root.ChannelGroups(1)
Set Channel = Group.Channels(1)
Call Channel.SetValues("", 1, 50, eValueBlockValueOverwrite)

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 2 of 3
(2,832 Views)

Thank you for help Brad .)

0 Kudos
Message 3 of 3
(2,826 Views)