Since you are using a thread, make sure each object belongs to the thread you think it belongs.
e.g. especially make sure that myStream->ADCPort is a child of myStream and is thus owned by the thread.
In general my recommendation would be to make it work without a thread first.
Cheers,
_
Bookmarks