University of Hertfordshire UNIVERSITY OF HERTFORDSHIRE Faculty of Engineering & Information Sciences Department of Engineering and Informa
University of Hertfordshire 3 The objectives of this project were: Create client software to control the Spectrum Analyser via the Inte
University of Hertfordshire 4 Chapter Two: System Specification
University of Hertfordshire 5 nVidia: GeForce 4, GeForce FX Matrox: G450/G550 ISA plug & play cards ISA plug & play cards may h
University of Hertfordshire 6 2.1.3 HP 8591 EM Spectrum Analyser HP 8591 EM Spectrum Analyser is provided in the Telecommunication Lab (D4
University of Hertfordshire 7 Displayed Average Noise Level: 400 kHz to 1 GHz 30 Hz RBW 1 kHz RBW
University of Hertfordshire 8 The details about HP 8591 EM Spectrum Analyser commands are given in section 6.1. 2.1.4 GPIB Card Specification T
University of Hertfordshire 9 2.2 Software Specification 2.2.1 Server Software Specification Operating System: SUSE Linux ver 8. Program Complie
University of Hertfordshire 10 Chapter Three: Project Environment Selection
University of Hertfordshire 11 Buffer cache: a memory area reserved to buffer inputs and outputs from different processes, Demand paging memory ma
University of Hertfordshire 12 Linux is secure and versatile: The security model used in Linux is based on the UNIX idea of security, which is
University of Hertfordshire A declaration statement as follows: I certify that the work submitted is my own work and that any material derived or
University of Hertfordshire 13 Linux is free: Is it a disadvantage? But most of people will ask the question, is an Open Source and free product tru
University of Hertfordshire 14 serve as the base on which the language’s functionality is built. You might think that a language with m
University of Hertfordshire 15 3.4 GPIB Card Selection Three GPIB Cards are available in Telecommunication Laboratory (D416) of the Unive
University of Hertfordshire 16 programmable. It has automatic initialization. Interface parameters are set to default automatically when
University of Hertfordshire 17 Figure 3.1 Design of sgpib driver Figure 3.2 Data Flow of sgpib driver (Karrer, 1999)
University of Hertfordshire 18 Advantages of sgpib driver No configuration needed (except io/irq for ISA-Version) No insmod needed for embedded
University of Hertfordshire 19 Chapter Four: COMMUNICATION
University of Hertfordshire 20 quickly gained popularity, because of its high transfer data rate (nominally 1 bytes/s). In 1975, it was later accepted
University of Hertfordshire 21 Figure 4.2 IEEE 488.1 Shake Hands (GPIB Tutorial, 2000) 4.2.5 Bus properties Up to 15 instruments, called dev
University of Hertfordshire 22 The TCP/IP protocol suite comprises two protocols that correspond roughly to the OSI Transport and Session Layers; t
University of Hertfordshire I ABSTRACT
University of Hertfordshire 23 Application Reliable Stream (TCP) User Datagram (UDP) Internet Protocol (IP) Network Interface Figure 4.3 The conceptu
University of Hertfordshire 24 Chapter Five: SYSTEM SETTING
University of Hertfordshire 25 5.1.2 I/O Base Address and Wait State Setting The I/O ports base address and the numbers of wait states are
University of Hertfordshire 26 5.1.3 Operating Mode Setting SW3 is set to select operating mode. When it is set to “A”, this card is
University of Hertfordshire 27 Jumper/Switch Selection Default setting SW1 1-5 I/O port base address Hex 2B0 SW1 7-8 Wait states 0 SW2 Firmware
University of Hertfordshire 28 Chapter Six: SPECTRUM ANALYSER CONTROL
University of Hertfordshire 29 NR (next right) moves the active marker to the next signal peak of higher frequency. NL (next left) moves the active ma
University of Hertfordshire 30 The setting of the MDS command determines whether the trace data is transferred as one or two 8-bit bytes. TDF M TDF M
University of Hertfordshire 31 MTA: Set Controller to Talker MLA: Set Controller to Listen REN: Remote Enable TALK <adr>: Set device
University of Hertfordshire 32 To set the Start Frequency c460-00:~ # echo “MTA LISTEN 18 DATA ‘FA 100MZ’”| cat -> /dev/gpib0 or shortcut as: c460
University of Hertfordshire II ACKNOWLEDGEMENT
University of Hertfordshire 33 ID is a Spectrum Analyser command used to ask Spectrum Analyser return model number to controller, this
University of Hertfordshire 34 The trace displayed on the Spectrum Analyser screen is shown below: Figure 6.1 the spectrum plotted on the Spectrum A
University of Hertfordshire 35
University of Hertfordshire 36 SOCK_SEQPACKET: Only used in AF_NS protocol SOCK_RDM: Not implemented The third argument is the protocol number. bind
University of Hertfordshire 37 send & recv #include<sys/types.h> #include<sys/socket.h> int send(int socket, void *buf, int buf_len,
University of Hertfordshire 38 sin.sin_port = htons(8000); // port equal to 8000 To bind the new socket to port 8000: bind(sock_descriptor, (struct s
University of Hertfordshire 39 In this chapter, the conclusion is drawn. The achievements and the problems author met during the project p
University of Hertfordshire 40 Internet. The following are the achievements: Comparison and selection of Operating System, programming lan
University of Hertfordshire 41 install -o root -g root -m 755 gpib.o /lib/modules/$$REL/kernel/misc; install -o root -g root -m 755 kpci.o /lib/mo
University of Hertfordshire 42 REFERENCES
University of Hertfordshire III CONTENTS
University of Hertfordshire 43 8590 Series Programming Compatibility Guide (April 2001) [Online], [Accessed 25th May 2004]. Available from: <http:/
University of Hertfordshire 44 [online], [accessed 24th June 2004]. Available from: <http://support.elmark.com.pl/Advantech/Icom/Pclhttp://suppor
University of Hertfordshire 45 Aitken, P. & Jones, B. L. (1997) Teach Yourself C in 21 Days (4th ed). Indiana: SAMS. Chen, C. (2002) C++ Builder
University of Hertfordshire 46 V_ID=-11144.0.00&LANGUAGE_CODE=eng&CONTENT_KEY=1000000379-1%3aepsg%3aman&COUNTRY_CODE=US&CONTENT_TYPE=A
University of Hertfordshire 47 #include <stdio.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #incl
University of Hertfordshire 48 else if (buf=="ID?"){ system ("echo \"SEND 18 \'ID?\'\"| cat - > /de
University of Hertfordshire
University of Hertfordshire IV 4.2.4 IEEE 488 Shake Hands…………………………………………………………………20 4.2.5 Bus Properties…………………………………………………………………………..21 4.3 Commun
University of Hertfordshire V LIST OF FIGURES
University of Hertfordshire 1 Chapter One: INTRODUCTION
University of Hertfordshire 2 Internet applications, such as Web and this project, are based on the concept of client/server architectur
Komentáře k této Příručce