.

Average: 0
Rating Count: 0

Development status: New development
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Communication/DataSocket
Contact:



Class Description


The purpose of this �Tango DataSocket DeviceServer� is to exchange Data between TANGO and a LabView application.
It acts as a gateway whose only purpose is to get and set values which are available in a Labview Application from the TANGO world. It also permits to read/write values from an OPC server.

Families: Communication

Key words:

Platform: All Platforms

Language: Cpp

License:

Contact:

Hardware


Bus: Not Applicable

Class interface


Attributes:

Name Description
transfert_numberScalar: DevLong

Commands:

Name Description
StateInput: DevVoid
Output: State
This command gets the device state (stored in its device_state data member) and returns it to the caller.
StatusInput: DevVoid
Output: DevString
This command gets the device status (stored in its device_status data member) and returns it to the caller.
ReadLongInput: DevString
Output: DevLong
Used to get a long value from DS
ReadDoubleInput: DevString
Output: DevDouble
None.
ReadStringInput: DevString
Output: DevString
None.
ReadLongArrayInput: DevString
Output: DevVarLongArray
None.
ReadDoubleArrayInput: DevString
Output: DevVarDoubleArray
None.
ReadStringArrayInput: DevString
Output: DevVarStringArray
None.
WriteLongInput: DevVarLongStringArray
Output: DevVoid
None.
WriteDoubleInput: DevVarDoubleStringArray
Output: DevVoid
None.
WriteStringInput: DevVarStringArray
Output: DevVoid
Write a string on the DataSocket
WriteLongArrayInput: DevVarLongStringArray
Output: DevVoid
None.
WriteDoubleArrayInput: DevVarDoubleStringArray
Output: DevVoid
None.
WriteStringArrayInput: DevVarStringArray
Output: DevVoid
None.
GetOpenedURLInput: DevVoid
Output: DevVarStringArray
Command to get the list of URL which are currently opened
ReadBoolInput: DevString
Output: DevBoolean
Read the boolean value associated to the URL given in parameter.
WriteBoolInput: DevVarLongStringArray
Output: DevVoid
Sets the data value of the DataSocket object associated to the URL given in parameter.
CloseAllHandlesInput: DevVoid
Output: DevVoid
Forces the closure of all handles
ReadShortInput: DevString
Output: DevShort
return a short value
WriteShortInput: DevVarLongStringArray
Output: DevVoid
Value to write + URL to write
ReadShortArrayInput: DevString
Output: DevVarShortArray
None.
WriteShortArrayInput: DevVarLongStringArray
Output: DevVoid
None.

Pipes:

Properties:


Please log in to comment.

Generated

PDF generated from POGO



README

b'//-============================================================\n//\n// This class has been generated by POGO\n// (Program Obviously used to Generate tango Object)\n//\n// (c) - Software Engineering Group - ESRF\n//=============================================================\n\n\nFiles generated:\n===============\nDataSocket.cpp: Source code for the DataSocket class and its commands.\n This class is derived from DeviceImpl_2 class.\n It represents the CORBA servant obbject which\n will be accessed from the network.\n All commands which can be executed on the\n DataSocket are implemented in this file.\n\nDataSocket.h: Include for the DataSocket class.\n Server class prototypes and descriptions.\n\nDataSocketClass.cpp: A singleton class derived fromDataSocket.\n It implements the command list and all properties\n and methods required by the DataSocket once per process\n\nDataSocketClass.h:\tInclude for the DataSocketClass root class.\n This class is represents the singleton class for\n the DataSocket device class.\n It contains all properties and methods which the \n DataSocket requires only once e.g. the commands.\n\nmain.cpp:\t\tC++ source for a TANGO device server main.\n The main rule is to initialise (and create) the Tango\n system and to create the DServerClass singleton.\n The main should be the same for every Tango device server.\n\nClassFactory.cpp:\tC++ source for the class_factory method of the DServer\n device class. This method is responsible to create\n all class singletin for a device server. It is called\n at device server startup\n'

22 Feb 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



20 Apr 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



23 Feb 2017, Piotr Goryl
Created:
The device class has been added to catalogue.
Added by:pgoryl2 on:23 Feb 2017, 9:48 a.m.