Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I read and write the serial port?

perlfaq8
This depends on which operating system your program is running on. In the case of Unix, the serial ports will be accessible through files in /dev; on other systems, device names will doubtless differ. Several problem areas common to all device interaction are the following: lockfiles Your system may use lockfiles to control multiple access. Make sure you follow the correct protocol. Unpredictable behavior can result from multiple processes reading from one device.
Related Questions

How do I read from and write to serial ports?

perlwin32faq8 - General programming
You should be able to read from and write to the file handle using the standard I/O functions (read() and print()), but not the system functions (sysread() and syswrite()). It has been noted (but not tested) that modems that use the Hayes command set require a carriage return (\r) rather than a line feed (\n) at the end of the command.
Related Questions

What is the serial or COM port?

Diabetes Assistant? Program Frequently Asked Questions
This is a communication port on the back of the computer where your cable will plug into the computer.
Related Questions

Will the SignaLink work with my new computer that doesn't have a serial port?

SignaLink FAQ
Yes, because the SignaLink doesn't require a connection to the computer's serial port! Unlike other interfaces, the SignaLink never requires a serial port connection. This is particularly handy if your computer doesn't happen to have one! In addition to simplifying your installation, this feature also reduces the likelihood of the computer's RF noise getting into your radio. It also eliminates serial port related transmit problems that plague other interfaces.
Related Questions

Where is the serial port on my computer?

Qwest.net -- FAQs -- Additional FAQs -- FAQs on Converting t...
The serial port should be located on the back of your computer. An example of a serial port image is provided here.
Related Questions

How can I read and write from a database?

FAQ - iMacros
Database integration is very easy with iMacros thanks to its powerful Scripting Interface. iMacros can connect to any Windows database, for example Access or SQL Server, but also MySQL. The Scripting Interface can be used from any Windows programming or scripting language like Excel VBA, Foxpro, Perl, C, C++, Java with no problems. Please see the following example scripts: "extract-2-file.vbs" (uses wsh-extract-and-fill-part1 and wsh-extract-and-fill-part1 macros) "extract-2-database.
Related Questions

How do I use Read and Write software?

Ohio State University Libraries: Frequently Asked Questions
Read & Write is a program designed to provide help for reading and writing. It is available on library computers in OSU Columbus campus libraries, excluding Health Sciences and Law libraries. To use Read & Write see the instructions prepared by the Office for Disability Services.
Related Questions

Can applets read or write files?

Applet Security
In Java-enabled browsers, untrusted applets cannot read or write files at all. By default, downloaded applets are considered untrusted. There are two ways for an applet to be considered trusted: The applet is installed on the local hard disk, in a directory on the CLASSPATH used by the program that you are using to run the applet. Usually, this is a Java-enabled browser, but it could be the appletviewer, or other Java programs that know how to load applets.
Related Questions

How can I read or write to a USB port on a PC?

USB Developers FAQ
A USB port is very different from a PC's parallel or serial port. Each parallel and serial port has a series of port addresses that are unique to that port. With an appropriate driver, an application can read and write to these port addresses. A USB port is a port on a shared bus. The ports do not have unique port addresses as parallel and serial ports do. Traffic sent to a single device typically appears at multiple ports.
Related Questions

Q9.2: Can I use MATLAB to interface to an RS232 serial port?

Frequently asked questions about MATLAB
If you are still using MATLAB 5.x, you might find something on this page: http://www.mathworks.com/matlabcentral/fileexchange/Category.jsp?type=category&id=34
Related Questions

Q#8.15: Why do I get errors when trying to access the (modem/serial) port?

news.answers/apple2/GNO-faq
A#8.15: This is usually caused by serial port configuration problems. Common symptoms may be: % copycat .ttyco .ttya Error opening tty .ttya, aborting. or % /usr/sbin/getty 8bit.38400 .ttya getty: .ttya: I/O error The first thing to check is that the following GNO serial port drivers exist: /dev/modem /dev/printer Next, ensure the following two lines are in your /etc/tty.config file, and that they are uncommented: modem 2 .ttya printer 1 .
Related Questions

I don't have a Serial Port on my laptop. Do you have a USB cable?

Marathon Products Frequently Asked Questions
I've connected the USB to Serial adapter but it's on Com Port 5 (or higher) and your software only has Ports 1-4. This issue applies to the c\temp software only. This has been resolved with the new version of the MDAS-Pro software. If you do not have a copy of this software, please contact us.
Related Questions

Which multi-port serial cards are supported by FreeBSD?

Frequently Asked Questions for FreeBSD 2.X, 3.X and 4.X
Some unnamed clone cards have also been known to work, especially those that claim to be AST compatible. USB device support was added to FreeBSD 3.1. However, it is still in preliminary state and may not always work as of version 3.2. If you want to experiment with the USB keyboard support, follow the procedure described below. Add the following lines to your kernel configuration file, and rebuild the kernel.
Related Questions

