device proxy can not read a pipe
|
|
---|---|
Hello,
I try to write data to pipe and then read it from the pipe.But it seems to have some trouble when read pipe. I don't know what's wrong. Thanks! wT |
|
|
---|---|
Hi, It seems that your code is for a client. IN your post, you wrote that you have some trouble with this client code. Which kind of troubles? Do you receive exceptions? If yes, what kind of exception? Regards Emmanuel |
|
|
---|---|
ManuHi,Manu This is my code read_mypipe I didn't write any code in read_mypipe function. I think if I write some data into a pipe and then I can read the data from it.So I think even though read_mypipe function is empty,I can also read data from the pipe(I have write the data to the pipe before).Is my idea right?Thanks! wT |
|
|
---|---|
Hello, Please read these chapters in the Tango doc
Regards Emmanuel |
|
|
---|---|
ManuThanks for your reply! Actually,I have read these chapters before,but I didn't read carefully in 3.3.3.I have just reread 3.3.3,I have learned that pipe's difference with commands and attributes is just the kind and number of data exchanged between the client and the device. It always let me think about the concept of pipe of Linux process communication before. wT |