Events
About this topic
This topic describes the following events:
Error
CloseComplete
void CloseComplete(void)
Description
Occurs when the Close method is successful.
Parameters
None
Return
None
DisableMotorComplete
void DisableMotorComplete(void)
Description
Occurs when the DisableMotor method is successful.
Parameters
None
Return
None
EnableMotorComplete
void EnableMotorComplete(void)
Description
Occurs when the EnableMotor method is successful.
Parameters
None
Return
None
Error
void Error(short Number, BSTR* Description, long Scode, BSTR Source, BSTR HelpFile, long HelpContext, VARIANT_BOOL* CancelDisplay)
Description
Fires when an error occurs during any non-blocking method execution.
Parameters
BSTR* Description
The description of the error.
VARIANT_BOOL* CancelDisplay
The option to hide the error message dialog box. Set to VARIANT_TRUE (C++) or True (Visual Basic .NET).
Note: short Number, long Scode, BSTR Source, BSTR HelpFile, and long HelpContext are not used.
Return
None
GetCassetteCountComplete
void GetCassetteCountComplete(short nCassetteCount)
Description
Occurs when the GetCassetteCountComplete method is successful.
Parameters
short nCassetteCount
The number of cassettes in the MiniHub.
Return
None
GetCurrentCassetteComplete
void GetCurrentCassetteComplete(SHORT dCassette)
Description
Occurs when the GetCurrentCassettePosition method is successful.
Parameters
SHORT dCassette
The cassette number.
Return
None
GetCurrentPositionComplete
void GetCurrentPositionComplete(float fPosition)
Description
Occurs when the GetCurrentPosition method is successful.
Parameters
float fPosition
The position, in degrees.
Return
None
GetHomePositionOffsetComplete
void GetHomePositionOffsetComplete(float fPosition)
Description
Occurs when the GetHomePositionOffset method is successful.
Parameters
float fPosition
The position, in degrees.
Return
None
GetMotorStatusComplete
void GetMotorStatusComplete(VARIANT_BOOL bServoStatus)
Description
Occurs when the GetMotorStatus method is successful.
Parameters
VARIANT_BOOL bMotorStatus
The status of motor.
Return
None
GetSlotCountComplete
void GetSlotCountComplete(short nSlotCount)
Description
Occurs when the GetSlotCount method is successful.
Parameters
short nSlotCount
The number of slots in the cassettes.
Return
None
GetSpeedComplete
void GetSpeedComplete(short* pSpeed)
Description
Occurs when the GetSpeed method is successful.
Parameters
short pSpeed
The current speed: 0 (slow), 1 (medium), or 2 (fast).
Return
None
InitializeComplete
void InitializeComplete(void)
Description
Occurs when the Initialize method is successful.
Parameters
None
Return
None
JogComplete
void JogComplete(void)
Description
Occurs when the Jog method is successful.
Parameters
None
Return
None
RotateToCassetteComplete
void RotateToCassetteComplete(void)
Description
Occurs when the RotateToCassette method is successful.
Parameters
None
Return
None
RotateToDegreeComplete
void RotateToDegreeComplete(void)
Description
Occurs when the RotateToDegrees method is successful.
Parameters
None
Return
None
RotateToHomePositionComplete
void RotateToHomePositionComplete(void)
Description
Occurs when the RotateToHomePosition method is successful.
Parameters
None
Return
None
SetSpeedComplete
void SetSpeedComplete(void)
Description
Occurs when the SetSpeed method is successful.
Parameters
None
Return
None
TeachHomeComplete
void TeachHomeComplete(void)
Description
Occurs when the TeachHome method is successful.
Parameters
None
Return
None
Related information
 
For information about...
See...
MiniHub ActiveX control
Integrating the MiniHub ActiveX control
Installation instructions in the release notes
MiniHub ActiveX properties
MiniHub ActiveX methods