/*
Problem is solved now. the reason is: there is one thread is created and concurrently operated with my reading process, with the function is to signal that the computer is ready for the reading process or not yet. If this thread is not operated one of its "key step" about signalling before my reading function, the main software will not able to do the reading process ===> it stops !
I simply make the computer sleeps for 1 micro-second before reading process start===> problem is solved.
*/
Dear all,
I wrote a C++ software, which is a data readout from a hardware modules to PC via Gigabit Ethernet.
I have a problem with executing software when direct log in to Linux computer. This is the case:
- When I log in the computer from another one via the ssh command, I can execute my software successfully: the PC can access to the module and read out data.
- When I log in the computer directly, I cannot execute my software successfully: PC can access to the module but usually cannot read data out (just a few times, it can read data out).
This is a strange behavior to me! I discussed with my lab mates, they just have problems if they login with ssh but everything is normal when direct login.
Of course, I want my software can be executed when directly login or via ssh.
Is there anybody experienced this problem?
I wish for sharing experiences and giving suggestions & advises.
Thanks a lot.