4D v14.3GET SERIAL PORT MAPPING |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
GET SERIAL PORT MAPPING
GET SERIAL PORT MAPPING
The GET SERIAL PORT MAPPING command returns two arrays, numArray and nameArray, containing the serial port numbers and the serial port names of the current machine. This command is useful under Mac OS X, where the operating system dynamically allocates the port number when using a USB serial adapter. You can address any extended serial port using its name (static), regardless of its actual number. Note: This command does not return meaningful values with standard ports. If you want to address a standard port, you must pass its value (0 or 1) directly using the SET CHANNEL command (former operation of 4D). This project method can be used to address the same serial port (without protocol), regardless of the number that has been assigned to it: ARRAY TEXT($arrPortNames;0) |
PROPERTIES
Product: 4D
HISTORY
Created: 4D 2004 SEE ALSO ARTICLE USAGE
4D Language Reference ( 4D v11 SQL Release 6) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||