| SmarActController Class Commands |
| Name |
Input type |
Output type |
Level |
Description |
| State |
DEV_VOID |
DEV_STATE |
OPERATOR |
This command gets the device state (stored in its device_state data member) and returns it to the caller. |
| Status |
DEV_VOID |
CONST_DEV_STRING |
OPERATOR |
This command gets the device status (stored in its device_status data member) and returns it to the caller. |
| Reset |
DEV_VOID |
DEV_VOID |
OPERATOR |
Reset the controller |
| BaudRate |
DEV_ULONG |
DEV_VOID |
OPERATOR |
Set baud rate to argin |
| Stop |
DEV_LONG |
DEV_VOID |
OPERATOR |
Stop movement |
| AxisStatus |
DEV_LONG |
DEV_LONG |
OPERATOR |
Get status for axis argin |
| GetSensorType |
DEV_LONG |
DEV_LONG |
OPERATOR |
Get sensor type for axis argin |
| SetSensorType |
DEVVAR_SHORTARRAY |
DEV_VOID |
OPERATOR |
Set sensor type for axis argin |
| GetPosition |
DEVVAR_DOUBLEARRAY |
DEV_DOUBLE |
OPERATOR |
Get position for axis argin |
| SetPosition |
DEVVAR_DOUBLEARRAY |
DEV_VOID |
OPERATOR |
Moves axis argin to position |
| SetSpeed |
DEVVAR_LONGARRAY |
DEV_VOID |
OPERATOR |
Set velocity for axis |
| GetSpeed |
DEV_LONG |
DEV_LONG |
OPERATOR |
Get velocity for axis argin |
| SetFrequency |
DEVVAR_LONGARRAY |
DEV_VOID |
OPERATOR |
Set the closed loop maximum frequency |
| Home |
DEVVAR_LONGARRAY |
DEV_VOID |
OPERATOR |
Run reference mark search for axis |
| SetAngleLimit |
DEVVAR_DOUBLEARRAY |
DEV_VOID |
OPERATOR |
sets limit for rotary movements |
| GetAngleLimit |
DEV_LONG |
DEVVAR_DOUBLEARRAY |
OPERATOR |
sets limit for rotary movements |
| SetPositionLimit |
DEVVAR_DOUBLEARRAY |
DEV_VOID |
OPERATOR |
sets limits for linear movements |
| GetPositionLimit |
DEV_LONG |
DEVVAR_DOUBLEARRAY |
OPERATOR |
gets limit for linear movements |
| DefinePosition |
DEVVAR_DOUBLEARRAY |
DEV_VOID |
OPERATOR |
define current position of axis (argin[0]) as argin[1] |
| GetLimitMax |
DEVVAR_DOUBLEARRAY |
DEV_DOUBLE |
OPERATOR |
Get the maximum limit set for this axis |
| SetLimitMax |
DEVVAR_DOUBLEARRAY |
DEV_VOID |
OPERATOR |
Set the maximum limit set for this axis |
| GetLimitMin |
DEVVAR_DOUBLEARRAY |
DEV_DOUBLE |
OPERATOR |
Get the minimum limit set for this axis |
| SetLimitMin |
DEVVAR_DOUBLEARRAY |
DEV_VOID |
OPERATOR |
Set the maximum limit set for this axis |
| GetAxisType |
DEV_LONG |
DEV_LONG |
OPERATOR |
Get type of axis |
| PositionKnown |
DEV_LONG |
DEV_BOOLEAN |
OPERATOR |
Checks whether the physical position of axis argin is known. |