beautypg.com

ProSoft Technology MVI69E-LDM User Manual

Page 78

background image

Contents

MVI69E-LDM ♦ "C" Programmable

Developer's Manual

Linux Application Development Module

Page 78 of 130

ProSoft Technology, Inc.

August 21, 2014

Return Value

MVI69_SUCCESS

a message has been received.

MVI69_ERR_NOACCESS

handle does not have access

MVI69_ERR_BADPARAM

a parameter is invalid

MVI69_ERR_BADCONFIG

send messaging is not enabled

Example

MVI69HANDLE handle;
int rc;
WORD buffer[250];


//wait 5 seconds for the message to be sent
rc = MVI69_SendMsgResponseToBp (Handle, buffer, 250);
if (rc == MVI69_SUCCESS)
printf ("Message sent\n");

See Also
MVI69_GetIOConfig

MVI69_GetMsgRequestFromBp