Hi Alex_SI,
ChnFind returns the row where the condition is true for the first time. This can be used to get channel content of other channels. Here is a more formalized example for this request.
dim oSourceChn, oSearchChn, iIndex
set oSourceChn = Data.GetChannel("[1]/Speed")
set oSearchChn = Data.GetChannel("[1]/Time")
dim sFormula, aSymbol(2), aValues(2)
sFormula = "A >= B"
aSymbol(1) = "A"
aSymbol(2) = "B"
Set aValues(1) = oSourceChn
aValues(2) = 30
iIndex = ChnFind(sFormula, 1, aSymbol, aValues)
if iIndex > 0 then
msgbox oSearchChn(iIndex)
end if
Greetings
Walter