niBT VISA Configure Serial Settings VI

NI Bluetooth Toolkit Direct Test Mode 19.1 Help

Edition Date: October 2019

Part Number: 375699E-01

»View Product Info
Download Help (Windows Only)

Configures the VISA serial settings for the device under test (DUT) specified by the VISA resource name parameter.

niBT VISA Configure Serial Settings

/images/reference/en-XX/help/375699E-01/cio.gif

VISA resource name specifies the name of the resource to be configured. This parameter also specifies the VISA session and class.

/images/reference/en-XX/help/375699E-01/cu32.gif

baud rate specifies the baud rate of the given communication port. The default value is 115,200.

/images/reference/en-XX/help/375699E-01/cu16.gif

flow control specifies the flow control method used for transmitting and receiving data. The default value is RTS/CTS.

None (0)

Does not use flow control, and the buffers on both sides of the connection are assumed to be large enough to hold all the transferred data.

XON/XOFF (1)

Uses the XON and XOFF characters to complete flow control. The transfer mechanism controls input flow by transmitting XOFF when the low-level I/O receive buffer is nearly full, and it controls the output flow by suspending transmission when XOFF is received.

RTS/CTS (2)

Uses the RTS output signal and the CTS input signal to complete flow control. The transfer mechanism controls input flow by unasserting the RTS signal when the low-level I/O receive buffer is nearly full. The transfer mechanism also controls output flow by suspending the transmission when the CTS signal is unasserted.

XON/XOFF & RTS/CTS (3)

Uses values of XON/XOFF and RTS/CTS.

DTR/DSR (4)

Uses the DTR output signal and the DSR input signal to complete flow control. The transfer mechanism controls input flow by unasserting the DTR signal when the low-level I/O receive buffer is nearly full. The transfer mechanism also controls output flow by suspending the transmission when the DSR signal is unasserted.

XON/XOFF & DTR/DSR (5)

Uses values of XON/XOFF and DTR/DSR.

/images/reference/en-XX/help/375699E-01/cu16.gif

stop bits specifies the number of stop bits used to indicate the end of a frame. The default value is 1.0.

1.0 (10)

Specifies that the number of stop bits used is 1.

1.5 (15)

Specifies that the number of stop bits used is 1.5.

2.0 (20)

Specifies that the number of stop bits used is 2.

/images/reference/en-XX/help/375699E-01/cu16.gif

data bits 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.

/images/reference/en-XX/help/375699E-01/cu16.gif

parity specifies the parity bit used with each transmitted or received frame. The default value is None.

None (0)

Specifies that the frame does not contain a parity bit.

Odd (1)

Specifies that the parity is odd.

Even (2)

Specifies that the parity is even.

Mark (3)

Specifies that the parity bit is always 1.

Space (4)

Specifies that the parity bit is always 0.

/images/reference/en-XX/help/375699E-01/cerrcodeclst.gif

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

/images/reference/en-XX/help/375699E-01/iio.gif

VISA resource name out returns the resource name to which a VISA session is opened and the resource class. The class name matches the VISA resource name parameter.

/images/reference/en-XX/help/375699E-01/ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

WAS THIS ARTICLE HELPFUL?

Not Helpful