5
47
FlashRunner Cube User’s Manual
FR_GetFrame()
Prototype
FR_COMM_ERR WINAPI FR_GetFrameA (FR_COMM_HANDLE handle, char *answer,
unsigned long maxlen, unsigned long timeout_ms);
FR_COMM_ERR WINAPI FR_GetFrameW (FR_COMM_HANDLE handle, wchar_t
*answer, unsigned long maxlen, unsigned long timeout_ms);
Description
Reads the answer to the command sent by the FR_SendFrame() function.
Return Value
0 The function call was successful.
!=0 The function call was unsuccessful.
Call the FR_GetLastErrorMessage() function to get error
information.
Parameters
handle Communication handle returned by the
FR_OpenCommPort() function.
answer The answer read back from the instrument in response
to the command sent.
maxlen Maximum length, in characters, of the answer buffer.
timeout_ms Time (in milliseconds) before the function times out.
http://smh-tech.com.cn sales@smh-tech.com.cn +86-15250087885