ConfigureVisaSerialSettings(ushort, uint, BluetoothDtmFlowControl, BluetoothDtmStopBits, BluetoothDtmParity)
- Updated2025-10-13
- 1 minute(s) read
Configures the VISA serial settings for the device under test (DUT) specified by the VISA resource name parameter.
Syntax
Namespace: NationalInstruments.BluetoothDtm
public int ConfigureVisaSerialSettings(ushort dataBits, uint baudRate, BluetoothDtmFlowControl flowControl, BluetoothDtmStopBits stopBits, BluetoothDtmParity parity)
Parameters
| Name | Type | Description |
|---|---|---|
| dataBits | ushort | Specifies the number of data bits contained in each frame. Valid values are 5 to 8, inclusive. The data bits for each frame are located in the low-order bits of every byte stored in the memory. The default value is 8. |
| baudRate | uint | Specifies the baud rate of the given communication port. The default value is 115,200. |
| flowControl | BluetoothDtmFlowControl | Specifies the baud rate of the given communication port. Specifies the flow control method used for transmitting and receiving data. The default value is RtsCts. |
| stopBits | BluetoothDtmStopBits | Specifies the number of stop bits used to indicate the end of a frame. Valid values are StopBits1_0, StopBits1_5, and StopBits2_0. The default value is StopBits1_0. |
| parity | BluetoothDtmParity | Specifies the parity bit used with each transmitted or received frame. The default value is None |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.