vtsSerialConfigure
Valid for: CANoe DE • CANoe:lite DE NoteTo make sure the correct settings are used execute a wait command between the call of this function and the following sending or receiving of data.
Function Syntax
Description
Configures the serial port of the VT System channel that is specified by the system variable namespace. Without setting up a configuration explicitly, the default configuration is used. Default baudrate: 1200, 8 data bits, 1 stop bit, no parity.Parameters
- Target: Name of the system variable/namespace that will be affected by this function call.
- baudrate: The symbol rate to use for reception and transmission. Serial ports of the VT7001: Values see eVTSBaudRate.
- numberOfDataBits: The number of data bits within a transmission frame. Serial ports of the VT7001: Values see eVTSDataBits.
- numberOfStopBits: The number of stop bits within a transmission frame. Serial ports of the VT7001: Values see eVTSStopBits.
- parity: Specifies which parity mode should be used. Values see eVTSParity.
Return Values
- 0: Successful call
- -1: Non-specific error
- -2: The namespace on which the command was called does not exist, is not a valid VT System namespace or does not support this command.
- -3: One of the parameters has an invalid value.