Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using NI DAQ to communicate via SPI and MATLAB

Hello everyone,

 

in my current project I am using two DAQ 635X boards to simply collect voltages from AMR-Sensors and send single bits to a motor driver. To put it simply all my data flows through these two boards.

 

I now plan to add an AMT203-V absolute encoder to measure the motors rotation and I would like to keep all my data flowing through the DAQ boards. The problem is that the AMT absolute encoder communicates via SPI and I am having trouble receiving the absolute angle through my DAQ board since I could not really find anything about this kind of connection online. Does anybody have a solution that helps me communicating with the sensor via the DAQ board?

 

Kind regards

EdBa

0 Kudos
Message 1 of 2
(476 Views)

Your DAQ boards do not support SPI at the hardware or driver layers, so you will have to implement the SPI protocol in your application layer utilizing the card's available digital functionality. This will take a lot of time.

 

 To save time and effort, get a USB-SPI adapter USB-8452

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 2
(462 Views)