<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <Title> Tango Device Server User's Guide </Title> </HEAD> <BODY> <center> <h1> SingleShotAO Generic Device <br> Device Commands Description <br> <br> SingleShotAO Class <br> </h1> <b> Revision: - Author: buteau </b> </center> <h2>1 - Init</h2> <ul> <Li><Strong>Description: </Strong><br> This command re-initialises a device keeping the same network connection. <br> After an Init command executed on a device, it is not necessary for the client to re-connect to the device. <br> This command first calls the device <i>delete_device()</i> method and then executes its <i>init_device()</i> method. <br> For C++ device server, all the memory allocated in the <i>init_device()</i> method must be freed in the <i>delete_device()</i> method.<br> The language device destructor automatically calls the <i>delete_device()</i> method.<br> </Li> <Li><Strong>Argin: DEV_VOID</Strong></Li> <Li><Strong>Argout: DEV_VOID</Strong></Li> <Li><Strong>Command allowed for: </Strong> <Ul> <Li>Tango::FAULT</Li> <Li>Tango::ON</Li> <Li>Tango::INIT</Li> <Li>Tango::MOVING</Li> </Ul> </Li> </ul> <h2>2 - State</h2> <ul> <Li><Strong>Description: </Strong> This command gets the device state (stored in its <i>device_state</i> data member) and returns it to the caller. <Li><Strong>Argin: DEV_VOID</Strong></Li> <Li><Strong>Argout: DEV_STATE</Strong></Li> <Li><Strong>Command allowed for: </Strong> <Ul> <Li>Tango::FAULT</Li> <Li>Tango::ON</Li> <Li>Tango::INIT</Li> <Li>Tango::MOVING</Li> </Ul> </Li> </ul> <h2>3 - Status</h2> <ul> <Li><Strong>Description: </Strong> This command gets the device status (stored in its <i>device_status</i> data member) and returns it to the caller.</Li> <Li><Strong>Argin: DEV_VOID</Strong></Li> <Li><Strong>Argout: CONST_DEV_STRING</Strong></Li> <Li><Strong>Command allowed for: </Strong> <Ul> <Li>Tango::FAULT</Li> <Li>Tango::ON</Li> <Li>Tango::INIT</Li> <Li>Tango::MOVING</Li> </Ul> </Li> </ul> <h2>4 - Abort</h2> <ul> <Li><Strong>Description: </Strong> Aborts ramps in progress.</Li> <Li><Strong>Argin: DEV_VOID</Strong></Li> <Li><Strong>Argout: DEV_VOID</Strong></Li> <Li><Strong>Command allowed for: </Strong> <Ul> <Li>Tango::FAULT</Li> <Li>Tango::ON</Li> <Li>Tango::INIT</Li> <Li>Tango::MOVING</Li> </Ul> </Li> </ul> </body> </html>