VirtualBench

cancel
Showing results for 
Search instead for 
Did you mean: 

Using VirtualBench (NI VB-8012) SPI engine through C - API

Can I use digital IO lines for SPI transfers? 
Someone please point me to the documentation for the C API functions with this information.

 

I looked in 'VirtualBench C Reference Help' documentation and 'VirtualBench ANSI C Examples' provided with drivers but could not find the details. Only reference for info on ALL available functions in the API is the header file (VirtualBench.h). 

0 Kudos
Message 1 of 3
(3,074 Views)

Hi,

In most cases, C API follows the same pattern and functions as its LabVIEW counterpart. Here are a couple of LabVIEW examples for SPI interactions. Try looking for equivalent C functions to the functions used in these examples.

 

Master SPI with DIO

SPI Decoding for VirtualBench

 

Matthew C.

NI | AE

0 Kudos
Message 2 of 3
(3,040 Views)

Hi Matthew,

 

Thank you for the links.

0 Kudos
Message 3 of 3
(3,038 Views)