Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

DatagramReceivedFcn

Specify callback function to execute when datagram is received

Description

You configure DatagramReceivedFcn to execute a callback function when a datagram has been received. The callback executes when a complete datagram is received in the input buffer.

    Note   A datagram-received event can be generated at any time during the instrument control session.

If the RecordStatus property value is on, and a datagram-received event occurs, the record file records this information:

  • The event type as DatagramReceived

  • The time the event occurred using the format day-month-year hour:minute:second:millisecond

To learn how to create a callback function, refer to Creating and Executing Callback Functions

Characteristics

Usage

UDP

Read only

Never

Data type

Callback

Values

The default value is ''.

Was this topic helpful?