PostLVUserEvent (LabVIEW Manager Function)

MgErr PostLVUserEvent(LVUserEventRef ref, void *data);

Purpose

Posts the given user event. The event and associated data are queued for all event structures registered for the event.

Parameters

Name Type Description
ref LVUserEventRef Event refnum for the event for which you want to post data.
data void* Address of the data to post. The data must match the type used to create the user event.

Return Value

MgErr, which can contain the following errors. If you receive errors from LabVIEW Manager functions, most error names correspond to LabVIEW error codes.

Value Corresponding Error Code or Description
noErrNo error.
mgArgErr1 or not a valid user event.