.

Average: 0
Rating Count: 0

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



Class Description


Device server to communicate with RS232 devices; this eas written at DESY with DESY beamlines in mind, where we quite have have the situation that for testing / evaluation purposes devices are connected directly to a computer, but will lateron be driven via a terminal server.

This server supports both way, you can switch by setting properties.

Families: Communication

Key words:

Platform: Unix Like

Language: Cpp

License: GPL

Contact:

Hardware


Manufacturer: none

Bus: Not Applicable

Class interface


Attributes:

Commands:

Name Description
WriteReadInput: DevString
Output: DevString
Write string to device and return reply
ReadInput: DevVoid
Output: DevString
Read string from device
WriteInput: DevString
Output: DevVoid
Write string given in argin to device
StatusInput: DevVoid
Output: ConstDevString
Device status
This command gets the device status (stored in its device_status data member) and returns it to the caller.
StateInput: DevVoid
Output: State
Device state
This command gets the device state (stored in its device_state data member) and returns it to the caller.

Pipes:

Properties:

Name Description
ConnectTypeDevString `net` for tcp/ip connection or `serial` for rs232 connection
EndOfLineDevString End of line string in used in communication
TimeOutDevLong Timeout in ms when reading from device
FlowControlDevLong Flow controll of serial commuication 0: off 1: odd 2: even
ParityDevLong Parity of serial commuication 0: off 1: odd 2: even
StopBitsDevLong Stop bits of serial commuication
CharSizeDevLong Character size of serial commuication
BaudRateDevLong baud rate (if connecting directly)
DeviceFileDevString Name of serial device file name (if connected directly), e.g. /dev/ttyS0
PortNumberDevLong TCP port number on terminal server (if connected via such)
HostNameDevString Hostname / IP address of terminal server (if connected via such).


Please log in to comment.

17 Oct 2020, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



10 Oct 2020, DS Admin
Created:
The device class has been added to catalogue.
Added by:dadmin on:10 Oct 2020, 5:24 a.m.