PostLVUserEvent (LabVIEW Manager Function)

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

MgErr PostLVUserEvent(LVUserEventRef ref, void *data);


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


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.


Not Helpful