Skip to main content
Skip table of contents

4.10 - AIStreamClear [U12 Datasheet]

This function stops the continuous acquisition. It should be called once when finished with the stream. The sequence of calls for a typical stream operation is: AIStreamStart, AIStreamRead, AIStreamRead, AIStreamRead, …, AIStreamClear.

Note that you must pass the actual localID to this function, not the idnum parameter used for most functions. Usually you simply pass the value returned by the idnum parameter in AIStreamStart.

Declaration:

long AIStreamClear ( long localID )

Parameter Description:
Returns: LabJack errorcodes or 0 for no error.
Input:

  • localID – Send the local ID from AIStreamStart/Read.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.