How do I switch my console to serial port?

NetBSD/dreamcast Frequently Asked Questions
Remove the “pvr” driver from your kernel configuration, rebuild your kernel, and you'll automatically fall back to serial console.
Related Questions

My Personal Computer doesn't have a serial port?

FAQ Dyno46 Racing Performance
There are new laptops without serial port, but a RS232-USB adaptor can be used to connect the IDE-Series to PCs. This adaptor creates a virtual COM port that can be selected on the program to work with the unit as usual. Theoretically any RS232-USB adaptor will work with this device, requirements are 9,600 baud transfer. We can supply a well-tested adaptor if you can not find a suitable one.
Related Questions

What to do when the PC does not have a SERIAL port?

Crucible Fitness | Ergomo Powermeter Dealer
You will need to buy a USB/SERIAL port adapter. In the USA, the best one is the KEYSPAN -19HS adapter. The most important thing is to install the KEYSPAN software FIRST and then make sure the adapter can talk to your PC computer. Note which COM port your USB adapter software uses and change this in ergoRacer software when needed. There is a very specific ?order? to plugging in the adapter in order to get it to talk to the PC and ErgoRacer.
Related Questions

What if I don't have a serial port available?

ITRANS™ - Continovation Services Inc.
If you don't have a serial port available but do have a USB port available you can purchase a serial to USB adapter that will look something like the following:
Related Questions

How do I access the serial (RS232) port?

Python Library and Extension FAQ
For Unix, see a Usenet post by Mitch Chapman: http://groups.google.com/groups?selm=34A04430.CF9@ohioee.com
Related Questions

How can I do serial (''comm'') port I/O?

System Dependencies
It's system-dependent. Under Unix, you typically open, read, and write a device file in /dev, and use the facilities of the terminal driver to adjust its characteristics. (See also questions 19.1 and 19.2.) Under MS-DOS, you can use the predefined stream stdaux, or a special file like COM1, or some primitive BIOS interrupts, or (if you require decent performance) any number of interrupt-driven serial I/O packages.
Related Questions

What is the virtual serial port?

FAQs : Single & Dual Frequency GPS, GPS Accuracy: NovAtel In...
It allows the application to interface to the GPS receiver through the same interface (commands and logs) as an external controller would through a physical com port.
Related Questions

What is a serial port and how do I check if I have one?

ACT LABS - Product FAQ Answers
The serial port is a 9-pin D shaped connector, similar to the video connector except with less pins. Usually, there are two on a PC. One may possibly be in use by the mouse (mainly on older machines). They are also referred to as Com ports or Communications ports. They are identified in Windows as Com1, Com2 etc. Look in the device manager under "ports" and you will see if you have any set up - if not, you may have to enable them in you motherboard's bios via the CMOS setup utility.
Related Questions

Question: What are the serial port pinouts?

All you need to know about remote power switching.
Answer: Three serial ports are provided. One can be used for external control from a modem or other serial device. The other ports can connect to managed serial devices (such as routers, PCs, servers, or other RS-232 devices). Port 3 is the default control port. Ports 1 & 2 use the PC standard DTE pinout, with RXD on pin 2, and TXD on pin 3 of the male DB-9. Port 3 has TXD on pin 2, and RXD on pin 3 of the female DB-9. Port 3 offers hardware handshaking; ports 1 & 2 do not .
Related Questions

Is there a serial port driver for Erlang?

Frequently Asked Questions about Erlang
Johan Bevemyr wrote one which works for unix machines. The code is freely available at the contributions area as serial-1.0. There have been discussions on the mailing list about writing a more general driver which also works on windows machines. Nothing much has come of this (lack of interest?).
Related Questions

What is serial port pass through?

Extron Frequently Asked Questions
Serial port pass through was developed by Extron for the IPL T S2, IPL T S4, IPL T SF24, and IPL T SFI244 Ethernet control interfaces. Serial port pass through allows data on one COM port to be redirected, or passed through, to another COM port. One common application of this feature is to retrofit and network enable existing control systems.
Related Questions

Is there a second serial port I can use?

I-Opener FAQ
The 10-pin header next to the dip switches is a 2nd serial port. You can hook this up to your PC's serial port (with a null modem), and get connectivity that way, utilizing the 'qtalk' app on the i-opener. This seems to support zmodem, but the i-opener doesn't seem to have the sz/rz binaries. If it did (or if you can find/FTP them), it might make an easy way to transfer files to/from your PC.
Related Questions

How can I read/write structs from/to data files?

Infrequently Asked Questions in comp.lang.c
Loop with putchar. Be careful; if your machine uses signed chars by default, all of the sign bits in your structure elements will be reversed. [a]
Related Questions

Q10: How do I check out a module with read-write access?

CDCVS FAQ
business for the checked out module. You shouldn't have to type it again to do updates, commits, etc.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact