Script Help-object is not iterable error

Take a look at the “Dataset” section of the “Working with different Datatypes” section of the manual:

https://ignition.cimarex.com/main/system/help/working_with_different_datatyp.htm?zoom_highlightsub=dataset

The error is because you are trying to iterate through a dataset and a dataset is not iterable.

There are some steps you can take to iterate through the rows and columns however. I copied the code below directly from the manual.

[code]

Pull the dataset property off a Table component

data = event.source.getComponent(“Table”).data

for row in range(data.rowCount):
for col in range(data.columnCount):
print data.getValueAt(row, col)[/code]