Skip to content
Snippets Groups Projects
Commit 7e0634ab authored by Gwenaelle ABEILLE's avatar Gwenaelle ABEILLE
Browse files

update doc.

parent df30f69a
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ Device Attributes Description
</h1>
<Br>
<b>
Revision: - Author:
Revision: 1.2 - Author: abeilleg
</b>
</center>
......
......@@ -28,7 +28,7 @@ Device Description
</h1>
<Br>
<b>
Revision: - Author:
Revision: 1.2 - Author: abeilleg
</b>
</center>
......
......@@ -28,7 +28,7 @@ Device Commands Description
</h1>
<Br>
<b>
Revision: - Author:
Revision: 1.2 - Author: abeilleg
</b>
</center>
......@@ -88,7 +88,7 @@ The language device desctructor automatically calls the <i> delete_device() </i>
<ul>
<Li><Strong>Description: </Strong> Read the current value of the specified line of a port.<Br>&nbsp
<Li><Strong>Argin:<Br>DEV_STRING</Strong>
: The line to read ,from Px0 to Px7)<Br>&nbsp
: The line to read (from Px0 to Px7)<Br>&nbsp
<Li><Strong>Argout:<Br>DEV_BOOLEAN</Strong>
: The state of the line<Br>&nbsp
<Li><Strong>Command allowed for: </Strong><Ul>
......@@ -102,7 +102,7 @@ The language device desctructor automatically calls the <i> delete_device() </i>
<ul>
<Li><Strong>Description: </Strong> Set the specified line (put it in high state).<Br>&nbsp
<Li><Strong>Argin:<Br>DEV_STRING</Strong>
: The line to set ,Px0 to Px7)<Br>&nbsp
: The line to set (Px0 to Px7)<Br>&nbsp
<Li><Strong>Argout:<Br>DEV_VOID</Strong>
: <Br>&nbsp
<Li><Strong>Command allowed for: </Strong><Ul>
......@@ -116,7 +116,7 @@ The language device desctructor automatically calls the <i> delete_device() </i>
<ul>
<Li><Strong>Description: </Strong> Reset the specified line (put it in low state).<Br>&nbsp
<Li><Strong>Argin:<Br>DEV_STRING</Strong>
: The line to reset ,from Px0 to Px7)<Br>&nbsp
: The line to reset (from Px0 to Px7)<Br>&nbsp
<Li><Strong>Argout:<Br>DEV_VOID</Strong>
: <Br>&nbsp
<Li><Strong>Command allowed for: </Strong><Ul>
......@@ -130,9 +130,9 @@ The language device desctructor automatically calls the <i> delete_device() </i>
<ul>
<Li><Strong>Description: </Strong> Read the current state of the specified port.<Br>&nbsp
<Li><Strong>Argin:<Br>DEV_STRING</Strong>
: The port to read ,PA to PD for DIO_o and PA to PF for DIO)<Br>&nbsp
: The port to read (PA to PD for DIO_7432 and PA to PF for DIO_7248)<Br>&nbsp
<Li><Strong>Argout:<Br>DEV_SHORT</Strong>
: The current state of the port ,8-bit value)<Br>&nbsp
: The current state of the port (8-bit value)<Br>&nbsp
<Li><Strong>Command allowed for: </Strong><Ul>
<Li>Tango::UNKNOWN<Li>Tango::CLOSE<Li>Tango::OPEN</Ul>
<Br>&nbsp
......@@ -144,7 +144,7 @@ The language device desctructor automatically calls the <i> delete_device() </i>
<ul>
<Li><Strong>Description: </Strong> Write the specified value to the specified port.<Br>&nbsp
<Li><Strong>Argin:<Br>DEVVAR_LONGSTRINGARRAY</Strong>
: The port to write ,PE to PH for DIO_o and PA to PF for DIO), and the value to write ,8-bit)<Br>&nbsp
: The port to write (PE to PH for DIO_7432 and PA to PF for DIO_7248) and the value to write (0 to 255)<Br>&nbsp
<Li><Strong>Argout:<Br>DEV_VOID</Strong>
: <Br>&nbsp
<Li><Strong>Command allowed for: </Strong><Ul>
......
......@@ -28,7 +28,7 @@ Device Commands Description
</h1>
<Br>
<b>
Revision: - Author:
Revision: 1.2 - Author: abeilleg
</b>
</center>
......
......@@ -28,7 +28,7 @@ Properties Description
</h1>
<Br>
<b>
Revision: - Author:
Revision: 1.2 - Author: abeilleg
</b>
</center>
......@@ -45,35 +45,35 @@ Revision: - Author:
<Td><Center><b>Description</b></td></Center>
<Tr><Td>BoardNum</Td>
<Td>Tango::DEV_USHORT</Td>
<Td>The number of the board in the cPCI crate (between 0 and 7).</Td></Tr>
<Td>The board number in the cPCI crate (between 0 and 7).</Td></Tr>
<Tr><Td>BoardType</Td>
<Td>Tango::DEV_USHORT</Td>
<Td>The board type (the possible values are DIO or DIO_o for this device).</Td></Tr>
<Td>The board type (the possible values are DIO_7248or DIO_7432 for this device).</Td></Tr>
<Tr><Td>PA_direction</Td>
<Td>Tango::DEV_STRING</Td>
<Td>The direction of PA (IN or OUT). Only valuable for DIO (cPCI7248) board.</Td></Tr>
<Td>string</Td>
<Td>The direction of PA (IN or OUT). Only valuable for DIO_7248 board.</Td></Tr>
<Tr><Td>PB_direction</Td>
<Td>Tango::DEV_STRING</Td>
<Td>The direction of PB (IN or OUT). Only valuable for DIO (cPCI7248) board.</Td></Tr>
<Td>string</Td>
<Td>The direction of PB (IN or OUT). Only valuable for DIO_7248 board.</Td></Tr>
<Tr><Td>PC_direction</Td>
<Td>Tango::DEV_STRING</Td>
<Td>The direction of PC (IN or OUT). Only valuable for DIO (cPCI7248) board.</Td></Tr>
<Td>string</Td>
<Td>The direction of PC (IN or OUT). Only valuable for DIO_7248 board.</Td></Tr>
<Tr><Td>PD_direction</Td>
<Td>Tango::DEV_STRING</Td>
<Td>The direction of PD (IN or OUT). Only valuable for DIO (cPCI7248) board.</Td></Tr>
<Td>string</Td>
<Td>The direction of PD (IN or OUT). Only valuable for DIO_7248 board.</Td></Tr>
<Tr><Td>PE_direction</Td>
<Td>Tango::DEV_STRING</Td>
<Td>The direction of PE (IN or OUT). Only valuable for DIO (cPCI7248) board.</Td></Tr>
<Td>string</Td>
<Td>The direction of PE (IN or OUT). Only valuable for DIO_7248 board.</Td></Tr>
<Tr><Td>PF_direction</Td>
<Td>Tango::DEV_STRING</Td>
<Td>The direction of PF (IN or OUT). Only valuable for DIO (cPCI7248) board.</Td></Tr>
<Td>string</Td>
<Td>The direction of PF (IN or OUT). Only valuable for DIO_7248 board.</Td></Tr>
</Table>
......
......@@ -28,7 +28,7 @@ Device States Description
</h1>
<Br>
<b>
Revision: - Author:
Revision: 1.2 - Author: abeilleg
</b>
</center>
......
......@@ -28,7 +28,7 @@ Device Server User's Guide
</h1>
<Br>
<b>
Revision: - Author:
Revision: 1.2 - Author: abeilleg
</b>
</center>
<Br>
......
......@@ -30,7 +30,7 @@ PROJECT_NUMBER =
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
OUTPUT_DIRECTORY = F:\SingleShotDIO/doc_html
OUTPUT_DIRECTORY = D:\devices\devices_adlink\SingleShotDIO\src/doc_html
# The OUTPUT_LANGUAGE tag is used to specify the language in which all
# documentation generated by doxygen is written. Doxygen will use this
......@@ -304,7 +304,7 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = F:\SingleShotDIO
INPUT = D:\devices\devices_adlink\SingleShotDIO\src
# If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
......
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/ADLINK/SingleShotDIO/src/SingleShotDIO.cpp,v 1.2 2004-07-09 12:51:00 abeilleg Exp $";
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/ADLINK/SingleShotDIO/src/SingleShotDIO.cpp,v 1.3 2004-08-24 13:07:31 abeilleg Exp $";
//+=============================================================================
//
// file : SingleShotDIO.cpp
......@@ -13,9 +13,12 @@ static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/AD
//
// $Author: abeilleg $
//
// $Revision: 1.2 $
// $Revision: 1.3 $
//
// $Log: not supported by cvs2svn $
// Revision 1.2 2004/07/09 12:51:00 abeilleg
// bug fix.
//
//
// copyleft : European Synchrotron Radiation Facility
// BP 220, Grenoble 38043
......@@ -946,7 +949,7 @@ void SingleShotDIO::read_attr(Tango::Attribute &attr)
* description: method to execute "ReadLine"
* Read the current value of the specified line of a port.
*
* @param argin The line to read ,from Px0 to Px7)
* @param argin The line to read (from Px0 to Px7)
* @return The state of the line
*
*/
......@@ -1083,7 +1086,7 @@ Tango::DevBoolean SingleShotDIO::read_line(Tango::DevString argin)
* description: method to execute "SetLine"
* Set the specified line (put it in high state).
*
* @param argin The line to set ,Px0 to Px7)
* @param argin The line to set (Px0 to Px7)
*
*/
//+------------------------------------------------------------------
......@@ -1211,7 +1214,7 @@ void SingleShotDIO::set_line(Tango::DevString argin)
* description: method to execute "ResetLine"
* Reset the specified line (put it in low state).
*
* @param argin The line to reset ,from Px0 to Px7)
* @param argin The line to reset (from Px0 to Px7)
*
*/
//+------------------------------------------------------------------
......@@ -1341,8 +1344,8 @@ void SingleShotDIO::reset_line(Tango::DevString argin)
* description: method to execute "ReadPort"
* Read the current state of the specified port.
*
* @param argin The port to read ,PA to PD for DIO_o and PA to PF for DIO)
* @return The current state of the port ,8-bit value)
* @param argin The port to read (PA to PD for DIO_7432 and PA to PF for DIO_7248)
* @return The current state of the port (8-bit value)
*
*/
//+------------------------------------------------------------------
......@@ -1492,7 +1495,7 @@ Tango::DevShort SingleShotDIO::read_port(Tango::DevString argin)
* description: method to execute "WritePort"
* Write the specified value to the specified port.
*
* @param argin The port to write ,PE to PH for DIO_o and PA to PF for DIO), and the value to write ,8-bit)
* @param argin The port to write (PE to PH for DIO_7432 and PA to PF for DIO_7248) and the value to write (0 to 255)
*
*/
//+------------------------------------------------------------------
......
......@@ -8,9 +8,12 @@
//
// $Author: abeilleg $
//
// $Revision: 1.2 $
// $Revision: 1.3 $
//
// $Log: not supported by cvs2svn $
// Revision 1.2 2004/07/09 12:57:18 abeilleg
// minor changes.
//
//
// copyleft : European Synchrotron Radiation Facility
// BP 220, Grenoble 38043
......@@ -39,7 +42,7 @@
/**
* @author $Author: abeilleg $
* @version $Revision: 1.2 $ $
* @version $Revision: 1.3 $ $
*/
// Add your own constants definitions here.
......@@ -101,35 +104,35 @@ public :
*/
//@{
/**
* The number of the board in the cPCI crate (between 0 and 7).
* The board number in the cPCI crate (between 0 and 7).
*/
Tango::DevUShort boardNum;
/**
* The board type (the possible values are DIO or DIO_o for this device).
* The board type (the possible values are DIO_7248or DIO_7432 for this device).
*/
Tango::DevUShort boardType;
/**
* The direction of PA (IN or OUT). Only valuable for DIO (cPCI7248) board.
* The direction of PA (IN or OUT). Only valuable for DIO_7248 board.
*/
string pA_direction;
/**
* The direction of PB (IN or OUT). Only valuable for DIO (cPCI7248) board.
* The direction of PB (IN or OUT). Only valuable for DIO_7248 board.
*/
string pB_direction;
/**
* The direction of PC (IN or OUT). Only valuable for DIO (cPCI7248) board.
* The direction of PC (IN or OUT). Only valuable for DIO_7248 board.
*/
string pC_direction;
/**
* The direction of PD (IN or OUT). Only valuable for DIO (cPCI7248) board.
* The direction of PD (IN or OUT). Only valuable for DIO_7248 board.
*/
string pD_direction;
/**
* The direction of PE (IN or OUT). Only valuable for DIO (cPCI7248) board.
* The direction of PE (IN or OUT). Only valuable for DIO_7248 board.
*/
string pE_direction;
/**
* The direction of PF (IN or OUT). Only valuable for DIO (cPCI7248) board.
* The direction of PF (IN or OUT). Only valuable for DIO_7248 board.
*/
string pF_direction;
//@}
......@@ -207,33 +210,33 @@ public :
virtual void write_attr_hardware(vector<long> &attr_list);
/**
* Read the current value of the specified line of a port.
* @param argin The line to read ,from Px0 to Px7)
* @param argin The line to read (from Px0 to Px7)
* @return The state of the line
* @exception DevFailed
*/
Tango::DevBoolean read_line(Tango::DevString);
/**
* Set the specified line (put it in high state).
* @param argin The line to set ,Px0 to Px7)
* @param argin The line to set (Px0 to Px7)
* @exception DevFailed
*/
void set_line(Tango::DevString);
/**
* Reset the specified line (put it in low state).
* @param argin The line to reset ,from Px0 to Px7)
* @param argin The line to reset (from Px0 to Px7)
* @exception DevFailed
*/
void reset_line(Tango::DevString);
/**
* Read the current state of the specified port.
* @param argin The port to read ,PA to PD for DIO_o and PA to PF for DIO)
* @return The current state of the port ,8-bit value)
* @param argin The port to read (PA to PD for DIO_7432 and PA to PF for DIO_7248)
* @return The current state of the port (8-bit value)
* @exception DevFailed
*/
Tango::DevShort read_port(Tango::DevString);
/**
* Write the specified value to the specified port.
* @param argin The port to write ,PE to PH for DIO_o and PA to PF for DIO), and the value to write ,8-bit)
* @param argin The port to write (PE to PH for DIO_7432 and PA to PF for DIO_7248) and the value to write (0 to 255)
* @exception DevFailed
*/
void write_port(const Tango::DevVarLongStringArray *);
......
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/ADLINK/SingleShotDIO/src/SingleShotDIOClass.cpp,v 1.1.1.1 2004-07-02 15:24:52 syldup Exp $";
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/ADLINK/SingleShotDIO/src/SingleShotDIOClass.cpp,v 1.2 2004-08-24 13:10:21 abeilleg Exp $";
//+=============================================================================
//
// file : SingleShotDIOClass.cpp
......@@ -10,11 +10,14 @@ static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/AD
//
// project : TANGO Device Server
//
// $Author: syldup $
// $Author: abeilleg $
//
// $Revision: 1.1.1.1 $
// $Revision: 1.2 $
//
// $Log: not supported by cvs2svn $
// Revision 1.1.1.1 2004/07/02 15:24:52 syldup
// initial import
//
//
// copyleft : European Synchrotron Radiation Facility
// BP 220, Grenoble 38043
......@@ -550,27 +553,27 @@ void SingleShotDIOClass::command_factory()
{
command_list.push_back(new ReadLineCmd("ReadLine",
Tango::DEV_STRING, Tango::DEV_BOOLEAN,
"The line to read ,from Px0 to Px7)",
"The line to read (from Px0 to Px7)",
"The state of the line",
Tango::OPERATOR));
command_list.push_back(new SetLineCmd("SetLine",
Tango::DEV_STRING, Tango::DEV_VOID,
"The line to set ,Px0 to Px7)",
"The line to set (Px0 to Px7)",
"",
Tango::OPERATOR));
command_list.push_back(new ResetLineCmd("ResetLine",
Tango::DEV_STRING, Tango::DEV_VOID,
"The line to reset ,from Px0 to Px7)",
"The line to reset (from Px0 to Px7)",
"",
Tango::OPERATOR));
command_list.push_back(new ReadPortCmd("ReadPort",
Tango::DEV_STRING, Tango::DEV_SHORT,
"The port to read ,PA to PD for DIO_o and PA to PF for DIO)",
"The current state of the port ,8-bit value)",
"The port to read (PA to PD for DIO_7432 and PA to PF for DIO_7248)",
"The current state of the port (8-bit value)",
Tango::OPERATOR));
command_list.push_back(new WritePortCmd("WritePort",
Tango::DEVVAR_LONGSTRINGARRAY, Tango::DEV_VOID,
"The port to write ,PE to PH for DIO_o and PA to PF for DIO), and the value to write ,8-bit)",
"The port to write (PE to PH for DIO_7432 and PA to PF for DIO_7248) and the value to write (0 to 255)",
"",
Tango::OPERATOR));
......
......@@ -10,11 +10,14 @@
//
// project : TANGO Device Server
//
// $Author: syldup $
// $Author: abeilleg $
//
// $Revision: 1.1.1.1 $
// $Revision: 1.2 $
//
// $Log: not supported by cvs2svn $
// Revision 1.1.1.1 2004/07/02 15:24:52 syldup
// initial import
//
//
// copyleft : European Synchrotron Radiation Facility
// BP 220, Grenoble 38043
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment