From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI interface with NI USB-6251

Hi,

We are using an ADC which has an SPI interface. We have NI USB-6251

Shall we use this DAQ for communicating with the ADC ??

What are the steps involved in implementing this ?

Any document/link  relating to this would be appreciated.

 

Regards,

Rajesh Kaliyaperumal

 

0 Kudos
Message 1 of 2
(2,305 Views)

This is an example code. Simple SPI Read with NI-DAQmx DIO

Because USB-6251 doesn't have own DIO clock so, you should use counter or external FG (this method is called "Correlated DIO")

NI-DAQmx: Correlated Digital I/O with NI CompactDAQ and LabVIEW

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 2 of 2
(2,291 Views)