Hi Krisken,
In my time at school i had a similar problem, it had to do with how you specify the communication between your devices.
I think you are using the SPI advanced programming model, so i suggest you play around a bit with different settings.
If i remember correctly, in my case it had to do with the way i designed my master PIC microprocessor to send the bytes (512 bytes in my case)
He didn't waited long enough before sending the next byte. I'm not quite sure anymore but i think the way i had to work was by first checking if the
send buffer was empty and then sending. But i don't know if these low level settings are available in labview will have to check it out if you continue to have the problem.
Also i found in the software manual:
"When you use the SPI Advanced API, the first step is to create a script that
describes the communication between an SPI master and an SPI slave
device. Then you execute the script and read data if needed. The script size
is limited only by the amount of memory available on your PC. The number
of read commands, NI-845x SPI Script Write Read.vi, NI-845x SPI
Script DIO Read Port.vi, and NI-845x SPI Script DIO Read Line.vi
within each script is limited to 64."
So be sure that the number of read commands isn't greater then 64 in your script other wise this could be the problem.
Futhermore it might also be good to check your spi recieve device for timing errors if you had to program it yourself.
If after some more investigation, you still have troubles let me know and give me some more information about the recieving device.
But i think the problem is somewhere in the way you programmed it or in the fact that you have to many read commands in your script.
Good luck with your program!
Kind Regards,
Joris Donders
National Instruments
EMEIA GTM Lead for Semiconductor
www.ni.com/semiconductor