Sponsored Content
Full Discussion: RS-232 C++ Programming
Top Forums Programming RS-232 C++ Programming Post 302152080 by WebKruncher on Tuesday 18th of December 2007 01:30:47 PM
Old 12-18-2007
Lots of tips

I just finished re-writing a cctv utility that does the whole ptz thing. The first cut was a trivial C utility. I built a C++ architecture that does the same thing, but it does it reliably. It is also very extensible, maintainable, flexible, self documenting, supplemented with srs and design docs, and is specialized at three levels to provide a solid foundation.

So, the first thing that I did was to set up a couple libraries. The first one is just a grab bag of basic tools. The second, a set of parameterized classes that provide stream specializations. These not only can work on every platform (with necessary specializations), but can be adapted to different types of com devices. The third library set up an abstract architecture to facilitate stream interactions. The final utility is a specialization of the abstract architecture, and defines specifically how to interact with the target device.

So, all of the generic work is handled using generic stuff. All the specializations are handled in the user code.

-Jmt
 

5 More Discussions You Might Find Interesting

1. HP-UX

XIO: fatal IO error 232 (Connection reset by peer) on X server "192.168.1.239:0.0"

Hi All... I'm newbie here..., i have problem when installing oracle9206, i use HPUX 11.11, i'm using Xmanager enterprise 2.1 for forwarding from server A to my laptop # export DISPLAY=192.168.1.239:0.0 # echo $DISPLAY output ==> 192.168.1.239:0.0 at the oracle directory, i execute ... (3 Replies)
Discussion started by: grimanda
3 Replies

2. UNIX for Dummies Questions & Answers

Carreer:Networking Programming in Unix (C programming Language)

Hello, I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies

3. AIX

Console Setup for RS-232 port on 9131-52A

Hi, I have tried to setup the console on a Power5 9131-52A type IBM Server. On the back there are 2 RS-232 ports labeled T1 T2. I am going under the assuming that these are the serial ports (Normally the serial ports are S1 S0). When I finish assigning the console under smit, I get no response... (3 Replies)
Discussion started by: mrmurdock
3 Replies

4. Programming

RS 232, CentOS 5.6, gcc 3.4.9

Hello! Can somebody help me with one problem. I write driver for I/o from COM port. That's the main code: #include <stdio.h> // standard input / output functions #include <string.h> // string function definitions #include <unistd.h> // UNIX standard function definitions #include <fcntl.h>... (0 Replies)
Discussion started by: alter_man
0 Replies

5. UNIX for Dummies Questions & Answers

From iOS programming to Linux system programming

Hello. I like Linux and C programming language. Allways wanted to understand kernel and become a Linux system programmer. And I also like Objective-C and iOS. These two programming areas have relations: 1. Linux and iOS are UNIX-like systems, POSIX compliant. 2. It is useful to know C language... (2 Replies)
Discussion started by: Rockatansky
2 Replies
AMDTEMP(4)						   BSD Kernel Interfaces Manual 						AMDTEMP(4)

NAME
amdtemp -- device driver for AMD K8, K10 and K11 on-die digital thermal sensor SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device amdtemp Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): amdtemp_load="YES" DESCRIPTION
The amdtemp driver provides support for the on-die digital thermal sensor present in AMD K8, K10 and K11 processors. For the K8 family, the amdtemp driver reports each cores' temperature through a sysctl node in the corresponding CPU devices's sysctl tree, named dev.amdtemp.%d.sensor{0,1}.core{0,1}. The driver also creates dev.cpu.%d.temperature displaying the maximum temperature of the two sensors located in each CPU core. For the K10 and K11 families, the driver creates dev.cpu.%d.temperature with the temperature of each core. BUGS
AMD K9 is not supported because temperature reporting has been replaced by Maltese. SEE ALSO
sysctl(8) HISTORY
The amdtemp driver first appeared in FreeBSD 7.1. AUTHORS
Rui Paulo <rpaulo@FreeBSD.org> Norikatsu Shigemura <nork@FreeBSD.org> BSD
April 8, 2008 BSD
All times are GMT -4. The time now is 08:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy