![Agilent Technologies 1670E Series Скачать руководство пользователя страница 544](http://html1.mh-extra.com/html/agilent-technologies/1670e-series/1670e-series_user-manual_2867828544.webp)
544
Programming the Logic Analyzer Using the LAN
Programming the Logic Analyzer Using the LAN
To write programs that open the command
parser socket
The command parser socket of the logic analyzer is 5025.
Connection to the command parser socket is, by definition, a control
user connection. Because only one control user connection is allowed,
you will not be able to open the command parser socket if someone
else is accessing the logic analyzer’s file system as the control user.
Example
The following C program opens a socket and sends the *IDN query
command to request the instrument’s identity.
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
typedef struct sockaddr_in tdSOCKET_ADDR;
#define PARSER_PORT 5025
#define SERV_HOST_ADDR "15.10.96.12"
#define PARSER_BUFFER_SIZE 100
char receiveBuffer[PARSER_BUFFER_SIZE],
*cmdString = { "*IDN?\r\n" };
main ()
{
int sockfd, port;
tdSOCKET_ADDR serv_addr;
char *addr;
/* Initialize a server socket */
port = PARSER_PORT;
addr = SERV_HOST_ADDR ;
serv_addr.sin_family = AF_INET;
serv_addr.sin_addr.s_addr = inet_addr ( addr );
serv_addr.sin_port = htons ( port );
Содержание 1670E Series
Страница 6: ...6 In This Book...
Страница 26: ...26 Contents...
Страница 27: ...27 Section 1 Logic Analyzer...
Страница 28: ...28...
Страница 29: ...29 1 Logic Analyzer Overview...
Страница 39: ...39 2 Connecting Peripherals...
Страница 49: ...49 3 Using the Logic Analyzer...
Страница 72: ...72 Using the Logic Analyzer The Inverse Assembler...
Страница 73: ...73 4 Using the Trigger Menu...
Страница 101: ...101 5 Using the Oscilloscope...
Страница 151: ...151 6 Using the Pattern Generator...
Страница 199: ...199 7 Triggering Examples...
Страница 237: ...237 8 File Management...
Страница 249: ...249 9 Logic Analyzer Reference...
Страница 360: ...360 Logic Analyzer Reference The Compare Menu...
Страница 361: ...361 10 System Performance Analysis SPA Software...
Страница 397: ...397 11 Logic Analyzer Concepts...
Страница 422: ...422 Logic Analyzer Concepts The Analyzer Hardware HP 1660E ES EP series analyzer theory HP 1660EP logic analyzer board...
Страница 426: ...426 Logic Analyzer Concepts The Analyzer Hardware Logic acquisition board theory Logic acquisition board...
Страница 430: ...430 Logic Analyzer Concepts The Analyzer Hardware Oscilloscope board theory Oscilloscope board...
Страница 439: ...439 12 Troubleshooting the Logic Analyzer...
Страница 455: ...455 13 Specifications...
Страница 471: ...471 14 Operator s Service...
Страница 479: ...479 Operator s Service Troubleshooting Troubleshooting Flowchart 2...
Страница 491: ...491 Section 2 LAN...
Страница 492: ...492...
Страница 493: ...493 15 Introducing the LAN Interface...
Страница 497: ...497 16 Connecting and Configuring the LAN...
Страница 506: ...506 Connecting and Configuring the LAN Connecting and Configuring the LAN...
Страница 507: ...507 17 Accessing the Logic Analyzer File System Using the LAN...
Страница 515: ...515 18 Using the LAN s X Window Interface...
Страница 527: ...527 19 Retrieving and Restoring Data Using the LAN...
Страница 539: ...539 20 Programming the Logic Analyzer Using the LAN...
Страница 546: ...546 Programming the Logic Analyzer Using the LAN Programming the Logic Analyzer Using the LAN...
Страница 547: ...547 21 LAN Concepts...
Страница 555: ...555 22 Troubleshooting the LAN Connection...
Страница 580: ...580 Troubleshooting the LAN Connection Getting Service Support...
Страница 581: ...581 Section 3 Symbol Utility...
Страница 582: ...582...
Страница 583: ...583 23 Symbol Utility Introduction...
Страница 588: ...588 Symbol Utility Introduction Symbol Utility Introduction...
Страница 589: ...589 24 Getting Started with the Symbol Utility...
Страница 597: ...597 25 Using the Symbol Utility...
Страница 609: ...609 26 Symbol Utility Features and Functions...