This is historical information of device classes implemented in SerialDevice device server.

Use this link to find the valid information.

Development status: Released
Information status: Updated

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
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.
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.
WriteInput: DevString
Output: DevVoid
Write string given in argin to device
ReadInput: DevVoid
Output: DevString
Read string from device
WriteReadInput: DevString
Output: DevString
Write string to device and return reply
WriteRawInput: DevString
Output: DevVoid
Write string given in argin to device without adding a line terminator

Pipes:

Properties:

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

23 Jul 2022, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



24 Apr 2021, DS Admin
Updated:
A device class has been added.
You are looking at this version now.



24 Apr 2021, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



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



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:24 Apr 2021, 3:25 a.m.