IUsbGeneral Services Interface
2
IUsbGeneral Services Interface
SetPort
Declaration:
long SetPort(short sPortType)
Input(s):
sPortType
specifies hardware port type.
Valid port types are introduced in API Constants.
Return Value: Zero if the SetPort was successful. Otherwise, non-zero.
Each non-zero value indicates an error code.
Remark:
This method sets the port type and connects the software to the
hardware.
See Also
API Errors
IsHardwareStoped
Declaration:
long IsHardwareStoped(BOOL* bIsStoped)
Input(s):
bIsStoped
specifies hardware stop flag.
Return Value: Zero if the IsHardwareStoped was successful. Otherwise, non-zero.
Each non-zero value indicates an error code.
Remark:
This function sets bIsStoped to TRUE if hardware is stopped.
Otherwise, sets to FALSE. Returns error code if an error occurs.
See Also
API Errors
Method
Description
SetPort
Set hardware attached port.
IsHardwareStoped
Is hardware stopped?
SaveOutFiles
Save output file of last run project.
EnableProtocolError
Enable or disable protocol errors by Type.
IsEnableProtocolError
Is protocol error type enabled or not.
GetMaxMemorySize
Get the maximum size of memory.
AttachDevice
Attach device.
DetachDevice
Detach device.
SaveSmpAsText
Save captured data in a text file.
Содержание Conquest
Страница 48: ...Exerciser Command Parameters 42 ...