Skip to content
Snippets Groups Projects
Select Git revision
  • 9b56c0ccfd96170364548a8c85ae28e796f007c4
  • main default protected
  • release_2_1_0
  • release_2_0_4
  • release_2_0_2
  • release_2_0_1
  • release_2_0_0
  • release_1_0_4
  • release_1_0_3
  • release_1_0_2
  • release_1_0_1
  • v0
  • release_1_0_0
  • release_0_1
14 results

DevCommands.html

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    DevCommands.html 2.99 KiB
    <!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>