Company X Accessories C1030-5510 manual GetBusType, Constant Bus, GetMaxTransferSize

Models: C1030-5510

1 71
Download 71 pages 45.45 Kb
Page 44
Image 44

Return device type name of given device pointer or handle.

Notice C API: pszDest is the buffer were the value is stored to, it must be at least of size uiDestSize.

GetBusType

API

Code

C++

ceDevice::ceBusType ceDevice::GetBusType()

CCE_RESULT GetBusType(CE_DEVICE_HANDLE Handle, unsigned int *puiBusType)

.NET ceDevice.ceBusType ceDevice.GetBusType()

Return type of bus a device is bound to, can be any of the following:

Constant

Bus

ceBT_PCI

PCI bus

ceBT_USB

USB bus

GetMaxTransferSize

API

Code

C++

unsigned int ceDevice::GetMaxTransferSize()

CCE_RESULT GetMaxTransferSize(CE_DEVICE_HANDLE Handle, unsigned int *puiMaxTransferSize)

.NET

uint ceDevice.GetMaxTransferSize()

Return count of bytes that represents the maximum in one transaction, larger transfers must be split by the API user.

USBS6 / C1030-5510

 

http://www.cesys.com/

User Doc V0.3

-44-

preliminary

Page 44
Image 44
Company X Accessories C1030-5510 manual GetBusType, Constant Bus, GetMaxTransferSize