B
–
5
NET_CON Source Code
int TCP_ClearDevice(void)
{
if (sConnectedFlag != TRUE)
return -1;
TCP_Disconnect();
TCP_Connect(sCurrentAddress);
return 0;
}
int TCP_ReadDevice(char *buf, int len, int *recv_count)
{
TCP_HEADER header;
char tmpStr[512];
int result, accum, space_left, bytes_more, buf_count;
char *idxPtr;
fd_set rd_set = {1, {0}};
TIMEVAL tval;
if (sConnectedFlag != TRUE)
return -1;
*recv_count = 0;
if (buf==NULL)
return -1;
rd_set.fd_array[0] = hSocket;
tval.tv_sec = sTimeout;
tval.tv_usec = 0;
memset(buf, 0, len);
buf_count = 0;
Содержание LSA1000
Страница 2: ...Operator s Manual LeCroy LSA1000 Signalyst Revision B October 1998 ...
Страница 6: ...iii Contents ...
Страница 9: ...v Foreword ...
Страница 14: ...1 1 Read This First 1 ...
Страница 28: ......
Страница 29: ...2 1 2 About the LSA1000 ...
Страница 34: ...3 1 3 Installation and Safety ...
Страница 42: ...4 8 Connecting to PC or Network Example of responses for IDN and CONET queries ...
Страница 43: ...4 1 4 Connecting to PC or Network ...
Страница 55: ...5 12 LSA1000 Software Tools Remote LSA display of LSA1000 s External Reference Out Waveform ...
Страница 63: ...5 20 LSA1000 Software Tools ...
Страница 66: ...5 1 5 LSA1000 Software Tools ...
Страница 72: ......
Страница 73: ...A 1 A Appendix A Specifications ...
Страница 83: ......
Страница 84: ...B 1 Appendix B NET_CON Source Code B ...
Страница 96: ......
Страница 97: ...C 1 C Appendix C Parameter Measurement ...
Страница 104: ...D 1 D Appendix D Program Examples ...
Страница 107: ...E 1 E Appendix E Suggestion Forms ...
Страница 108: ...Index ...
Страница 109: ......
Страница 114: ...Index ...