EasyManuals Logo

HP 1670A Series User Manual

HP 1670A Series
108 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #64 background imageLoading...
Page #64 background image
Programming
the
Logic
Analyzer
To
write
programs
that
open
the
command
parser
socket
/*
Create
an
endpoint
for
corrununication
*/
sockfd
=
socket(
AF_INET,
SOCK_STREAM,
0 ) ;
/*
Initiate
a
connection
on
the
created
socket
*/
connect(
sockfd,
( tdSOCKET_ADDR *
)&serv_addr,
sizeof
/*
Send
a
message
from
the
created
socket
*/
send
(
sockfd,
cmdString,
strlen
(
cmdString),
0
);
/*
Receive
a
message
from
the
165008
socket
*/
serv_addr
recv
(
sockfd,
receiveBuffer,
sizeof
(
receiveBuffer
) , 0 ) ;
printf
(
"%s\n",
receiveBuffer
) ;
close
(
sockfd
) ;
) ;
5-13
I

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 1670A Series and is the answer not in the manual?

HP 1670A Series Specifications

General IconGeneral
BrandHP
Model1670A Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals