Home  /  Autodocs  /  ramdrive.device

NAME

TD_MOTOR/ETD_MOTOR - control the on/off state of the virtual motor.

FUNCTION

This command would usually give control over the drive LED or motor of a drive. As the ramdrive does not have either, this command does nothing and always indicates success.

INPUTS

io_Device
preset by the call to OpenDevice()

io_Unit
preset by the call to OpenDevice()

io_Command
TD_MOTOR or ETD_MOTOR

io_Flags
0 or IOF_QUICK

io_Length
ignored.

RESULT

io_Error
0 for success

io_Actual
always 1, indicating a running motor.