add value to channel


Recommended Posts

I have some channels with name are ACQUI1, 2, 3, ....8. From a sequence, I send command to my device and read return result. With each result, I will put it to a channel (ex: result1 for acqui1, ...). I use below code to execute:

private string strChannel

global i

for (i = 1, i < 9, i++)

strChannel = "ACQUI" + i

strChannel.AddValue(result)

endfor

but it doesn't work. Please help me.

Thanks in advance.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.