Jump to content
OMRON Forums

Looking for C API documentation for GetResponse function.


jjm

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Checking the header opt/ppmac/libppmac/gplib.h, I got this:
 

/// Previous modal commands will be retained
/// The input string must have PMAC compatible commands
/// Note: Doesn't handle "gpascii" commands like "$$$" or "reboot"
/// \param[in] *pinstr  - ptr to input string
/// \param[in] outlen  - max length of output string
/// \param[in] EchoMode  - PMAC "echo" parameter which determines the format of the response
/// \param[out] *poutstr  - ptr to output string
/// \return 0 == OK, - == error number, 1 = ESC character was sent
int GetResponse(char *pinstr, char *poutstr, size_t outlen, unsigned char EchoMode);

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...