E embedded Active Member Licensed User Longtime User May 22, 2023 #1 I am working on a datalogger Project...where data is coming from serial port...and it is logged into SD CARD...Here everything is ok. Now I want to transfer this file to B4J Using TCP Client. Serial is also intilize with asyncstreams....and new socket connect is also initilize with asyncstreams.....Now my question is can we use two asyncstreams in one project with name astream1 & astream2. i do this but not getting expected result. when only one is Initialized...it workis i am able to transfer the file to B4J. please help.
I am working on a datalogger Project...where data is coming from serial port...and it is logged into SD CARD...Here everything is ok. Now I want to transfer this file to B4J Using TCP Client. Serial is also intilize with asyncstreams....and new socket connect is also initilize with asyncstreams.....Now my question is can we use two asyncstreams in one project with name astream1 & astream2. i do this but not getting expected result. when only one is Initialized...it workis i am able to transfer the file to B4J. please help.
Erel B4X founder Staff member Licensed User Longtime User May 23, 2023 #2 You can use two asyncstreams. Make sure that the StackBufferSize is large enough. Upvote 0
E embedded Active Member Licensed User Longtime User May 23, 2023 #3 Erel said: You can use two asyncstreams. Make sure that the StackBufferSize is large enough. Click to expand... Thanks EREL....TRYING Upvote 0
Erel said: You can use two asyncstreams. Make sure that the StackBufferSize is large enough. Click to expand... Thanks EREL....TRYING
E embedded Active Member Licensed User Longtime User May 23, 2023 #4 Both are not working Same time....only one is activated at a time...now it is working...thanks EREL Upvote 0