10-14-2008 04:36 AM
Hi, I am trying to do wifi communication through TCPIP programming.
Programme is as follows
1) Application has only one button in UI for write and read operation.
2) Calling DefaultRM, and viOpen in application main function. (viOpen (defaultRM, "TCPIP0::10.115.4.74::80::SOCKET", VI_NULL,
VI_NULL, &instr);)
3) Calling read and write function in button click event.
when I click button first time I can able to read and write through TCPIP. but when I click second time I get "Could not perform operation because of I/O error".
Application works fine( read and write ) if we are opening and closeing the communication channel in each click event ( means keeping open, read, write and close in click event).
But I want initialize DefaultRM, and viOpen in application main function and I want to perform read and write in click event without error.
Please help If anyone faced similar problem.
Regards
Manjunath.T.N
10-14-2008 07:13 AM - edited 10-14-2008 07:14 AM