
|
Serial Port When you use the serial port VIs under Windows, the port number
parameter can have the following values:
0: COM1 5: COM6 10: LPT1
1: COM2 6: COM7 11: LPT2
2: COM3 7: COM8 12: LPT3
3: COM4 8: COM9 13: LPT4
4: COM5
On the Macintosh, port 0 is the modem, using the drivers .ain
and .aout. Port 1 is the printer, using the drivers.bin and .bout.
To get more ports on a Macintosh, you must install other boards,
with the accompanying drivers.
On SunOS, the default mapping for port numbers is /dev/ttya, /dev/ttyb,
and so on.
On Solaris, the default mapping for port numbers is /dev/cua/a,
/dev/cua/b, and so on.
On HPUX, the default mapping for port numbers is /dev/tty00, /dev/tty01,
and so on. NOTE that these defaults work for HPUX 9.x but don't
work for HPUX 10.x. Use the serialDevices preference in your
preferences file to adjust the names. On HPUX 10.x the built-in
serial ports are usually named /dev/tty0p0 and /dev/tty1p0.
On Cuncurrent, the default mapping for port numbers is /dev/console,
/dev/tty1, /dev/tty2, and so on.
|