VirtualBench VI Reference Help

Serial Peripheral Interface

  • Updated2023-09-07
  • 1 minute(s) read

Serial Peripheral Interface

Installed With: NI-VirtualBench application development support

Use the SPI VIs and functions to configure and control the SPI bus.

Palette Object Description
SPI Initialize

Creates and returns a new VirtualBench SPI session on the SPI engine for the device. The session is used in all subsequent VirtualBench SPI VI calls. This VI should be called once per session.

SPI Configure Bus

Configures the basic parameters of the SPI engine.

SPI Write Read

Completes a transaction on the bus by writing the provided data to MOSI and returning the data read on MISO.

SPI Close

Closes the session specified in Instrument Handle In.



Subpalette Description
SPI Utilities

Use the SPI Utilities VIs as helper VIs to make VirtualBench programming easier.