Signalyzer

Recommend Print

AUX_ReadScratchpad

AUX_ReadScratchpad

  • Favourites
    Add to favourites

Syntax

C

SIGNALYZER_STATUS SIGNALYZER_AUX_ReadScratchpad(
SIGNALYZER_HANDLE sHandle,
unsigned long bytesToRead,
unsigned char * readBuffer
);

Parameters

SIGNALYZER_HANDLE - pointer to a variable of FT_HANDLE where handle will be stored when used with FTDI D2XX

bytesToRead -

readBuffer -

Return value

SIGNALYZER_STATUS - returns result of executed command. The result value will depend on type of library signalyzer_aux library is being used with ( FTD2XX or LIBFTDI ).

FT2XX:

FT_OK - on successful return.

FT_INVALID_ARGS - if one of the function passed parameters did not meet specific criteria

FT_OTHER_ERROR - for any other errors.

LIBFTDI:

0 - will be returned on successful function call

-1 - if one of the function passed parameters did not meet specific criteria

-2 - for any other errors.

Examples

CODE HERE

Requirements

WindowsLinuxMac OSWindows CE
2000 and later all soon soon

See Also

 

  • Created
    Friday, 12 February 2010
  • Created by
    Administrator
  • Last modified
    Monday, 15 February 2010
  • Revised by
    Administrator
  • Voting
    (0 votes)
  • Version
    5
Comments (0)Add Comment

Write comment

busy