GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> DDT / V1-1-1 > ddt_scp / rhel6-32


Interface   Data Structures   File List   Data Fields   Globals  

DDT_scpside.h File Reference

Interface to the DDT functions used by SCP. More...

#include <CLI/CLI_pubdefs.h>

Functions

unsigned int DDT_sendWriteFile (unsigned int lat_unit, unsigned int device, unsigned int dir, unsigned int file)
 Send the Write-File command.
unsigned int DDT_addSyntaxSCP (CLI_Syntax *syntax)
 Add DDT commands to the command-line syntax.


Detailed Description

Interface to the DDT functions used by SCP.

**    CVS $Id: DDT_scpside.h,v 1.2 2011/03/30 01:15:05 apw Exp $
**    

Defines the interface to the DDT package functions used by SCP. This is the only DDT header file included by SCP.


Function Documentation

unsigned int DDT_addSyntaxSCP ( CLI_Syntax *  syntax  ) 

Add DDT commands to the command-line syntax.

Parameters:
syntax Syntax handle.
Returns:
MSG code.

References ddt_sendWriteFile_cli().

unsigned int DDT_sendWriteFile ( unsigned int  lat_unit,
unsigned int  device,
unsigned int  dir,
unsigned int  file 
)

Send the Write-File command.

Parameters:
lat_unit ID of the target unit (0=SIU, 1=EPU0, 2=EPU1, 3=EPU2).
device Device number for the file to write.
dir Directory number for the file to write.
file File number for the file to write.
Return values:
0 Success.
Nonzero Failure.

References ddt_dumpWriteFile(), and ddt_send_command().

Referenced by ddt_sendWriteFile_cli().


Generated on Tue Nov 29 17:28:19 2011 by  doxygen 1.5.8