DESCRIPTION This allows add/remove and get/set of controller profiles
Methods
- Sub AddAccuracyProfile( profile)
-
Add a new Accuracy Profile into controller.
- Parameters:
-
- profile
- interface pointer to Accuracy profile dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub AddMotionProfile( profile)
-
Add a new Motion Profile into controller.
- Parameters:
-
- profile
- interface pointer to Motion profile dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub AddObjFrameProfile( profile)
-
Add a new ObjFrame Profile into controller.
- Parameters:
-
- profile
- interface pointer to ObjFrame profile dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub AddToolProfile( iProfile)
-
Add a new Tool Profile into controller.
- Parameters:
-
- profile
- interface pointer to tool profile dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetAccuracyProfile( name, profile)
-
Get Accuracy profile given name.
- Parameters:
-
- name
- This parameter contains name of the Accuracy profile. dd>
- profile
- This outer parameter contains interface pointer to Accuracy profile. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetAccuracyProfileCount( count)
-
Get number of Accuracy profiles in controller.
- Parameters:
-
- count
- This outer parameter contains number of Accuracy profiles. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetAccuracyProfiles( profiles)
-
Get Accuracy profiles list in controller.
- Parameters:
-
- profiles
- This outer parameter contains Accuracy profile list. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetCurrentAccuracyProfile( profile)
-
Get current Accuracy profile name used in controller.
- Parameters:
-
- profile
- This outer parameter contains Accuracy profile name. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetCurrentMotionProfile( profile)
-
Get current Motion profile name used in controller.
- Parameters:
-
- profile
- This outer parameter contains Motion profile name. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetCurrentObjFrameProfile( profile)
-
Get current ObjFrame profile name used in controller.
- Parameters:
-
- profile
- This outer parameter contains ObjFrame profile name. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetCurrentToolProfile( profile)
-
Get current tool profile name used in controller.
- Parameters:
-
- profile
- This outer parameter contains tool profile name. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetMotionProfile( name, profile)
-
Get Motion profile given name.
- Parameters:
-
- name
- This parameter contains name of the Motion profile. dd>
- profile
- This outer parameter contains interface pointer to Motion profile. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetMotionProfileCount( count)
-
Get number of Motion profiles in controller.
- Parameters:
-
- count
- This outer parameter contains number of Motion profiles. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetMotionProfiles( profiles)
-
Get Motion profiles list in controller.
- Parameters:
-
- profiles
- This outer parameter contains Motion profile list. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetName( oName)
-
Retreives name of the generic controller.
- Parameters:
-
- name
- name of the controller to be set. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetObjFrameProfile( name, profile)
-
Get ObjFrame profile given name.
- Parameters:
-
- name
- This parameter contains name of the ObjFrame profile. dd>
- profile
- This outer parameter contains interface pointer to ObjFrame profile. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetObjFrameProfileCount( count)
-
Get number of ObjFrame profiles in controller.
- Parameters:
-
- count
- This outer parameter contains number of ObjFrame profiles. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetObjFrameProfiles( profiles)
-
Get ObjFrame profiles list in controller.
- Parameters:
-
- profiles
- This outer parameter contains ObjFrame profile list. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetToolProfile( name, profile)
-
Get tool profile given name.
- Parameters:
-
- name
- This parameter contains name of the tool profile. dd>
- profile
- This outer parameter contains interface pointer to tool profile. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetToolProfileCount( count)
-
Get number of tool profiles in controller.
- Parameters:
-
- count
- This outer parameter contains number of tool profiles. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub GetToolProfiles( profiles)
-
Get tool profiles list in controller.
- Parameters:
-
- profiles
- This outer parameter contains tool profile list. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub HasAccuracyProfile( name, flag)
-
Check whether given tool profile exists.
- Parameters:
-
- name
- This parameter contains name of the Accuracy profile. dd>
- flag
- This outer parameter contains whether Accuracy profile exists. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub HasMotionProfile( name, flag)
-
Check whether given Motion profile exists.
- Parameters:
-
- name
- This parameter contains name of the Motion profile. dd>
- flag
- This outer parameter contains whether Motion profile exists. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub HasObjFrameProfile( name, flag)
-
Check whether given ObjFrame profile exists.
- Parameters:
-
- name
- This parameter contains name of the ObjFrame profile. dd>
- flag
- This outer parameter contains whether ObjFrame profile exists. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub HasToolProfile( name, flag)
-
Check whether given tool profile exists.
- Parameters:
-
- name
- This parameter contains name of the tool profile. dd>
- flag
- This outer parameter contains whether tool profile exists. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub RemoveAccuracyProfile( name)
-
Remove Accuracy profile given name in controller.
- Parameters:
-
- name
- This parameter contains Accuracy profile name. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub RemoveMotionProfile( name)
-
Remove Motion profile given name in controller.
- Parameters:
-
- name
- This parameter contains Motion profile name. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub RemoveObjFrameProfile( name)
-
Remove ObjFrame profile given name in controller.
- Parameters:
-
- name
- This parameter contains ObjFrame profile name. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub RemoveToolProfile( name)
-
Remove tool profile given name in controller.
- Parameters:
-
- name
- This parameter contains tool profile name. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub SetCurrentAccuracyProfile( profile)
-
Make Accuracy profile with given name as current tool profile being used by controller.
- Parameters:
-
- profile
- This parameter contains Accuracy profile name. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub SetCurrentMotionProfile( profile)
-
Make Motion profile with given name as current tool profile being used by controller.
- Parameters:
-
- profile
- This parameter contains Motion profile name. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub SetCurrentObjFrameProfile( profile)
-
Make ObjFrame profile with given name as current ObjFrame profile being used by controller.
- Parameters:
-
- profile
- This parameter contains ObjFrame profile name. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub SetCurrentToolProfile( profile)
-
Make tool profile with given name as current tool profile being used by controller.
- Parameters:
-
- profile
- This parameter contains tool profile name. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .
- Sub SetName( name)
-
Set name of the generic controller.
- Parameters:
-
- name
- name of the controller to be set. dd>
- Returns:
- an HRESULT value.
Legal values:- S_OK if the operation succeeds
- E_FAIL otherwise .