04-20-2009 03:20 AM
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
04-22-2009 08:00 AM
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
05-07-2009 04:29 PM