04-18-2018 08:49 AM - edited 04-18-2018 08:50 AM
Hi. I am sungbae chi
Can anyone explain for me how I can make an array using script? I want know syntax to make.
ex) Make an string array into group2 channel1
Like this
How should I write in script file? I can't find any 'copy as script' functions.
Solved! Go to Solution.
04-18-2018 09:04 AM
Is it this you are looking for?
Option Explicit data.Root.Clear dim grpO : set grpO = data.Root.ChannelGroups.Add("Group") dim chO : set chO = grpO.Channels.Add("Channel1",DataTypeChnString) dim i : for i = 1 to 10 chO.Values(i) = "D" & i Next
04-18-2018 07:41 PM
Hi AndreasK
That's exactly what I want. Thank you for quick response.
Sungbae chi.