# ReadMessage

Reads a string sent with the Send Message command through a Native Mode connection. The function reads the string each time the specified event occurs.

Note: If the Native Mode connection is over a serial port, the serial port Mode must be set to Native.
Inputs

Syntax: ReadMessage(Event)

Parameter | Description
--- | ---
Event | An external event that forces an update. This parameter must be a reference to one of the following: The Image data structure in cell A0 , containing the AcquireImage function. For more information, see AcquireImage. A cell containing an Event function. For more information, see Event. A cell containing a Button function. For more information, see Button.

Outputs

Returns | A Message data structure containing the text string to read, or #ERR if the input Event value is invalid.