up Inquisit Language Reference

comBaudRates attribute

The combaudrates attribute sets baudrate of the PC's serial ports.

Member of

<defaults>

Syntax

/ comBaudRates = (port = baudrate, port = baudrate, port = baudrate, ...)

Parameters

Name Type Description
port portenum
ValueDescription
comSerial port.
lslLab Streaming Layer.
lptParallel port.
lptDataData register of the parallel port.
integer The number of the port
baudrate integer A positive integer representing the baudrate to set the port.

Remarks

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.

Examples

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>

Copyright Millisecond Software, LLC. All rights reserved.