Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI interfacing with 6229

Hi,

 

I have to use 6229 for SPI interface in both Master and Slave mode.I have this code from SPI reference library from NI web sit.But i dont know how to use this code with 6229 using DaqMx in both Read/Write,Master/Slave operations.Please help me sort out this problem.

I have attached the Link for SPI reference code.I like to use the PFI line for the SPI clock and 3 other digital lines for MISO,MIMO and CS

 

http://zone.ni.com/devzone/cda/epd/p/id/6163

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

Thoose VIs just build you the waveform to your SPI packet specifications.

You just need to combine thoose VIs with an DAQmx example which writes/reads digital waveforms.

Eiter you use the Example finder to search or you browse under "...\LabVIEWx.x\examples\DAQmx

 

 

0 Kudos
Message 2 of 3
(3,541 Views)
Use these examples: Serial Protocol Communication with Digital Waveform Devices
David Staab, CLA
Staff Systems Engineer
National Instruments
Message 3 of 3
(3,476 Views)