Component CLIENTSERIALRECEIVERSSC

Attribute summary

Typically used attributes

All attributes are

General attributes are

Attribute details

actionListener

Binding to server side method that processes the events coming from this component.

The attribute value must be an expression.

#{methodBinding}Method binding

adapterbinding

Special binding to componet adapter object instance on server side.

The attribute value must be an expression.

#{tobedefined}Binding to IComponentAdapter instance

attributemacro

Name of macro that is used for generating certain attributes of this component. Please pay attention: the value of this attribute is read one time for each control and cannot be changed afterwards.

The attribute value must not be changed once the component is created.

avoidvalidations

When a roundtrip is triggered then by default the curren user input is validated. This may lead to some change within the current user input field (e.g. is user just defines a date then the user might not yet have specified a correct date).

falseValidations are executed (default)
trueValidations are not executed

baudrate

Baud rate of serial interface.

96009600 bit/s (default)
48004800 bit/s
24002400 bit/s

comment

Comment that can be asigned to any component. The comment is not operationally used.

Any textAny text

concatenate

If the serial device is sending events fast one after another then it may happen that the communication to the server is occupied while new serial events are received. By default the events are queued and then processed one by one. But: you may also define to send the events that are queued as one concatenated value - reducing the number of server roundtrips in theses scenarios as consequence.

falseOne actionListener call per serial event (default)
trueConcatenation may be done

concatenateduration

If defining CONCATENATE as true, then serial events ar queued when the communication to the server is just active. This duration (im milliseconds) describes when the queue is re-checked if can be sent to the server side as one concatenated value.

200200 milliseconds

concatenateseparator

If defining CONCATENATE as true, then this separator is used to separate the values from one another. By default no separator is used.

configinfo

Configuration information that is attached to this component. This information is not functionally used by CaptainCasa, but may be used for any application specific purpose.

databits

Data Bits

55
66
77
88

parity

Parity

NoneNone (default)
EvenEven
OddOdd

reference

Reference to an outside object that is the content behind the component. E.g. a field is representing a certain field of a database table: in this case you could define the value table;column. The reference plays a siginficant role within the attributemacro management.

The attribute value must not be changed once the component is created.

refOne reference
ref1;ref2Two references
ref1;ref2;ref3Three references

rendered

Flag that indicated if this component is rendered at all. If set to false then the component is not rendered - there is no component data sent to the client.

The attribute value must be an expression.

trueComponent is rendered (default)
falseComponent is not rendered

serialport

Name of serial port.

COM1COM1 (default)
COM2COM2
COM3COM3
COM4COM4

statusbarneutral

If set to true, then the roundtrip that is caused by the component does NOT clear the current statusbar content.

falseStatusbar content is cleared. (default)
trueStatusbar content is kept.

stopbits

Stop Bits

11
1.51.5
22

terminator

By default messages from the serial interface are directly transferred to the server side. But you can also define a terminator-char-code: in this e case the messages are collected and appended until the terminator byte is received.

 No waiting for terminator byte (default)
13Wating for terminator code 13 (return)
...Any other decimal byte value