Hello,
I’m trying to make a simple for loop with the range equivalent of the number of rows in a dataset. I can’t seem to get the syntax correct. This is what I’ve tried so far:
DataSetTag = '[default]Folder/Tag1`
for x in range(len(system.tag.read(DataSetTag))):
print x
for x in range(len(system.tag.read(DataSetTag).value)):
print x
for x in range(data.getRowCount(DataSetTag)):
print x
I assume this is really simple to solve, any help is appreciated.
Thank you