The combaudrates attribute sets baudrate of the PC's serial ports.
<defaults>
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
port | portenum |
|
||||||||
|
integer | The number of the port | ||||||||
baudrate | integer | A positive integer representing the baudrate to set the port. |
This attribute is useful when using external input devices that require serial port communication at a particular baud rate. For example, the Cedrus response boxes require the COM port to communicate at 9600 kbs.
The following presents a textbox question, with the textbox sized to 200 by 100 pixels.
<defaults>
/ combaudrates = (COM1=9600, COM2=9600)
/ textboxsize=(200, 100)
</defaults>