ComError() generate/enh73.jpg


Returns a description of an error if an error occurs when communicating with a serial device.

Syntax

ComError([<cName>]) --> cErrorText

Arguments

<cName> --> Name of the communications device whose error you wish to query.

generate/notepad1.gifIf you are interacting with more than one serial device then you must specify the serial device's name.

Returns

Either a description of the error that occurred or an empty string ("") if no error occurred.

Description

This function returns a description of an error should one occur when communicating with a serial device.

____________________________

Related Topics:

Business Function List

Weight Scale Interfacing Example: Digi D770



CAPITAL VISUAL BUILDER