I know its simple, but I don't know which output to use to save the data, and how to capture it.
txtAIValue0.Text = "0x" + iVals(0).ToString("X04")
is it this one?, or
RefreshValue(txtAIValue0, status(0), fVals(0), m_byRange(0))
I need just an example on one channel. How to forward that output from every 500ms to StreamWriter.