Publisher: O'Reilly Media Released: November 2010 Pages: 624
Learn how to develop your own applications to monitor or control instrumentation hardware. Whether you need to acquire data from a device or automate its functions, this practical book shows you how to use Python's rapid development capabilities to build interfaces that include everything from software to wiring. You get step-by-step instructions, clear examples, and hands-on tips for interfacing a PC to a variety of devices. Use the book's hardware survey to identify the interface type for your particular device, and then follow detailed examples to develop an interface with Python and C. Organized by interface type, data processing activities, and user interface implementations, this book is for anyone who works with instrumentation, robotics, data acquisition, or process control. - Understand how to define the scope of an application and determine the algorithms necessary, and why it's important
- Learn how to use industry-standard interfaces such as RS-232, RS-485, and GPIB
- Create low-level extension modules in C to interface Python with a variety of hardware and test instruments
- Explore the console, curses, TkInter, and wxPython for graphical and text-based user interfaces
- Use open source software tools and libraries to reduce costs and avoid implementing functionality from scratch
|
-
Chapter 1 Introduction to Instrumentation -
Data Acquisition -
Control Output -
Applications Overview -
Summary -
Chapter 2 Essential Electronics -
Electrical Charge -
Electric Current -
Basic Circuit Theory -
Circuit Schematics -
DC Circuit Characteristics -
AC Circuits -
Interfaces -
Summary -
Suggested Reading -
Chapter 3 The Python Programming Language -
Installing Python -
The Python Programming Language -
Python Development Tools -
Summary -
Suggested Reading -
Chapter 4 The C Programming Language -
Installing C -
Developing Software in C -
C Development Tools -
Summary -
Suggested Reading -
Chapter 5 Python Extensions -
Creating Python Extensions in C -
Python’s C Extension API -
Using the Python C Extension API -
Python’s ctypes Foreign Function Library -
Summary -
Suggested Reading -
Chapter 6 Hardware: Tools and Supplies -
The Essentials -
Advanced Tools -
Supplies -
New Versus Used -
Summary -
Suggested Reading -
Chapter 7 Physical Interfaces -
Connectors -
Serial Interfaces -
GPIB/IEEE-488 -
PC Bus Interface Hardware -
Old Doesn’t Mean Bad -
Summary -
Suggested Reading -
Chapter 8 Getting Started -
Defining the Project -
Requirements -
Designing the Software -
Functional Testing -
Implementation -
User Documentation -
Summary -
Suggested Reading -
Chapter 9 Control System Concepts -
Basic Control Systems Theory -
Control System Types -
Implementing Control Systems in Python -
Summary -
Suggested Reading -
Chapter 10 Building and Using Simulators -
What Is Simulation? -
Using Python to Create a Simulator -
Serial Terminal Emulators -
Displaying Simulation Data -
Creating Your Own Simulators -
Summary -
Suggested Reading -
Chapter 11 Instrumentation Data I/O -
Data I/O Interface Software -
Data I/O: Acquiring and Writing Data -
Summary -
Suggested Reading -
Chapter 12 Reading and Writing Data Files -
ASCII Data Files -
Binary Data Files -
Summary -
Suggested Reading -
Chapter 13 User Interfaces -
Text-Based Interfaces -
Graphical User Interfaces -
Summary -
Suggested Reading -
Chapter 14 Real World Examples -
Serial Interfaces -
USB Example: The LabJack U3 -
Summary -
Suggested Reading -
Appendix Free and Open Source Software Resources -
Appendix Instrument Sources -
Manufacturers -
Used Test Equipment Sources -
Manuals -
Colophon |
- Title:
- Real World Instrumentation with Python
- By:
- John M. Hughes
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- November 2010
- Ebook:
- November 2010
- Pages:
- 624
- Print ISBN:
- 978-0-596-80956-0
- | ISBN 10:
- 0-596-80956-5
- Ebook ISBN:
- 978-0-596-80958-4
- | ISBN 10:
- 0-596-80958-1
|
-
John M. Hughes John M. Hughes is an embedded systems engineer with over 30 years of experience in electronics, embedded systems and software, aerospace systems, and scientific applications programming. He was responsible for the surface imaging software on the Phoenix Mars Lander, and has worked on digital engine control systems for commercial and military aircraft, automated test systems, radio telescope data acquisition, and realtime adaptive optics controls for astronomy. Hughes has been using Python for many years in a variety of applications, including the software for a multiwavelength laser interferometer system for verifying the alignment of telescope mirror segments on the James Webb Space Telescope. He is currently using Python for imaging systems simulation and analysis at the University of Arizona. View John M. Hughes's full profile page. |
Colophon The animal on the cover of Real World Instrumentation with Python is a hooded crow (Corvus cornix). Known also as a Scotch crow, a Danish crow, a Grey crow, and a Corbie, the bird enjoys a wide distribution across Europe and the Middle East. Because the hooded crow is so similar to the common carrion crow, the two were previously considered to be of the same species. As of 2002, however, Brân Lwyd (as it is known in Welsh) has enjoyed full species status, and has four recognized subspecies. The hooded crow’s plumage is mostly ash gray, though it sports glossy black feathers on its wings, tail, and especially on its head and throat, giving the appearance of the hood for which the animal is named. When full grown, the birds average a wingspan of 98 cm, and can measure from 48 to 52 cm in length. Like the carrion crow with which it is closely associated, the hooded crow is an omnivorous scavenger. It is known for stealing eggs from the nests of other bird species, and in costal regions will drop mollusks and crabs from a height in order to break them open. The image of a hooded crow holds special significance in traditional Celtic folklore, and it is associated with fairies in the Scottish highlands and in Ireland. During the 18th century, Scottish shepherds were known to make offerings to the animals to prevent them from attacking their sheep. Elsewhere, a maiden on the Faroe Islands of Denmark would watch the flight of the hooded crow on the morning of Candlemas to determine the provenance of her future husband. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Joe Kissell
October 2010
By Dan Pilone
July 2010
Video: Was: $19.99 Now: $9.99
By Baron Schwartz, Morgan Tocker
July 2010
Video: Was: $99.99 Now: $49.99
|
Customer Reviews
|
|
|