AOR AR2300 Specifications Page 57

  • Download
  • Add to my manuals
  • Print
  • Page
    / 67
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 56
56
5.2.4 ALPHA_STOP_CAPTURE
CONTROL
CODE
ALPHA_STOP_CAPTURE
PROTO-TYPE
BOOL DeviceIoControl(
HANDLE hDevice, // = DEVICE HANDLE
DWORD dwIoControlCode, // = ALPHA_STOP_CAPTURE
LPVOID lpInBuffer, // = PALPHA_CAPTURE_PRM
DWORD nInBufferSize, // = sizeof(ALPHA_CAPTURE_PRM)
LPVOID lpOutBuffer, // = NULL
DWORD nOutBufferSize, // =0
LPDWORD lpBytesReturned, // = POINTER FOR VARIABLES TO RECEIVE
TRANSFER BYTE.
LPOVERLAPPED lpOverlapped // = Overlapped POINTER
);
FUNCTION
Start data acquisition from the end-point of ISOCHRONOUS-IN of the
AR-ALPHA.
STRUCTURER
typedef struct _ALPHA_CAPTURE_PRM {
UCHAR ucIsoInEndPoint; // DATA END-POINT
} ALPHA_CAPTURE_PRM, *PALPHA_CAPTURE_PRM;
REMARK
INCLUDE HEADER AORAlphaDD.h
APPLICATION NOTE
CALLING PROCEDURE
Typical driver calling procedure is as follows:
Opening DRIVER Get the device handle through CreatFile API.
Starting isochronous reception DeviceIoControl API(ALPHA_START_CAPTURE)
Capturer Start Send DeviceIoControl API(ALPHA_BULKOUT)
Acquiring Captured Data Call ReadFile API to acquire captured data
Capturer End Send DeviceIoControl API(ALPHA_BULKOUT)
Ending isochronous reception DeviceIoControl API(ALPHA_STOP_CAPTURE)
Closing Device CloseHandle() API to close device
NOTE:; Set size above 512x3x1024 to read with ReadFile()
Page view 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 66 67

Comments to this Manuals

No comments