IExerciser
26
FindDevice
Declaration:
long FindDevice()
Inputs:
None
Return Value: Error code or zero (no error)
Remark:
This function finds any devices that are attached to the exerciser.
See Also:
API Errors
GetFoundDevicesNo
Declaration:
short GetFoundDevicesNo()
Input(s):
None
Return Value: Number of devices found
Remark:
This function returns the number of devices found.
Note:
Use this function after a call to the FindDevice
function.
GetDeviceEndPointsNo
Declaration:
long GetDeviceEndPointsNo(short sDeviceIndex,
short* sEndPointsNo)
Input(s):
sDeviceIndex
sets index of device.
sEndPointsNo
sets the number of endpoints of the device and fills in
the function if the device index exists.
Return Value: Error code or zero (no error)
Remark:
This function fills sEndPointsNo if the passed device index exists.
See Also
API Errors
GetEndPointType
Declaration:
long GetEndPointType(short sDeviceIndex, short sEndPointIndex,
short* sEndpointType)
Input(s):
sDeviceIndex
sets index of found device.
sEndPointIndex
sets index of endpoint of a found device.
sEndpointType
sets endpoint type of specified endpoint. This
parameter fills if the device index and endpoint index exist.
Return Value: Error code or zero (no error)
Remark:
This function fills sEndPointType if passed device index and endpoint
index exist.
See Also:
API Errors