![]() |
Symboles
des types de données Lab VIEW
|
![]() |
Bolléen |
![]() |
Entier non signé 32 bits |
![]() |
Entier 32 bits signé |
![]() |
Chaîne de caractères |
![]() |
Tableau de chaînes de caractères |
![]() |
Enregistrement de données |
![]() |
Chemin d'accès à un fichier |
![]() |
port number in | Port série sur lequel est connecté le calculateur voir ci-dessous | |
![]() |
port number out | Le port série (ce module de modifie pas cette valeur mais ce
mécanisme - in - out
a été utiliser pour simplifier les diagrammes) |
|
![]() |
error in | Enregistrement de gestion d'erreur de labVIEW | |
![]() |
status | = FALSE pas d'erreur
The status boolean is either TRUE (cross) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
![]() |
code | The code input identifies the error or warning reported.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed |
|
![]() |
source | The source string describes the origin of the error or warning reported.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
![]() |
error out | Le même enregistrement en sortie du module | |
![]() |
status | ||
![]() |
code | ||
![]() |
source |
![]() |
port number(com1)
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. |
![]() |
buffer size(1024)
buffer size indicates the size of the input and output buffers the VI allocates for communication through the specified port. If buffer size is less than or equal to 1 K, the VI uses 1 K as the buffer size. You may need to use larger buffers for large data transfers. |
![]() |
baud rate(9600)
baud rate is the rate of transmission. |
![]() |
data bits(8)
data bits is the number of bits in the incoming data. The value of data bits is between five and eight. |
![]() |
stop bits(1)
stop bits is 0 for one stop bit, or 1 for two stop bits. |
![]() |
parity(no)
parity is 0 for no parity, 1 for odd parity, or 2 for even parity. |
![]() |
flow control etc. |
![]() |
input XON/XOFF
XON/XOFF is a software handshaking protocol you can use to avoid overflowing serial port buffers. When the receive buffer is nearly full, the receiver sends XOFF (<controlS> [decimal 19]) to tell the other device to stop sending data. When the receive buffer is sufficiently empty, the receiver sends XON (<controlQ> [decimal 17]) to indicate that transmission can begin again. When you enable XON/XOFF, the devices always interpret <controlQ> and <controlS> as XON and XOFF characters, never as data. When you disable XON/XOFF, you can send <controlQ> and <controlS> as data. Do not use XON/XOFF with binary data transfers because <controlQ> or <controlS> may be embedded in the data, and the devices will interpret them as XON and XOFF instead of data. |
![]() |
input HW Handshake
Input HW Handshake. On the PC and SPARCstation, this parameter corresponds to Request To Send (RTS) handshaking. |
![]() |
input alt HW HShk
Input alt HW Handshake. On the PC, this parameter corresponds to Data Terminal Ready (DTR) handshaking. On the SPARCstation, this parameter is ignored. |
![]() |
output XON/XOFF
Output XON/XOFF. See the Common Serial Port VI Parameters section of this chapter for more information. |
![]() |
output HW Handshake
Output HW Handshake. On the PC and SPARCstation, this parameter corresponds to Clear to Send (CTS) handshaking. |
![]() |
output alt HW HShk
Output alt HW Handshake. On the PC, this parameter corresponds to Data Set Ready (DSR) handshaking. On the SPARCstation, this parameter is ignored. |
![]() |
XOFF byte
XOFF byte is the byte used for XOFF (^S). |
![]() |
XON byte
XON byte is the byte used for XON (^Q). |
![]() |
parity error byte
Parity Error Byte. If the high byte is non-zero, the low byte is the character that is used to replace any parity errors found when parity is enabled. |